cancel
Showing results for 
Search instead for 
Did you mean: 

Error while calling webservice created in XI

vikas_agarwal
Contributor
0 Kudos

Hi to All,

I have created a Scenario in which i hav to create a webservice and that webservice hav to consume in JAVA.

So created a scenario in which sender is SOAP and Receiver is RFC Adapter as i have to send some information to RFC and get the response from RFC.

I have configured the Soap Sender and RFC Communication channels properly, then i have choosen "to define the web service" and have given the URL as:

http://incsr4:8000/XISOAPAdapter/MessageServlet?channel=:BS_WS_RFC:CC_IMAP_SOAP

where incsr4 is server name, BS_WS_RFC is Sender Service Name and CC_IMAP_SOAP is Sender Communication Channel.

When i am coping the URL which i got in the webservice and pasted in the Browser it is giving this message....

Message Servlet is in Status OK

Status information:

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

Classname ModuleProcessor: null

Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean

Lookupname for remoteModuleProcessorLookupName: null

ModuleProcessorClass not instantiated

ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0

ModuleProcessorRemote not instantiated

And if i am testing this wsdl in ALTOVA , it is giving this error:

HTTP error: could not post file.

'XISOAPAdapter/MessageServlet?channel=:BS_WS_RFC:CC_IMAP_SOAP&version=3.0&Sender.Service=BS_WS_RFC&Interface=http%3A%2F%2Fincture.imap.com%5EMI_OBS_IMAP_SOAP

on server incsr4(500)

Dont know where i gone wrong...

Please help me out from this problem.

Its very urgent.

Thanks in Advance,

Regards

Vikas

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

The port you have mentioned is 8000.

Is this your J2EE port?

The port should be the port you use in the XI home page ,

http://hostname:port/rep/start/index.jsp

Regards

Bhavesh

vikas_agarwal
Contributor
0 Kudos

Hi Bhavesh,

<<<The port should be the port you use in the XI home page

I have tried with this port also but it is not working giving the same messages.

Thanks

Regards

Vikas

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

The port has to be the J2EE port.

Meanwhile for other trouble shooting tips refer this blog ,

/people/william.li/blog/2007/04/17/debugging-webservices-in-a-soap-receiver-scenario

Regards

Bhavesh

vikas_agarwal
Contributor
0 Kudos

Hi Bhavesh,

I have used the J2ee port only.

when i am using this Url:

http://incsr4:8000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:BS_WS_RFC:CC_IMAP_SOAP

to check the communication channel I am getting the right response as below.

<s:ChannelInfo>

<channelID>a5f01758461f3aab820f30cfef57937d</channelID>

<name>CC_IMAP_SOAP</name>

<type>st:SOAP</type>

<direction>INBOUND</direction>

<party/>

<service>BS_WS_RFC</service>

</s:ChannelInfo>

Can u tell me where may be the Problem.

Thanks

Regards

Vikas

Former Member
0 Kudos

Hi Vikas,

I am getting the same problem. If you solved this issue then could you please tell me how to fix this problem?

Regards

Sara

Former Member
0 Kudos

why dont you instead create a standalone proxy from the WSDL generated and then try consuming the WS from Java code?

Details here -->

http://help.sap.com/saphelp_nw04/helpdata/en/77/1484b9ecb98c41af4a01131d8d46d3/content.htm

vikas_agarwal
Contributor
0 Kudos

Hi Amol,

I have to create it by XI only, it is the requirement.

Thanks

Regards

Vikas