cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP to SOAP scenario

Former Member
0 Kudos

Hi guys,

We have developed an HTTP to SOAP scenario, where XI acts as the WS client in order to call an already published WS.

When we are testing the scenario through RWB's interface (Component Monitoring --> Integration Server --> Integration Engine --> Self-Test Tab), we get error in SXMB_MONI.

The error is found in receiver SOAP adapter.

In Communication Channel Monitoring, we get the error "request entering", "call failed". The Message Id does not have a link in order to see the Audit Log.

In SXMB_MONI, the error in SOAP header is the following :

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: java.net.NoRouteToHostException: No route to host: connect</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

Our network does not use a proxy server, the Web Service hostname responds when we ping it from CMD.

Also, the WS works fine when testing it from Web.

We tried to play around with "Target URL" and "SOAP Action" parameters in receiver SOAP Com. Channel, but error remains the same.

Any ideas ??

Evaggelos

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

check CC parameters again

do a cross check again with url and soap action

try to copy the same url webpage to verify if it could open the correct page

you can also check the same with WS navigator or XML Spy to confirm the same.

Nikhil.

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

> Our network does not use a proxy server, the Web Service hostname responds when we ping it from CMD.

1) Have you tried pinging it from the XI server or your Machine?

2) Try to activate the communication channel again, refresh the CPA Cache manually and check again.

regards,

Piyush

Former Member
0 Kudos

The webservice hostname replies when I ping it from within the XI machine.

You mean to refresh the CPA cache from SXI_CACHE ?

Evaggelos

Former Member
0 Kudos

No, CPA cache can be refreshed from the URL

http://<host>:<port>/CPACache/refresh?mode=full

Regards,

Piyush

Former Member
0 Kudos

Guys,

Do you think that I need to contact my Network Administrator in order to allow access to the Web Service's hostname through the XI landscape ?

Evaggelos

Former Member
0 Kudos

Guys,

Thanks to all of you for your replies.

The problem is now solved.

My network administrator had to give access to http from within XI.

Best Regards

Evaggelos

Former Member
0 Kudos

How did your network administrator give access to http in XI. I'm getting the same error. Could you pls help. I will give full points. Thanks.

Former Member
0 Kudos

How did your network administrator give access to http in XI. I'm getting the same error. Could you pls help. I will give full points. Thanks.

Former Member
0 Kudos

Hi Evaggelos Gkatzios,

Please check where the service has been exposed. Is it already in your XI environment?

If that's the case, you would not need to put anything into SOAP Action field.

Also, if it's in external environment, please ensure you dont need a user authentication.

Thanks,

Varun

Former Member
0 Kudos

Hi guys,

Thanks to all of you for your replies.

The web-service that I am trying to invoke is not deployed within my XI landscape, but it is found available on the net (http://www.webservicex.net). My Internet does not require a proxy server.

I am able to call the Web service succesfully from its Web Interface. It does not need user authentication.

In SOAP receiver adapter configuration, in "Configure User Authentication" checkbox, what should I give ??

My "xiappluser" details??

Evaggelos

Former Member
0 Kudos

Hi,

Can you post the target URL which you are using in SOAP Receiver Adapter?

Regards,

Piyush

Former Member
0 Kudos

Hi

This error may be due to authentication issue.Check your authentication in SOAP adapter and provide user name and password credentials for your web service.

Regards,

Mandeep Virk

sunil_singh13
Active Contributor
0 Kudos

Hi Evaggelos,

Try to test your Scenario in Stand alone mode for that you can use Tools -> Test Configuration give yor sender ,Reciver Systems and the payload and look for detail Discription of error .

Thanks

Sunil Singh

Former Member
0 Kudos

Hi Evaggelos Gkatzios

kindly check the settings in CC and also check whther you have given right credential

Check whether your server and port is responding

Go to Tcode SM49 and click on PING

in the next screen give url of your server and press F8

this will give you the exact status of server connection in terms of how many packets lost

hope this will help you

Regards

Sandeep

If helpful kindly reward points

agasthuri_doss
Active Contributor
0 Kudos

Hi,

http://HOSTOFSAPXI:PORT/XISOAPAdapter/MessageServlet?channel=:BSrv_SOAP:Sender_SOAP

Replace the Host,Port,BS and check whether you are able to get Sucess message and also verify the User ID & Password

Regards

Agasthur iDoss

Former Member
0 Kudos

When I am testing the url : http://fmgralxi01:50000/XISOAPAdapter/MessageServlet?channel=:StockQuoteService:Sender_SOAP

I get :

Message Servlet is in Status OK

Status information:

Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#16 $) 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

As username: xiappluser

Former Member
0 Kudos

http://www.webservicex.net/stockquote.asmx is the URL in receiver SOAP adapter.

Evaggelos

Former Member
0 Kudos

Hi ,

1) Try to ping the host name if it is correct which is mentioned in the URL.

2) Check thr URL in browser if it working fine.

regards,

Piyush