on ‎2009 Apr 06 6:50 AM
Hi All,
I have a requirement where I need to set the xsi:type attribute to some value before I submit the SOAP request from SAP PI. I have not been able to figure out where how to set the value of this attribute. I have an XSD that I am using to generate the request, but I do not see anywhere in the mapping tools where I can assign this value. I tried using MAP Force to do XSLT mapping but couldn't really make that happen using that either...
This is how I would like the request message type to have...
<m:sObjects xsi:type="ns3:Account" xmlns:ns3="urn:sobject.enterprise.soap.sforce.com">
but this is how it comes...
<m:sObjects>
Any tips and ideas to make this happen would be highly appreciated...
Regards,
Jawwad
Request clarification before answering.
hi,
there are at least two places where you can do it:
a) inside a mapping using XSLT
b) write an adapter module that will add this to your call and put it in receiver soap adapter
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.