cancel
Showing results for 
Search instead for 
Did you mean: 

issue in the SOAP responce structure.

Former Member
0 Kudos

Hello All,

My scenario is send data to web service and get back the response.

when i execute the scenario data sent to web service and in response the structure which iam getting is different with the structure that i got in WSDL file.

the responce structure i got in WSDL

<?xml version="1.0" encoding="UTF-8"?>

<ns0:result xmlns:ns0="routeguide/RouteGuideWebService">responce data</ns0:result>

the response message i got form webservice.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- XML Validation Inbound Channel Response

-->

- <ns0:lookupRateResponse xmlns:ns0="routeguide/RouteGuideWebService" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<result> some response data come here </result>

</ns0:lookupRateResponse>

iam getting mapping error.

receiver side the structure i created.

<?xml version="1.0" encoding="UTF-8"?>

<ns1:Execute_RMS_Responce xmlns:ns1="urn:arizonachemical.com:otc:RMS_Webservice:int_17:Legacy"><String_ReturnDocument>responce data</String_ReturnDocument></ns1:Execute_RMS_Responce>

Please let me know how to change the response message iam getting for the receiver structure i need to change.

what exactly i need to change over all.

thanks and regards,

chinna

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
when i execute the scenario data sent to web service and in response the structure which iam getting is different with the 
structure that i got in WSDL file.

This means that you are not using the proper WSDL.....can you confirm that the WSDL file that you have imported is the latest (i.e. the one one actually used by the target WS application)

Regards,

Abhishek.

Former Member
0 Kudos

Thanks for the reply,

i download the WSDL file from the web service site.

will it not be updated one.

thanks and Regards,

chinna

Edited by: chinnasapxi on Jan 5, 2010 10:35 AM

former_member200962
Active Contributor
0 Kudos

If the response message structure send by the WebService and that of the WSDL (imported in IR) does not match then it means the WSDLs are different.

If you are not able to find the appropriate WSDL, then you can define your own DT and MT and use them instead of the messaeg from the WSDL.....for more info refer section 3.1.2 of this document:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024...

Regards,

Abhishek.

Former Member
0 Kudos

hi chinna,

Check the format of wsdl file and Import ...wsdl have two format. one is DOC format and other one is RPC. if RPC format then in external definistion you need to choose RPC style and then import. Other wise you will get an structure difference.

Regards,

Prakasu.M

Former Member
0 Kudos

thanks prakasu your answer works.

thanks alot

Answers (0)