on 06-27-2009 1:25 AM
Proxy - SOAP. Synch.
The data goes fine and hits the target except one field. That field is shown in request message mapping, there is no error in request / response or CC.
But the mesg is not seen in the target system. It shows it as empty.
To isolate this, i have sent msg from Web service navigator and the field is getting updated.
Has any one faced this strange issue earlier?
thanks,
Venkat.
Edited by: Venkat A on Jun 26, 2009 8:25 PM
Problem solved.
It was because of the mis match in the order of sequence of fields in XML sent and XML that web service expects.
I am not marking it answered becuase I would like to konw if the sequence really matters in XML?
can we comeover it?
thanks,
Venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you guys,
Actually its like this,
old XML :
<Country>India</Country>
<field_not_populated>INR</field_not_populated>
New request XML from PI to WS:
<field_not_populated>INR</field_not_populated>
<Country>India</Country>
In the new New request XML, it is updating the target field. It implies the sequence of the fields in the xml that is from PI to WS matters.
THis is my understanding as per the fix.
are you guys trying to tell that this sequence is not imp?
Thanks,
Venkat.
Hey
>>It implies the sequence of the fields in the xml that is from PI to WS matters.
Ofcourse it matters
The payload which you get after message mapping should be same as the payload which is expected by Receiver SOAP system,that is why you generally get WSDL/XSD from them or generate your own but exactly similar to the one which is acceptable by receiver system.
You can not have floating structure in message mapping.
Thanks
Aamir
Venkat,
If the value is numeric try to add leading zeros with it and send in response mapping and give a try. Like if the field is 123 and the total length of the field in proxy is 10 then send as 0000000123.
For testing just hardcode this and give a try.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.