cancel
Showing results for 
Search instead for 
Did you mean: 

add 2 or 3 fields to soap header message

Former Member
0 Kudos

Hi,

We need to add 2 or 3 fields to soap header message

can any one provide some java code or the correct procedure to do this

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Since it's only header fields, you can also think about doing XSLT mapping to add header fields. You can sequence this mapping in the operation mapping.

anupam_ghosh2
Active Contributor
0 Kudos

Hi,

you can add fields to SOAP header message with java mapping.

Could you please kindly provide these information

1. The Source XML without additional field.

2. The target XML after we add the new fields.

3. The version of PI you are working with.

Regards

Anupam

Former Member
0 Kudos

Hi,

I wish I could do that but it's a security breach

Can you give me the java code and let me what changes I need to do as per my field names or any other changes,that would great

PI version 7.11

fields:My name and My Id(ex sudheer and 123456)

Thanks

Former Member
0 Kudos

Hi,

in your mapping create the full soap request including envelope and extra headers and the check in your receiver communication channel the box labeled "do not use soap envelope".

Regards,

Horia

Former Member
0 Kudos

Hi,

and do you see the sap help of SOAP Adapter ?

especially the chapter "advanced tab Page" To transfer further header fields, of [PI 7.0 - SOAP sender|http://help.sap.com/saphelp_nw70/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm]

And this [PI 7.11 - Using Adapter-Specific Message Attributes in the Message Header |http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/0a7d1be4e622f3e10000000a1553f7/content.htm]

Regards

Mickael

Former Member
0 Kudos

Hi,

If we use adapter specific message attributes option in soap receiver adapter and if i declare some values to the variables is it enough or do I need to write dynamic configuration code....

Former Member
0 Kudos

Hi,

I did it using dynamic configuration ie UDF

Thank you All