Posted: Thu Oct 22, 2009 2:27 pm Post subject: Multiple functions provided by a single Web Service
Partisan
Joined: 07 Aug 2001 Posts: 386
We want to use the SOAP nodes in WMB61 to create a single web service which can provide several functions. Our customer data is handled by CICS, order is handled by IMS and some shipping status is by database applications. Let me just use 3 different requests for simplicity. We have 3 different message definitions
- Cust_inquiry for getting customer info from CICS
- order_entry for puting or updating orders in IMS
- shipping_updates for getting or updating shipment info.
We can think of at least 2 options
1. 3 WSDLs and 3 msg flows, one for each request type
2. 3 WSDLs , 3 SOAPINput node , 3 different labels to branch to inside the msgflow
We don't like the idea of having 3 WSDLs. Can we have all 3 messages defintions inside a single WSDL and assign the message to different operation ?
But if it is a single SOAPInput node, it means that the message arriving can be one of the 3 types. How can it parse the 3 different type of messages ?
Is this do-able ? What is the general guide line for this kind of design (one message type for each web services or multiple message types for a single web services)? Web Services is new to us. please let us know if our thinking is totally wrong.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum