cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP envolope with UBL xml standard in SOAP Header

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Pratik,

Thanks for the reply and any link for the same...how to create the SOAP header with runtime constansts in mapping....

Regards,

Sreenivas.

Edited by: sreenivas tirunahari on May 5, 2009 3:43 PM

prateek
Active Contributor
0 Kudos

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