Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problems when calling the SOAP adapter from a Webdynpro

Hi,

An error occurs in the SOAP adapter when sending a message from a Webdynpro client. I have downloaded the SAP Soap Client and made the same test and that works fine.

I had to do some debugging to finally find the stack trace found below.

Does anybody have an idea of why the call doesn't work from Webdynpro?

<text>com.sap.aii.af.service.cpa.CPAException: invalid channel (party:service:channel) = &lt;null&gt;

at com.sap.aii.af.mp.soap.web.MessageServlet.getChannelID(MessageServlet.java:415)

at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:377)

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

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>

Thanks for help,

Hans

Former Member
replied

Hello,

>><text>com.sap.aii.af.service.cpa.CPAException:<b> invalid

>>channel (party:service:channel) = &lt;null&gt; </b>

Looks like ur endpoint information that you are using in the webdynpro is wrong.

please check if the end point is correct.

http://server:port/XISOAPAdapter/MessageServlet?channel=party:service:communicationchannel

http://<host>:<port>/XISOAPAdapter/MessageServlet?Version=3.0&amp;Channel=:Telia_Kundservice_portal:Sender_SOAP

cheers,

Naveen

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question