on 07-26-2011 12:56 AM
Hi ,
We are integrating SAP with JDA.
We received the WSDL document from JDA and using the same we generated the cosumer proxy and created logical ports in SAP.
The webservice call from SAP to JDA works sucessfully, we are able to pass all the parameters from SAP to JDA.
However when we get the response back from JDA, we need to pull in the values from a deep nested structure.
When JDA sends the response back to SAP, at SAP side we see that this deep structure is all empty.
However it returns the status(which is at the header level) and that is a SUCESS.
When we look at the JDA logs we see that it is actually populating values and sending it in the response structure.
below is how we are making the call.
try.
create object testobj
exporting
logical_port_name = 'ZJDAPROMISPORT'.
*Get Protocol Class Using Method GET_PROTOCOL
lo_payload_protocol ?= testobj->get_protocol( if_wsprotocol=>payload ).
lo_payload_protocol->announce_payload_consumption( ).
lo_payload_protocol->set_extended_xml_handling( extended_xml_handling = 'X' ).
*Fill request with to be retrieved data
try.
call method testobj->promise
exporting
input = wa_input
importing
output = wa_output.
Let me know if anybody has come across a similar situation or pulling in values from a deep nested structure.
Should we do any transformation?? or do any extra data handling.
Thanks
Manju
Are you able to test WS from SOAPUI and getting proper result?
Regards,
Gourav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.