on 03-07-2019 4:59 AM
Hi
I am facing an issue with calling REST Web services having a JSON output format without a parameters.
The web service is created to return location information for all locations of the organization but I end up getting only one location. I am passing a ''(NULL string) to the web service call to return all the results.However I get only one record. I tried modifying the WADL in many different ways but without any luck.
Any help in this area is much appreciated.
More information
I have used the following blog to create the DS Job.
wadl is shown below
ALso the rest call with the response is shown below
Let me know if you guys have faced similar issue.
Thanks,
Prem
Change to <xs:sequence minOccurs="0" maxOccurs="unbounded"> maybe works?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem. I open the indecent few day ago. SAP support confirm this problem and redirect incident to the development team.
I am awaiting a decision.
After I have got decision from support I write It here.
P.S. You can use User_Defined element from BODS and python package (json, urllib3) for tasks related with API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have reported an issue with SAP today. Awaiting feedback from them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Merwyn,
Was your job able to return multiple rows instead single row.
Dirk, Merwyn, as this behavior has been seen a few times with limited success of resolution. Please consider logging a Product Enhancement request so the support can be added in later releases.
See attached kba 1515837 - How To:
Enhancement Request Process using the Customer Influence and Adopt site
Thank you
Jessica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for utilizing the SoapUI and testing the response.
Normally if the same response is not returned in Designer and the job doesnt fail it means that the response xsd generated for the json call is not configured for the multi level response.
To workaround this the schema generated in Soapui would be used instead.
Again as this can take a some time to work through i suggest you make a ticket and a support engineer will assist you it confirming the xsd response file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If anybody has a real solution for this type of issue, please post it here.
I have reported exactly the same problem to SAP Support, more than 4 months ago, still not solved :-(.
Hello,
have you confirm the results in SoapUI with the same WADL, are there multiple records returned?
Only kba i have found that had similar behavior is generating a Webservice with a social media url and unformatted JSON response
2442791 - SAP Data Services returns only last record from Twitter feed - SAP Data Services 14.2
I would suggest that due to the complexity of webservices that you create an incidnet and attach the following:You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.