cancel
Showing results for 
Search instead for 
Did you mean: 

Soap Receiver adapter Transform.ContentType

Former Member
0 Kudos

Dear experts,

We are getting error "415 Unsupported Media Type".my knowledge we need transform content type wil be Application/soap+xml. Could we get this format from PI?. need to add any module for this transform.

Thnaks,

ajai

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> Application/soap+xml.

This is SOAP 1.2 which is not supported by standard SOAP adapter.

You can achieve this with Axis adapter.

Former Member
0 Kudos

Thanks Stefan,

when we are using SOAP AXIS we are gettting below 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: javax.ejb.EJBException: Exception in getMethodReady() for stateless bean sap.com/com.sap.aii.axis.appxml|com.sap.aii.adapter.axis.ejb.jarxml|AFAdapterBean; nested exception is: com.sap.engine.services.ejb3.util.pool.PoolException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.adapter.axis.modules.AFAdapterBean.ejbCreate() throws javax.ejb.CreateException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@6ea9db3f for bean sap.com/com.sap.aii.axis.appxml|com.sap.aii.adapter.axis.ejb.jarxml|AFAdapterBean; nested exception is: javax.ejb.CreateException: java.lang.NoClassDefFoundError: org/apache/axis/types/URI$MalformedURIException</SAP:AdditionalText>

<SAP:Stack />

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

</SAP:Error>

Thnaks,

ajai

stefan_grube
Active Contributor
0 Kudos

You need to deploy the Axis libraries to PI server first.

Check SAP note 1039369.

Former Member
0 Kudos

Thanks Stefan,

we are deployed these

<jar-name>lib/axis.jar</jar-name>

<jar-name>lib/commons-discovery-0.2.jar</jar-name>

<jar-name>lib/commons-logging-1.0.4.jar</jar-name>

<jar-name>lib/commons-net-1.0.0-dev.jar</jar-name>

<jar-name>lib/wsdl4j-1.5.1.jar</jar-name>

But still gettting same error.

Thnaks,

ajai

stefan_grube
Active Contributor
0 Kudos

what is your PI version? Do you work with central adapter engine?

Former Member
0 Kudos

Thanks Stefan,

our version is PI 7.1 and we are using Central Adapter engine.

Thanks,

ajai

Former Member
0 Kudos

Dear Stefan,

Thanks for ur help, now we are getting 500 Internal Server Error.

Thanks,

ajai

stefan_grube
Active Contributor
0 Kudos

internal error usually comes from server. maybe the payload is not correct?

Use tcpgateway or a similar tool to see the HTTP stream for more information.

Former Member
0 Kudos

Dear Stefan,

now we getting below error in sxmb_moni

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

- <!-- Technical Routing

-->

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

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="OUTBINDING">CO_TXT_OUTBINDING_ERROR</SAP:Code>

<SAP:P1>-BC_RECEIVER_WS_TO_WS_YGVK</SAP:P1>

<SAP:P2>-SAPISU,http://ygvk_ws_to_ws.SI_RECEIVER_WS_TO_WS_YGVK</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>No standard agreement found for , BC_RECEIVER_WS_TO_WS_YGVK, , SAPISU, http://ygvk_ws_to_ws, SI_RECEIVER_WS_TO_WS_YGVK</SAP:AdditionalText>

<SAP:Stack>Problem occurred in receiver agreement for sender -BC_RECEIVER_WS_TO_WS_YGVK to receiver -SAPISU,http://ygvk_ws_to_ws.SI_RECEIVER_WS_TO_WS_YGVK: No standard agreement found for , BC_RECEIVER_WS_TO_WS_YGVK, , SAPISU, http://ygvk_ws_to_ws, SI_RECEIVER_WS_TO_WS_YGVK</SAP:Stack>

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

</SAP:Error>

Thanks,

ajai