Siebel CRM Web Services Reference > Siebel CRM Web Services Overview >
Process of Exposing a Siebel Web Service
There are two major phases to the development of Siebel Web services. The Siebel objects involved (workflows, business services and integration objects) must be configured at design time in Siebel Tools. Then, those objects must be assembled into Web services using a Siebel Business Application. This topic lists the steps you must perform to expose a Siebel Web service.
Determine Which Siebel Objects to Expose
When exposing a Siebel Web service, you must first use Siebel Tools to determine which Siebel objects, such as business services, workflows or integration objects, you will expose.
Business Services and Workflows
Consider the following when exposing business services and workflows:
- Business service methods and arguments correspond to Web service operations and messages. Most business services with methods registered in Siebel Tools can be designated for participation in a Web service.
- A workflow is one-to-one equivalent to a single Web service operation, and its process properties are the arguments to that operation. Like most business services, most workflows can be designated for participation in a Web service.
Consider the following when exposing integration objects:
- Special use of integration object allows mapping of complex business service and workflow data structures to XML Schema as required by Web services.
- Act as boundary proxies for business objects and business components.
General Guidelines for Business Services, Workflows and Integration Objects
Consider the following general guidelines when exposing Siebel objects:
- In Siebel Tools make changes to business services, workflows and integration objects to model desired Web service interfaces.
- Compile and deploy the objects (SRF) to be exposed.
Assemble the Services
- In the Siebel Business Application, the Administration - Web Services screens and views allow to create and configure all Web services at run time.
- In the Administration - Web Services screens and views, administrators can select business services and associated methods that they wish to expose as Web services.
- All Siebel objects must be design-time configured and deployed in the application SRF file before they can be used in Web service administration screens and views.
- For a limited subset of Web services, a Siebel Tools design-time wizard is available to set up most required configuration elements for UDS (UI Data Service) Web service exposure. These elements must also be compiled in the SRF before they can be referenced in the Web service administration screens and views.
To assemble a Web service in the Web Service Administration view
- In the Siebel Mobile Web client, navigate to the Administration - Web Services screen.
- Select either Inbound Web Services or Outbound Web Services.
- Click New to create a new Web service, or select a Web service in the Inbound or Outbound Web Services list.
- In the Service Ports list applet, select a business service or workflow to act as Web service invocation boundary object.
To combine the operations of several business services or workflows into a single service, add them to the port for the Web service.
- In the Operations list, model WSDL by configuring methods belonging to the business service, or services and, or the workflow or workflows listed in the service port.
- Click the Generate WSDL button in the Inbound or Outbound Web Services list.