on 06-07-2013 3:44 PM
All,
I have a SOAP to SOAP scenario. It involves one to one field graphical mapping. Simple fields with no attributes. The problem now is that the response I am getting back for the some of the empty fields from the target system is:
</RetailAccountPhotonView>
</RetailAccountPhotonViews>
</GetDpmSubProjectPhotonViewResult>
</GetDpmSubProjectPhotonViewResponse>
This after one to one mapping in PI becomes:
<?xml version="1.0" encoding="UTF-8" ?>
</RetailAccountPhotonView>
</RetailAccountPhotonViews>
</ns1:MT_DPMSubProjectServiceResponse>
How do we ensure that the target system does not send xsi:nil="true" in the response message and or how do I remove it in Pi with XSLT mapping.
Another possible approach is use java mapping and remove the namespace prefix followed by boolean for those three fields. Keep this java mapping as the first mapping in the interface mapping followed by graphical mapping.Please remember xsi is the namespace prefix for xmlns.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicky,
Have you mapped the fields one to one through graphical mapping ? You can handle the xsl:nil in graphical mapping by using return as XML and checking the condition in graphical mapping for the fields which have a possibility of returning nil.
Hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vicky,
Refer SAP Note 1786611
you can refer Michal reply in the below blog
http://scn.sap.com/message/8831804#8831804
Regards
Bhargava krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.