Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Unable to fetch ID using SOAP WSDL Axis 2 example QueryObjectsResponse method (1 Comment)

$
0
0

Topic by Sunil DG

Content

We are using the QueryObject method to fetch details from Oracle Cloud service. However, as the response for ID is like  <n2:ID id="924"> </n2:ID> ,data section is empty and the values are sent as part of the attribute, the axis library is returning a negative integer in the Object. Can anyone please help or direct us in the right direction to resolve this,

http://documentation.custhelp.com/euf/assets/devdocs/february2016/Connect_Web_Services_for_SOAP/Default.htm

Thanks in advance

 

EDIT: The issue was with the generated source classes. While extracting the data the JAVA was looking for the namespace value but the response didn't had any namespace for the ID fields. Updated the Java class ID.java to look for ID value without a namespace fixed the issue.

Version

Service cloud

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles