An outbound Web Service definition acts as a proxy to a Web Service published by an external application. The outbound Web Service can be based on one of the following:
Outbound Web Services Based on an External WSDL File
The following procedure describes how to use the WSDL Import Wizard to read an external WSDL document.
To read an external WSDL document
- Create a new project and lock the project, or lock an existing project in which you want to create your integration object.
The WSDL Import Wizard appears.
- Select the Project where you want the objects to be held after they are created from the WSDL document.
- Specify the WSDL document that contains the Web Service or Web Services definition that you want to import.
- Specify the log file where you want errors, warnings, and other information related to the import process to be logged.
This procedure generates three objects in Siebel repository.
NOTE: For RPC services, the order of input arguments is important. You can set the order through the Preferred Sequence property of the business service method argument in Siebel Tools. By specifying this parameter, the outbound dispatcher makes sure that the sequence parameters for an operation are in the correct order. The Preferred Sequence property is only supported with outbound services.
- One or more integration objects representing input and output parameters of the service methods.
- An XML document containing the run-time parameters that should be imported into the Siebel client. For details, see To import run-time data about external Web Service.
Outbound Web Services Administration
The WSDL Import Wizard exports the data to a file that you must import to the run-time database (the Web Services address) using the Outbound Web Services screen.
To import run-time data about external Web Service
- Restart the Siebel Server (or Mobile Web Client) with a recompiled version of the .srf file that includes the new objects created by the Web Services Import Wizard.
NOTE: You do not need to update your .srf file at design time. However, the service definition must exist in the .srf file during run time.
- From the application-level menu, choose View > Site Map > Web Services Administration> Outbound Web Services view.
- In the Outbound Web Services list applet, click Import to bring up the EAI Web Service Import dialog box.
WSDL does not provide native bindings for EAI MQSeries and EAI MSMQ transports. If your business requires you to pick up messages using these transports, you can manually create an outbound Web Service definition and update a corresponding business service in Siebel Tools to point to that Web Service. The following procedure describes this process.
To manually create a new outbound Web Service
- From the application-level menu, choose View > Site Map > Web Services Administration> Outbound Web Services view.
NOTE: When importing an external Web Service, you do not need to specify the proxy business service, integration objects, or the run-time parameters.
- Enter the address appropriate for the transport chosen.
- For the Local Workflow or the Local Business Service transports, enter the name of a Business Process or Business Service that should be called.
- For the Local Web Service transport, enter the name of the inbound port.
- For the HTTP Transport, enter an HTTP address of the Web Service to be called—for example,
http://mycompany.com/webserivice/orderservice. - For the EAI MQSeries AMI or EAI MSMQ Server transports, enter one of the following:
mq://send receive service point name@policy name
msmq://queue name@queue machine name
NOTE: Property Set Binding should be used when the input Property Set to the proxy service is forwarded without changes to the destination address. This is intended primarily for use in combination with Local Workflow or Local Business Service transport to avoid overhead of processing XML.
- Generate the WSDL file. For details, see To generate a WSDL file.
Once you have created your outbound Web Service, you need to update a corresponding outbound proxy business service in Siebel Tools to point to that Web Service. This associates the outbound proxy business service and the outbound Web Service. The following procedure outlines the steps you need to take to accomplish this task.
To update an outbound Web Service proxy business service to point to an outbound Web Service
- Select the outbound Web Service proxy business service you want to use to call your outbound Web Service.
- Add the following user properties for this business service and set their values based on the outbound service port of your Web Service.
Integration Objects as Input Arguments to an Outbound Web Service
The property set that is used as an input argument to the outbound Web Service should have the same name as the input argument's name of the outbound Web Service proxy.
You can do this using one of the following options:
- Change the output from all your business services that provide the input to the outbound Web Service from SiebelMessage to the actual outbound Web Service argument name specified in Siebel Tools. You need to change the output from your business services in Siebel Tools, as well as the name of the property set child that contains integration object instance.
- Change the property set name from SiebelMessage to the actual outbound Web Service argument name by using an eScript service before calling the outbound Web Service.