cancel
Showing results for 
Search instead for 
Did you mean: 

Exposing Web Service from XI

Former Member
0 Kudos

Hi,

I want to expose a webservice using XI to be called from the internet:

My scenario is WS -> XI -> R3.

So i guess the XI server should be exposed to the internet.

how this shold be done and what are the recommendation regarding it?

Thaanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

thanks

my scenario is simple:

XI & R3 in company A.

I would like to allow componay B call a webservice that i will expose.

my question is how is the server itself should be exposed to the internet? reverse proxy?

moorthy
Active Contributor
0 Kudos

Hi Udi,

So it is B2B communications right ? So it can be done with Https requests/response..

Security parameters should be opened for that.

Regards,

Moorthy

Former Member
0 Kudos

Hi Udi -

In any B2B scenario, you're going to have stricter security requirements. XI and other SAP applications in the vast majority of cases reside within the internal network of a company, as I'm sure it does for your company A. It is recommended to have some kind of reverse proxy/web switch hardware/software residing in the DMZ to intercept the external request. Direct requests (especially HTTP) by most, if not all, companies will not be allowed to freely pass to applications within a company's intranet.

SAP has something called the Web Dispatcher that is commonly used for such a purpose. You can find more info on it at the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm

You'll also find some visuals and more security related topics at the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/d9/ef2940cbf2195de10000000a1550b0/frameset.htm

In addition, you'll probably require a more secure transport protocol like HTTPS/SSL as well.

Regards,

Jin

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Udi,

I guess you have done with the adapter configuration.

To expose a webservice to the internet, you have to create a WSDL file. You can create one using the ID. One menu driven option is there "Define a webservice".

Once the WSDL file is created. Use some SOAP client tools to create the SOAP request.

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...

To test you SOAP sender scenario, goto runtime workbench-> component monitoring-> adapter monitoring.

There you can your test message by providing party, Sevice, communication channel, URL to the message servelet and the payload.

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

If your message not reaching XI, check the SOAP request, must be having the encoding type UTF (Unicode Transformation Formats) as UTF-16. Change it to UTF - 8.

SOAP sender configuration link:

http://help.sap.com/saphelp_erp2004/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm

Best of Luck.

Regards,

Ajay.

former_member185846
Active Participant
0 Kudos

Hi,

You've to expose your outbound message interface as a

WSDL which can be used by say EP.

Also go thru the following threads

Hope it helps you

Rgds,

Jothivel.

Former Member
0 Kudos

Hi Udi,

please go thru the link below and see if u have followed the steps mentioned in it while defining the web service..if it still doesnt help you, pleease do give a little more detail about the scenario you are doing...

http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/54/048d40e802ce62e10000000a155106/frameset.htm

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...

Regards,

abhy

PS: AWARD POINTS FOR HELPFUL ANSWERS.