cancel
Showing results for 
Search instead for 
Did you mean: 

XI Adapter framework error for AXIS

Former Member
0 Kudos

Hi Expert Group,

My scenario is synchronous ABAP outbound proxy <==> SOAP Web Service of 3rd party Currency Exchange Rate.I created a new thread following the issue solved in SOAP Action and SOAP Version.The 3rd party supported SOAP 1.2 so I changed the transport protocol to AXIS.

Adapter Config:

Adapter Type : SOAP

Transport Protocol: HTTP (Axis)

Message Protocol:AXIS

Adapter Engine:Central Adapter Engine

When executing the message from Tx sproxy, I am facing the error:

 

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

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

  <SAP:P4 />

  <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.axis.app, BC-XI-CON-SOP) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.adapter.axis.modules.AFAdapterBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@796beac4 for bean sap.com/com.sap.aii.axis.app*xml|com.sap.aii.adapter.axis.ejb.jar*xml|AFAdapterBean in application sap.com/com.sap.aii.axis.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.lib.mp.module.SModule.process(com.sap.aii.af.lib.mp.module.ModuleContext, com.sap.aii.af.lib.mp.module.ModuleData) of an object loaded from field com.sap.aii.adapter.axis.modules.AFAdapterBean.core of an object loaded from local variable 'this'</SAP:AdditionalText>

  <SAP:Stack />

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

  </SAP:Error>

I knew that it wont work as AXIS framework is not installed, so confirmed through the url 

http://<host>:<port>/XIAxisAdapter/MessageServlet.

and found the number of missing component as 8.

From SAP Library I found that

To use the Axis framework in the SOAP adapter, you must compress the following Axis JAR files, version 1.4, in aii_af_axisprovider.sda:

○       axis.jar

○       commons-discovery-0.2.jar

○       commons-logging-1.0.4.jar

○       commons-net-1.0.0-dev.jar

○       wsdl4j-1.5.1.jar

Do this information is enough for the basis guys to install it? Where to get all the required jar files for AXIS?

Regards

Rebecca

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

The above mentioned jars are sufficient and needs to be compresssed in the aii_af_axisprovider.sda file. The jars can be downloaded from the apache web site. Please refer these links.

http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm

wiki

http://wiki.sdn.sap.com/wiki/display/XI/SOAP+AXIS

Use the below site and search for each jar to download...

http://www.findjar.com/index.x

You can use apache axis site to download axis jar

http://ws.apache.org/axis/java/install.html

The above links might be helpful to find and download the relevant jars and compress in the sda file for basis.

Former Member
0 Kudos

Thanks Bhaskar for your reply . Points to you.

Answers (0)