cancel
Showing results for 
Search instead for 
Did you mean: 

Error while Testing SOAP Adapter In XI

Former Member
0 Kudos

<b>Hi Frndz

I am trying to test my SOAP adapter which i have exposed as a webservice. I testing this from the WSNavigator which throws the following error:</b>

HTTP/1.1 500 Internal Server Error

Connection: close

Set-Cookie: <value is hidden>

Set-Cookie: <value is hidden>

Server: SAP J2EE Engine/6.40

Content-Type: text/xml; charset=utf-8

Date: Thu, 15 Dec 2005 12:24:19 GMT

<?xml version='1.0'?>

<!-- see the documentation -->

<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>

<context>XIAdapter</context>

<code>DeliveryException</code>

<text><![CDATA[

com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 404 : Not Found

at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:144)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:512)

at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)

]]></text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

<b>I have used this url for the Webservice:</b>

<u>http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:CVXSABSR_TEST_SENDER:CVXSACC_TEST_SENDER</u>

<b>I am unable to figure out where the problem is.

Any ideas to solve this?

Thanks in Advance

DhanyaR Nair</b>

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi Nair,

Try to check the link

http://<host>:<port>/XISOAPAdapter/HelperServlet?FindChannel=:CVXSABSR_TEST_SENDER:CVXSACC_TEST_SEND... and see if the channel is valid.

Regards,

Ravi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dhanya,

Pls check whether the SOAP adapter is running fine...

in a browser ...give the url...

http://<was_server_name>:5<sysnr>00/XISOAPAdapter/MessageServlet

You should get back a page saying "Message Servlet is in Status OK"

Thanks & Regards,

Renjith

Former Member
0 Kudos

<b>Hi Andrews and Ravi

Thanks for the quick response.

<u>Andrews</u> the Message Servlet is in OK status, as it reponded from checking the url given by you.

What should i try next?

<u>Ravi</u> i checked the url for checking the Comm Channel. There are two IDs associated with the Channel

1>Object ID

2> ObjectVersion ID

with the ObjectVersionID , we are getting the following error and with ObjectID we got the proper response </b>

<b>with ObjectVersion ID</b>

<u>http://<host>:<port>//XISOAPAdapter/HelperServlet?action=GetChannelInfo&channelID=<Object version ID></u>

<b>response:</b>

<?xml version="1.0" ?>

- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

- <detail>

- <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>ADAPTER.SOAP_EXCEPTION</code>

- <text>

- <![CDATA[

com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Channel object with Id Channel:a9f7f390671e11daa2300012799e22c2 not available in CPA Cache.

at com.sap.aii.af.service.cpa.LookupManager.getCPAObject(LookupManager.java:202)

at com.sap.aii.af.mp.soap.web.HelperServlet.processGetChannelInfo(HelperServlet.java:455)

at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:131)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

]]>

</text>

</s:SystemError>

</detail>

</SOAP:Fault>

<b>with the object id</b>

<u>http://<host>:<port>/XISOAPAdapter/HelperServlet?action=GetChannelInfo&channelID=<Object ID></u>

<b>Response</b>

<?xml version="1.0" ?>

- <s:ChannelInfo xmlns:s="http://sap.com/xi/WebService/xi30">

<channelID>ea30ed2ccc243fe49b7c2c5646ed3b2d</channelID>

<name>CVXSACC_TEST_SENDER</name>

<type xmlns:st="http://sap.com/xi/XI/System">st:SOAP</type>

<direction>INBOUND</direction>

<party />

<service>CVXSABSR_TEST_SENDER</service>

</s:ChannelInfo>

<b>with the url</b>

<u>http://<host>:<port>/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:CVXSABSR_TEST_SENDER:CVXSACC_TEST_SENDER</u>

<b>Response</b>

<?xml version="1.0" ?>

- <s:ChannelInfo xmlns:s="http://sap.com/xi/WebService/xi30">

<channelID>ea30ed2ccc243fe49b7c2c5646ed3b2d</channelID>

<name>CVXSACC_TEST_SENDER</name>

<type xmlns:st="http://sap.com/xi/XI/System">st:SOAP</type>

<direction>INBOUND</direction>

<party />

<service>CVXSABSR_TEST_SENDER</service>

</s:ChannelInfo>

<b>How should i proceed ? Any idea frndz

Thanks in Advance

DhanyaR Nair</b>