on 04-07-2006 12:48 PM
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) = <null>
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
Hello,
>><text>com.sap.aii.af.service.cpa.CPAException:<b> invalid
>>channel (party:service:channel) = <null> </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
cheers,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
He Naveen,
Thanks for a perfect solution.
When I use following URL it works perfectly:
http://<host>:<port>8000/XISOAPAdapter/MessageServlet?channel=:Telia_Kundservice_portal:Sender_SOAP
Cheers,
Hasse
Hi,
Check the url given in Webdynpro (for calling the scenario).
Can you mention the piece of code here (XI calling part)?
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj
First I should mention that I have imported a generated WSDL from XI to create the Model and thus the port configuration. The URL looks like this:
Service = Telia_Kundservice_portal
Channel = Sender_SOAP
I've also tried with a modified shorter version which is also the one I'm using from the SAP SOAP client.
http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:Telia_Kundservice_portal:Sender_SOAP
The actual call is a typical one:
wdContext.currentRequest_Faktura().modelObject().execute();
Before this call the Basic authentication (user/passw) is set.
Regards,
Hans
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.