cancel
Showing results for 
Search instead for 
Did you mean: 

problems while calling the webservice published at XI end

Former Member
0 Kudos

Hi ,

I have published a webservice at the XI end and to test it I am calling the webservice from xmlspy .

I do get the popup for username and password in the xmlspy for the adapter but it fails to send the data to the webservice .

I even checked the SOAP adapter status in the RWB and its grey. and the installed and started option of adapter monitoring the soap adapter is not shown .

Can anyone through some light as to what can be the reason behind this .

is it the problem with the adapter or the webservice

Thanks

Nikhil

Accepted Solutions (0)

Answers (3)

Answers (3)

andreas_stolz
Active Participant
0 Kudos

Hello Nikhil,

what is the return message XI? I don't know if you see the detailed response using XMLspy. If not please refer to SAP note 856597, it describes how to use a TCP gateway to make the response visible.

Rgds,.

Andreas

Former Member
0 Kudos

Hi ,

I pinged the below url

http://host:port /XISOAPAdapter/HelperServlet?action=FindChannel& channel=p:s:c

to find if the channel is avaliable or not .

I get the following error .

java.lang.Exception: invalid channel (party:service:channel) = <null>

at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:364)

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

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

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

I have create the services and the channel correctly.

any idea why is such a an error occuring

Thanks

Nikhil

Former Member
0 Kudos

Hi Nikhil,

I hope the you called the wrong url.

case 1 with party:

http://host:port /XISOAPAdapter/HelperServlet?action=FindChannel& channel=p:s:c

case 2 without party:

http://host:port /XISOAPAdapter/HelperServlet?action=FindChannel& channel=:s:c

Just check the colon before s..often people overlook. Its just a wild guess.

cheers

Satish

andreas_stolz
Active Participant
0 Kudos

Hello Nikhil,

that might be a pretty silly question from my side. Did you copy'n'paste the url? 'Cause there is a space in the url you've pasted above "FindChannel& channel=p:s:c" between & and channel.

Rgds.,

Andreas

Former Member
0 Kudos

Hi ,

I think I have gone forward a bit and on to a next error

java.lang.Exception: Channel not found for :SIEBEL_DEV:SOAP_CUST in SOAP

at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)

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

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

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

Any coments on this ???

Thanks

Nikhil

andreas_stolz
Active Participant
0 Kudos

Hello Nikhil,

did you publish the web service as described in this guide: http://service.sap.com/~sapdownload/011000358700002953992006E/HowToUseSOAPAdapter.pdf

Rgds.,

Andreas

Former Member
0 Kudos

Nikhil,

Make sure that in the URL, that u give while defining web service, u have give correct channel name. Generate webservice, with correct comm. channel name.

I think, that should be fine.

-Naveen.

Former Member
0 Kudos

Hi,

try this:

http://host:port /XISOAPAdapter/HelperServlet?action=FindChannel& channel=<b><party>:<service>:<channel></b>

please, change the bold parameters to the correspondent values that your scenario uses.

<party> = party name (only if you use a party)

<service> = business system or service name (sender)

<channel> = soap sender channel name.

Cheers,

Ricardo.

Message was edited by: Ricardo Quintino

Former Member
0 Kudos

HI Ricardo ,

I have tried that but still I am getting the below error.

<b>java.lang.Exception: Channel not found for :SIEBEL_DEV:SIEBEL_SOAP in SOAP

at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)

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

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:100)

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

</b>

any other Ideas.

Thanks

Nikhil

Former Member
0 Kudos

Hi Nikhil,

Channel not found for :SIEBEL_DEV:SIEBEL_SOAP it means the channel name that you are calling doesn't exist!!!

SIEBEL_SOAP is it the channel name? check it please!

There is something wrong with the channel name or maybe with the channel it self!!! Did you chek if this channel was activated and status is active? (you can see the satus on bottom of channel configuration).

Hope it helps,

Ricardo.

Former Member
0 Kudos

Hi ricardo,

the issue is solved now.

there was a problem with the CPA cache.

I cleared the cache and now it is working .

Thanks a lot for ur help

Nikhil

Former Member
0 Kudos

GOOD TO KNOW

VARA

Former Member
0 Kudos

Hi Nikhil,

Good to know

Cheers,

Ricardo.

Former Member
0 Kudos

Hi,

Use this monitoring (AF): http://<host>:<j2ee-port>/MessagingSystem/monitor/monitor.jsp?

To see sync messages on abap monitoring you need to set the parameter RUNTIME - LOGGING_SYNC on sxmb_adm > integration engine configuration > specific config.

check if the user that xmlspy uses to cennect is "xiappluser" and check the pwd too.

Hope this helps.

Cheers,

Ricardo.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

webservice probably

the adapter will stop being gray only after the first message

Regards,

michal