cancel
Showing results for 
Search instead for 
Did you mean: 

How to test connection from XI to Webservice?

former_member737583
Participant
0 Kudos

I have defined scenario: PROXY => XI => WebService. Communication with WebService is synchronous.

When I try to run a test from SPROXY it always finish with error:

Connection timed out: connect

Full XML error from SXMB_MONI


 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
- <!--  Inbound Message 
  --> 
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <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: Connection timed out: connect</SAP:AdditionalText> 
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack /> 
  <SAP:Retry>M</SAP:Retry> 
  </SAP:Error>

Is there any way to check if connection between XI and WebService is possible (e.g. to eliminate firewall issuess or wrong IP issuess?)

I will reward helping answers with point

Edited by: Tomasz Suchanek on May 13, 2008 1:29 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey

Please use TCP gateway to monitor your SOAP adapter

/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway

Thanx

Aamir

Answers (2)

Answers (2)

Former Member
0 Kudos

Tomasz,

Try this way

http://host:port/wsnavigator/enterwsdl.html

host : your hostname

port : j2ee port

And then enter your wsdl location there

And click next.

There you can select the service to be called and fill in those values and the test can be made.

Thanks

Sebin

Edited by: SEBIN B THOMAS on May 13, 2008 4:52 PM

former_member737583
Participant
0 Kudos

Finally thanks to TCPGateway and guys from support I solved problem

GabrielSagaya
Active Contributor
0 Kudos

Test your Adapter Engine from "Runtime Work Bench".

Follow the steps for testing the SOAP Adapter from XI.

Step 1 :- Component Monitoring--> Click Adapter Engine.

Step 2 :- Select the "Test Message" Tab

Step 3 :- Give details for send to = http://host:port/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>; ,interface name, service, namespace

Step 4 : Provide the user name & passowrd

Step 5 :- Payload should be Soap Request. and click "send message".

Check the result in SXMB_MONI.

Note : You can create SOAP Request from WSDL using the following tool.

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916e...