on 01-05-2010 9:18 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Regards,
Abhishek.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.