You must perform the following tasks, described in the sections
below, to expose a collaboration as a web service:
- Identify or, as needed, develop the business objects for use as
request and optionally (for synchronous event processing) response
and fault SOAP messages. There are two ways to generate these
objects: 1) manually, using Business Object Designer, or 2) if a
WSDL interface file exists for your web service, you can use the
WSDL ODA to generate the Request and other (Response or Fault)
business objects. If you are following the second approach:
- Specify the name of the collaboration in the Collaboration WSDL
ODA configuration property. This value dictates the ws_collab ASI
in the TLO.
- Specify either a WSDL_URL or UDDI_InquiryAP
I_URL WSDL ODA configuration property for the WSDL interface file
(you can also specify a directory path to this file, if it resides
on your network or locally).
For further information, see .Starting the WSDL ODA.
- Develop a collaboration template or choose an existing one to
use the business objects.
- Create the collaboration object and its ports for the web
service.
You first must ensure that the collaboration object properly
populates business objects. For more information and a step-by-step
procedure for creating a collaboration object, see the
Implementation Guide for WebSphere InterChange Server.
- Note:
- The collaboration object must have its maps configured for the
appropriate transformations. Maps convert the business object
received in the SOAP request message to the business object used by
the collaboration. Maps also convert the business object returned
by the collaboration to the business object that is embedded in the
SOAP response message. For more information about mapping and
mapping procedures, see the Map Development
Guide.
- Use the WSDL Configuration Wizard to create the WSDL document.
The utility also configures the web services connector.
- Note:
- The WSDL Configuration Wizard creates implementation,
interface, and one or more schema files. This document refers to
these outputs collectively as the WSDL document.
- Publish the WSDL document as required.
- Note:
- The connector provides neither tools nor support for publishing
WSDL documents.
