on 05-05-2009 1:49 PM
Hello All,
Currently working on webservice(SOAP Receiver) scenario. Its using the UBL XML standard and require information in the SOAP envelope header with UBL as follows.
For example:
<.soapenv:Header>
-, <,eb:MessageHeader soapenv:mustUnderstand=":1" version="2.0".
xmlns:eb="
http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd
">
-, <,eb:From>
<eb:PartyId>TEST</eb:PartyId>
</:eb:From>
-, <,eb:To>
<eb:PartyId>AVL</eb:PartyId>
</:eb:To>
<eb:CPAId>123</eb:CPAId>
<eb:ConversationId>123</eb:ConversationId>
<eb:Service>OMService</eb:Service>
<eb:Action>PricingAndAvailability</eb:Action>
-, <,eb:MessageData>
<eb:MessageId>1226949787945</eb:MessageId>
<eb:Timestamp>Mon Nov 17 13:23:07 CST 2008</eb:Timestamp>
</:eb:MessageData>
</:eb:MessageHeader:>
</:soapenv:Header>
I am able to call this webservice successfully with XML SPY and is functioning properly.
Is the XI SOAP Reciver adapter capable of creating the SOAP envelope header
like this?
Let me know if you have any thoughts on this...
Thanks in Advance
Edited by: sreenivas tirunahari on May 5, 2009 2:53 PM
The soap adapter of PI does not create such a format of message. You may use "Do not use soap envelop" option and then create this header in mapping.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The header could be created using a java mapping or XSL mapping (I think XSL would be easier). However, Runtime constants could be accessed easily using few lines of java code
http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm
Regards,
Prateek
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.