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
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
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.
Article is closed for comments.