on 07-26-2012 2:59 PM
Hi Experts,
I am sending a getServerTimestamp request message from SAP PI to Salesforce. The request message going out of PI is as given below:
<?xml version="1.0" encoding="UTF-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
- <soapenv:Header>
- <urn:SessionHeader>
<urn:sessionId>00DE0000000aCQ2!ARoAQGB0CzSWCFEII4p7qOXeyXm9L1rrXuzOFibiyFDmugcIVpiLJlIAViTNtpfJlEL6RhloFZT8L7GYexme_3T.uj3kNbnu</urn:sessionId>
</urn:SessionHeader>
</soapenv:Header>
- <soapenv:Body>
<ns0:getServerTimestamp xmlns:ns0="urn:enterprise.soap.sforce.com" />
</soapenv:Body>
</soapenv:Envelope>
A response message does come back into PI successfully from Salesforce, but I am unable to see the payload of the response message. The actual timestamp from Salesforce is not visible anywhere. The payload node does not appear at all in any of the pipeline steps of the response message in SXMB_MONI, and is also not visible in Message Monitoring in RWB.
Also, when I test the WSDL from SOAP UI with the above request message, The response with the timestamp, is fetched correctly from the WSDL.
Is there any particular way in which I can debug this to check what message exactly is coming back from Salesforce? Does Salesforce send the response in any particular format like an attachment or something similar to that?
Kindly help.
Thanks,
Namrata.
HI,
Were you able to solve this?
I am working with create method from SF WSDL and records are getting created. i can even see the response message in inbound message payload but it does not get mapped.
Looks like the PI expects the return message tags to have namespace 'ns0'.
Any Clues?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try also removing 'soap envelope'
http://scn.sap.com/thread/3176435 I hope it help you.
I've tried using java mapping as well in removing the soap header of response but it seems that the java mapping is not removing it. Note that I have included the java mapping as part of the Operations Mapping before the graphical mapping.
Any other inputs? Or maybe someone can show me a java mapping code? I'm not sure if what I have created is correct...
you can find it here.. http://scn.sap.com/message/10475327
Please have a look into that link, I think answer from Iñaki can help you too, a XSLT mapping to remove all soap tags:
http://scn.sap.com/message/14376039
cheers,
Roberto.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.