Integration Platform Technologies: Siebel eBusiness Application Integration Volume II > Web Services >

Outbound Web Services


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

  1. Start Siebel Tools.
  2. Create a new project and lock the project, or lock an existing project in which you want to create your integration object.
  3. Choose File > New Object... to display the New Object Wizards.
  4. Select the EAI tab, select the Web Service icon, and click OK.
  5. The WSDL Import Wizard appears.

  6. Select the Project where you want the objects to be held after they are created from the WSDL document.
  7. Specify the WSDL document that contains the Web Service or Web Services definition that you want to import.
  8. Specify the file where you want to store the run-time data extracted from the WSDL document.
  9. Specify the log file where you want errors, warnings, and other information related to the import process to be logged.
  10. Click Next to view and verify a summary of your import information.
  11. Click Finish to complete the process of importing the business service into the Siebel repository.

This procedure generates three objects in Siebel repository.

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

  1. 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.
  2. 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.

  3. From the application-level menu, choose View > Site Map > Web Services Administration> Outbound Web Services view.
  4. In the Outbound Web Services list applet, click Import to bring up the EAI Web Service Import dialog box.
  5. Specify the export file created by the Web Services Import Wizard.
  6. Click Import to import the Web Service definition into the database.

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

  1. From the application-level menu, choose View > Site Map > Web Services Administration> Outbound Web Services view.
  2. In the Outbound Web Services list applet, create a new record.
    1. Enter the namespace of the Web Service in the Namespace column.
    2. Enter the name of the Web Service in the Name column.
    3. Select Active or Inactive in the Status field.
  3. Enter a description of the Web Service in the Comment column.
  4. NOTE:  When importing an external Web Service, you do not need to specify the proxy business service, integration objects, or the run-time parameters.

  5. In the Service Ports list applet, create a new outbound service ports record.
    1. Enter the name of the Web Service port in the Name column.
    2. Select a type of proxy for the Port Type column.
    3. Select a transport name for the protocol or queuing system for the Transport.
    4. 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

  6. Select whether the port uses SOAP document, SOAP RPC, or property set Binding.
  7. 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.

  8. Enter a description of the Port in the Comment column.
  9. In the Operations Bindings applet, create a new Operations record.
    1. Enter the name of the Web Service in the Name column.
    2. Enter the name of the Binding Property in the Binding Property column; for example, SOAPAction.
    3. Enter the value of the Binding Property in the Binding Value column; for example, CreateOrder.
  10. 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

  1. Open Siebel Tools.
  2. Select the outbound Web Service proxy business service you want to use to call your outbound Web Service.
  3. 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:


 Integration Platform Technologies: Siebel eBusiness Application Integration Volume II 
 Published: 18 July 2003