Skip to Content
0

To add additional Namespace in SOAP Envelop SOAP receiver

Jan 06, 2017 at 11:43 PM

97

avatar image

Hello All,

my requirement i need to add additional Namespace in the SOAP envelop.

there is no Mapping in the scenario cant use XSLT mapping, user trigger the data and through PI sending data to web service and get the response.

Input:

http://schemas.xmlsoap.org/soap/envelope/" xmlns:rep=" http://www.sample.com/servicios/facturaelectronica/ReportarFactura">

Output: in PI

http://schemas.xmlsoap.org/soap/envelope/">

xmlns:rep="http://www.sample.com/servicios/facturaelectronica/ReportarFactura" namespace is missing in soap envelop. how to add this?

i tried to use AF_Modules/XMLAnonymizerBean but no help.

thanks.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Manoj K Jan 07, 2017 at 08:11 PM
0

Chinna,

Dealing with eperu invoice interfaces? looks similar.

however you cant use anonymizer bean it is used to retain/remove namespace not to add namespace.

Add via java/xslt . alternatively add via xslt deploy this in pi server then call it via MTB in this way u can avoid esr development.

Br,

Manoj

Share
10 |10000 characters needed characters left characters exceeded
chinna chinna Jan 09, 2017 at 03:29 AM
0

Thanks for the reply, this interface there is no mapping. data will be triggered from third party application and data will pass from PI.

how to apply mapping in this case?

any example code or thread for reference.

Thanks

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Chinna,

You need to create an XSLT mapping then to add namespace then deploy it in one of the PI folder note not is ESR then call it via MTB.

https://blogs.sap.com/2016/05/18/message-data-changetransformation-in-simple-pass-through-scenario/

Br,

Manoj

0
chinna chinna Jan 12, 2017 at 03:31 PM
0

Thanks for the update Manoj.

Share
10 |10000 characters needed characters left characters exceeded