cancel
Showing results for 
Search instead for 
Did you mean: 

adapter module in SOAP sender Channel

Former Member
0 Kudos

Hi,

I need to call an adaptermodule to URLdecoding incoming SOAP messages.

The adaptermodule i have developed to do the URLdecode works for other adapters but not for the SOAP sender adapter

Saphelp says it is not possible to use adaptermodules on the SOAP sender adapter.

[ | ]

But this above thread indicates that it can be done anyway.

Have any of you succeded in using an adaptermodule for the SOAP sender adapter ? And what do i need to do ?

Best Regards

Jens

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

You cannot use adapter modules in sender SOAP adapter, but you can use them in sender SOAP Axis adapter.

What exactly do you want to do with URL decoding?

Regards

Stefan

Former Member
0 Kudos

Thank you. I hadø'nt looked at the axis SOAP.

The sending system (MAPICS) can only sends http-post's with URLencoded xml to XI.

I recieve the http post in the SOAP adapter (with &nosap=true) and i ment to decode the message in an adapter module.

Can you help me with how to set up an Axis SOAP sender ? Do i need to choose Servlet axis or Task Axis when i create my Axis SOAP sender ?

Best regards

Jens

stefan_grube
Active Contributor
0 Kudos

When this is a transport protocol, the adapter should decode this automatically. If not, use Java mapping to do the decoding. This is more easy as an adapter module. Just put the Java Mapping as mapping step before the real mapping.

Regards

Stefan

Former Member
0 Kudos

I have a javaMapping program that i use as first mapiing step before the real mapping. But it would be nice to see the decoded icoming payload in moni, when supporting failed messages.

Does Axis SOAP sender decode the message automatically if i use it instead of standard SOAP ?

Best Regards

Jens

stefan_grube
Active Contributor
0 Kudos

I am sorry, I mixed that up. There is no standard for decode URLencode.

You can use adapter modules in sender SOAP axis adapter.

Regards

Stefan

Former Member
0 Kudos

How do I create a Java Mapping to decode the message before the actual message mapping? Thanks.

Former Member
0 Kudos

Hi,

See this blog for info about writing af java mapping class.

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4143] [original link is broken] [original link is broken] [original link is broken];

Here is an example of how to URL decode an xml string:

URLDecoder.decode(xmlIn,"ISO-8859-1");

BR

Jens

Answers (0)