How to Publish a Process Flow as a Web Service

In this example we will implement a QuoteGenerator web service that will be called by a web service client to obtain an insurance quote based on a request message.

Thus a client will call this web service, send a quote request and in return get a quote from this web service.

Step 1: Now let's make a process flow which will be published as a web service:

This flow will have three objects:

A. Context Source which will receive a request from a web service consumer

adp67_4861.jpg

B. Data Mapping which will calculate a quote


C. Context Target which will store the quote response which will be sent to the web service client

adp68_1380.jpg

Step 2:
Once the Flow is created, go to Web Service > Provider > new. Refer to the image below related to Web Service Provider > Quote Provider Service. After saving this will generate WSDL file.

adp69_7596.jpg

 

adp70_4824.jpg

Have more questions? Submit a request

0 Comments

Article is closed for comments.