cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP receiver adapter for Axis

Former Member
0 Kudos

Hi,

I used SOAP receiver adapter for Axis like below:

Transport Prorocol : HTTP

Message Protocol : Axis

Url: http://<IP>:<Port>/xxx/WebService/services/Head/yyy

Authentication : Basic

User: <user>

Password: <password>

SOAP Version : 1.1

SOAP Action: : <method>

Encapsulation Format : MIME

Payload Extraction : SOAP Body

When i drive PI message it generates error below.

What must i do to solve this problem?

Thanks.

Error message

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@20715646 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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Sap Note : 1028961

former_member200962
Active Contributor
0 Kudos
java.lang.NoClassDefFoundError: org/apache/axis/types/URI$MalformedURIException

Such an error is due to a wrong value in the target URL section.....can you confirm that the URL that you are using is accurate....if given in a browser can you see the WSDL?

Regards,

Abhishek.

Former Member
0 Kudos

Abishek,

When i use URL with ?wsdl it asks user and password and generates wsdl on the screen.

When i call URL without ?wsdl : it asks user and password and gets message below:

Head/SapTest

Hi there, this is an AXIS service!

Perhaps there will be a form for invoking the service here...

Thanks.

former_member200962
Active Contributor
0 Kudos

So just use the URL which gives you the wsdl.....what is the URL value in the WSDL?.....your CC should have that URL...

Former Member
0 Kudos

*Url:* http://172.28.6.194:8080/AssetManagerWebService/services/Head/SapTest

When i use Url with *?wsdl* it generates below (it'is very long. I give part of it)

wsdl

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

- <wsdl:definitions targetNamespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:intf="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:tns1="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Types" xmlns:tns2="http://schemas.hp.com/AssetManager/R51/ACMetaData" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

- <!--

WSDL created by Apache Axis version: 1.2.1

Built on Jun 14, 2005 (09:15:57 EDT)

-->

- <wsdl:types>

- <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:AdministrationTypes="http://schemas.hp.com/AssetManager/Custom/Head/Administration/Types" xmlns:CableTypes="http://schemas.hp.com/AssetManager/Custom/Head/Cable/Types" xmlns:CatalogTypes="http://schemas.hp.com/AssetManager/Custom/Head/Catalog/Types" xmlns:ChargebackTypes="http://schemas.hp.com/AssetManager/Custom/Head/Chargeback/Types"

......

<import namespace="http://schemas.hp.com/AssetManager/R51/ACMetaData" />

<import namespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Types" />

- <annotation>

<documentation>Auto-generated schema for AssetCenter web services for Head/SapTest Implementation</documentation>

</annotation>

<import namespace="http://schemas.hp.com/AssetManager/Custom/Head/SAM/Types" schemaLocation="../../schema/Head/SAM/SAMTypes.xsd" />

<import namespace="http://schemas.hp.com/AssetManager/R51/ACMetaData" ......

......

<wsdl:operation name="retrieveAllBusinessAPIListByName">

<wsdlsoap:operation soapAction="retrieveAllBusinessAPIListByName" />

<wsdl:input name="retrieveAllBusinessAPIListByNameRequest">

<wsdlsoap:body use="literal" />

</wsdl:input>

<wsdl:output name="retrieveAllBusinessAPIListByNameResponse">

<wsdlsoap:body use="literal" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="SapTestService">

<wsdl:port binding="impl:SapTestSoapBinding" name="SapTest">

<wsdlsoap:address location="http://172.28.6.194:8080/AssetManagerWebService/services/Head/SapTest" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Former Member
0 Kudos

your CC should have that URL ?

Former Member
0 Kudos

Hi Abishek,

wsdl is very long.

If you want i can send it to your email address.

Thanks.