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

SOAP Client Error:- INVALID CHANNEL

Dear Friends,

I am configuring a simple SOAP to RFC syn scenario .

after generating the wsdl when I am testing it using SOAP UI the following error is thrown:-

-


!!!!!1<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>Exception</code>

<text>java.lang.Exception: invalid channel (party:service:channel) = &lt;null>

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

As a part of debugging i tried to test my sender channel :-

using this URL "http://sapxi:50000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:JEEVANBS:SOAPTORFC_SENDER_CC"

In respose I got

<?xml version="1.0" ?>

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

<channelID>f5c38e38b7b239b8a1a2e3cfbb70b72a</channelID>

<name>SOAPTORFC_SENDER_CC</name>

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

<direction>INBOUND</direction>

<party />

<service>JEEVANBS</service>

</s:ChannelInfo>

No wi think my Sender Channel is fine;

The URL is used in generating WSDL is:-Link:[http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?

channel=:<service>:<channel>]

and by tring the same in the browser i am getting

(MessageServlet OK ).

Now i dont understand where I went wrong.

Please help.

Jeevan.

replied

Hi,

If still not working then try this URL format:

http://<servernameORserverIPaddress>:<portNumber>/XISOAPAdapter/MessageServlet?channel=:<senderservice>:<snederCCname>&amp;version=3.0&amp;Sender.Service=<senderservice>&amp;Interface=<IRnamespace>%5E<senderMI>

This format worked for me in SAP SOAP Test Client.

There should be a

& amp;

(no space between & and amp;) before Interface, but dont know why it is not getting reflected

Regards,

Abhishek.

Edited by: abhishek salvi on Nov 28, 2008 4:48 PM

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question