cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Adapter in XI 3.0 (Central Engine, not J2SE Adapter)

sivakup
Explorer
0 Kudos

Hello,

I am trying to get the demo (flight availablity check) work via SOAP, so that it can be called from .NET. I created a communication channel with sender SOAP adapter (and adapter engine as Integration server, http://sap.com/xi/XI/Demo/Agency as interface namespace and FlightSeatAvailabilityQuery_Out as interface name)

When I post it to XI

http://xxxxxx:8000/sap/xi/engine?type=entry&version=3.0&Sender.Service=XX1_205&Interface=com.sap^Fli...

with soapaction http://sap.com/xi/WebService/soap1.1

and

<?xml version="1.0" encoding="utf-8" ?>

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

<soap:Body>

<FlightSeatAvailabilityQuery xmlns="http://sap.com/sapexamples">

<FlightID xmlns="">

<AirlineID>LH</AirlineID>

<FlightDate>2004-12-01</FlightDate>

</FlightID>

</FlightSeatAvailabilityQuery>

</soap:Body>

</soap:Envelope>

I get just

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

</SOAP:Body>

</SOAP:Envelope>

Any idea why this does not work. The plain HTTP adapter (to /sap/xi/adapter_plain) works ok.

Thanks

siva

Accepted Solutions (0)

Answers (2)

Answers (2)

sivakup
Explorer
0 Kudos

Hi Stefan,

When I try the URL, I get a 404 Not found message.

The URL you had mentioned seems to be the plain J2SE Adapter. We don't have the Plain java adapter installed. We are trying to use the ABAP Integration engine to process the SOAP message. Any suggestion?

Thanks.

stefan_grube
Active Contributor
0 Kudos

Post your message to following URL:

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

port is the J2EE port 50000 in your example.

Check the newest manual for further details.

Regards

Stefan

sivakup
Explorer
0 Kudos

Hi Stefan,

I did go back to look at the new updated manual and based on your suggestion I was able to get it to work. It is interesting that for http, we post to port 8xxx and for soap 50xxx.

Thanks for your help.

siva

stefan_grube
Active Contributor
0 Kudos

The SOAP Adapter is part of the J2EE adapter framework, the HTTP adapter runs within the ABAP stack, so for the SOAP adapter you use the port of the J2EE engine, for HTTP adapter the BSP port.

Regards

Stefan