cancel
Showing results for 
Search instead for 
Did you mean: 

Error with Webservice

Former Member
0 Kudos

Hello Experts,

I have schronous scenario XML SPY <> XI <> RFC.

when i am trying to send the below request from XML spy to XI i am getting this msg in XML Spy.

Request :

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Body>

<m:POC_Request_XMLSPY xmlns:m="http://reliant.com/xi/POC">

<row>

<empid>1000</empid>

</row>

</m:POC_Request_XMLSPY>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Response:

<html>

<head>

<title>MessageServlet</title>

</head>

<body>

<h3>Message Servlet is in Status OK</h3>

<h3>Status information:</h3>

Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_10_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#2 $) bound to /MessageServlet

<br/>Classname ModuleProcessor: null

<br/>Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean

<br/>Lookupname for remoteModuleProcessorLookupName: null

<br/>ModuleProcessorClass not instantiated

<br/>ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0

<br/>ModuleProcessorRemote not instantiated

</body>

</html>

At the same time i am not able to see any msg in XI server, and the SOAP sender channel it is showing as "Channel started but inactive" - never used.

Can anyone tell me that what might be the reason.

Thanks,

Hetal

Accepted Solutions (0)

Answers (4)

Answers (4)

stefan_grube
Active Contributor
0 Kudos

I know that for some Sp there was a bug with this error message, so let me know which Sp you have. Maybe a new patch could help.

Regards

Stefan

Former Member
0 Kudos

right now i am on PI 7

SP 10

Thanks,

Akhil

GabrielSagaya
Active Contributor
0 Kudos

The URL you are using is pointing to XI built-in HTTP Adapter.

If you are using SOAP Adapter, The URL should be as follows:

http://<XI-host>:<J2EE_Port>/XISOAPAdapter?MessageServlet?channel=party:service:channel

Under party:service:channel enter the party name, the service name, and the name of the communication channel.

If no party has been created, enter the following: channel=:service:channel

For more details, refer to help.sap.com documentation at the following

Configuring the Sender Soap Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm

Former Member
0 Kudos

Thanks Gabrial.

But as i have already posted the url.

I am not able to find any difference that u have suggested and i have used.

urs is :

http://<XI-host>:<J2EE_Port>/XISOAPAdapter?MessageServlet?channel=party:service:channel

and i dont hv party, and in service i hv put the sender service name and in channel i hv put the soap adapter channel name.

Please correct me if i am wrong. but still i didnt get that what change i need to do?

as i see that both the urls are same only

Thanks,

Akhil

Former Member
0 Kudos

Hi Akhil

use the url in the following way if you are not using the party.

http://<XI-host>:<J2EE_Port>/XISOAPAdapter?MessageServlet?channel=:service:channel

service will be your business service name and chanel will be your sender communication channel.

use this url and generate the wsdl file and save the file on the particular location.

then use the xml spy to send the soap request at the following url.

if u still face the problem please reply me back.

Thanks

Rinku

Former Member
0 Kudos

Pls check soap envelop and Soap URL once again.

It should work

Thanks

Sachin

Former Member
0 Kudos

Hi all,

I am using the below url :

http://<serverhostname>:<j2eeportnumber>/XISOAPAdapter/MessageServlet? channel=:Sender Servie:Sender soap adapter

I didnt get you regarding Soap envelop information

where i can check that?

Thanks,

Akhil

stefan_grube
Active Contributor
0 Kudos

Which URL do you use?