on 2022 Apr 13 3:48 PM
Hi experts,
we want to implement a REST webservice call with Data Services.
Unfortunately, the webservice owner does not provide a wadl.
And in addition the response of the webservice is not returned “inline” (i.e. not as part of the payload), but as an xml file attachment (the HTTP response-type header field “Content-Disposition” is set to “attachment” and contains the filename; when you enter the target URL directly in a browser, you receive a prompt / a Save As dialog box to save the file locally to access it).
Is it possible to use Data Services for such a kind of a REST webservice?
If so, what should the response part look like in the wadl?
Thanks for your answers and best regards
Marcus
Request clarification before answering.
Hi,
in the meantime, I found a solution, i.e. Data Services can handle such a kind of REST webservice.
Everything depends on the wadl and the xsd. And if the webservice owner does not provide a wadl, it’s a little bit tricky to create a working one manually.
I did the following:
In the first step I used SoapUI to create the first draft of the wadl.
Everything else can be done in the text editor.
After all those changes, we were able to create the datastore, import the webservice metadata and call the webservice in a Data Services job successfully.
I hope this description helps in case someone faces the same problem.
Best regards
Marcus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.