cancel
Showing results for 
Search instead for 
Did you mean: 

Creating an Integration Process and expose it as a web service

Former Member
0 Kudos

Hi,

I would like to create an Integration Process that calls one web service first and uses the result from the first web service as an input for a second web service. Finally I want to expose my Integration Process as an web service.

Is this possible? If yes, how can I do this?

Thank you

Julia

Accepted Solutions (1)

Accepted Solutions (1)

manish_bhalla2
Contributor
0 Kudos

Hi Julia,

Your scenario is possible.

You will need to use the first receive step in the Int Process to open a Sync-async bridge. After that, you can have a synchronous send step that calls the first web service. The response from this can be used as input for a second synch step that calls the second web service. The response from this can be used as the response for closing the sync-async bridge.

The entire Integration Process can be exposed as a web service.

Reference material (links):

SAP XI & Web Services

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ebb4c490-0201-0010-86be-88d...

How to Set Up a Web Service Related Scenario in XI

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a65...

Defining Web Services

http://help.sap.com/saphelp_nw04/helpdata/en/31/daa0404dd52b54e10000000a1550b0/frameset.htm

Defining Sync/Async Communication

http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm

Hope this helps you get started.

Cheers

Manish

Former Member
0 Kudos

Hi,

thank you for the answer. But how can I expose an Integration Process as an web service? How can I create the WSDL for the Integration Scenario? I need a message interface to define a web service. How can I map this to the Integration process or is this the wrong way?

Thank you!

Julia

former_member187339
Active Contributor
0 Kudos

Hi Julia,

As told by Manish create your scenario and after that go to Directory and create a wsdl for you scenario. In that you specify the XI interface which you are planning to expose as a web service.

Hope this will be helpful.

Regards

Suraj

manish_bhalla2
Contributor
0 Kudos

Hi Julie,

1. Define a synchronous outbound interface.

2. Define abstract interfaces to mirror this. Use this in the Integration Process (for the first receive step)

3. In the Integration Directory, configure a receiver determination. A message coming in from the synchronous interface should go to the Int Process. This will then call your web services and send back the response.

4. Expose your synchronous interface as a web service.

Hope this clarifies?

Cheers

Manish

Answers (0)