cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Adapter with application/x-www-form-urlencoded

Former Member
0 Kudos

You can use the content type "application/x-www-form-urlencoded" in a SOAP adapter?

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Basoprani,

Yes I think we can use. Please see swarups reply in this thread:

Please see this help also for some more information:

http://help.sap.com/saphelp_nw70/helpdata/en/b3/d32d9ae305c24ab3a400b4cfb3ec94/content.htm

Regards,

---Satish

Former Member
0 Kudos

I did the configuration below:

"Here you have to use below configuration parameters for Module

Transform.Class = com.sap.aii.messaging.adapter.Conversion

Transform.ContentType = application / x-www-form-urlencoded "

However, got the following error:

=======================================================================================================

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.ClassNotFoundException: com.sap.aii.messaging.adapter.Conversion -


Loader Info -


ClassLoader name: [sap.com/com.sap.aii.af.mod.trans.app] Living status: alive Direct parent loaders: [system:Frame] [service:servlet_jsp] [service:ejb] [library:engine.j2ee14.facade] [library:com.sap.base.technology.facade] [library:com.sap.aii.af.lib] [library:com.sap.aii.af.sdk.lib] [service:com.sap.aii.af.cpa.svc] [service:com.sap.aii.af.svc] [service:com.sap.aii.adapter.xi.svc] [library:com.sap.aii.adapter.lib] Resources: C:\usr\sap\PI1\DVEBMGS04\j2ee\cluster\apps\sap.com\com.sap.aii.af.mod.trans.app\EJBContainer\applicationjars\com.sap.aii.af.mod.trans.ejb.jar -


</SAP:AdditionalText>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

=======================================================================================================

Any suggestion?

Thank you.

Regards,

Bruno

Former Member
0 Kudos

Hi Bosaprani,

I am not sure of your entire scenario. I think you are just using the parameters what I have given in my previous reply.If you are uisng those parameters you need to give them in your module configuration. Apart from the parameters you used you also need to use this module:

localejbs/AF_Modules/MessageTransformBean>Local Enterprise Bean-->XML2Plain

Then only it may work.

Regards,

---Satish

Former Member
0 Kudos

Hi Satish,

Sorry, I have not made clear who was using the module localejbs/AF_Modules/MessageTransformBean, however, I am.

But still giving that error above.

Satish, you have some method to encode the payload of the message in base64?

Thank you.

Abraço.

stefan_grube
Active Contributor
0 Kudos

In PI 7.1, you have to use:

com.sap.aii.af.sdk.xi.adapter.Conversion

http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm

ankur_agarwal
Explorer
0 Kudos

Hi Bruno,

were you finally able to figure out how to use Message transform bean for content type application / x-www-form-urlencoded.

If yes plz share the details.

thanks,

ankur