The Inbound Web Service allows an external system to call a Siebel published Web Service. You can publish a business service or a business process as a Web Service and generate a Web Service Definition Language (WSDL) file that an external system can import. The Inbound Web Services can only be published from Siebel C using SOAP-RPC binding.
Publishing Inbound Web Services
You can create and publish an inbound Web Service using the Inbound Web Services view, as illustrated in the following procedure. You can then use the new Inbound Web Service when generating a WSDL document.
To create a new Inbound Web Service record
- From the application-level menu, choose View > Site Map > Web Services Administration> Inbound Web Services view.
NOTE: If the Web Service is inactive, then the external applications cannot invoke the Web Service. If the status is changed, the server component running the inbound transport, such as HTTP, requires a restart for the change to take effect.
If the required type is not available, add a new type following Step c through Step f; otherwise, move to Step g.
NOTE: When publishing over EAI MQSeries or EAI MSMQ, you cannot generate WSDL files.
mq://send receive service point name@policy name
msmq://queue name@queue machine name
http://webserver/eai_lang/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=username&Password=password
lang is the default language of Object Manager to handle the request.
webserver is the machine name of the Siebel Web Server.
username is the Siebel user to execute the request.
password is the password of the Siebel user.
NOTE: The Siebel application supports only one type of binding, SOAP_RPC, for each Inbound Web Service.
- In the Operations list applet, create a new operation record for the new service port you created in Step 4 and want to publish.
NOTE: Only the operations created in this step will be published and usable by applications calling the Web Service. Other business service methods will not be available to external applications and can only be used for internal business service calls.
NOTE: The Business Service Method column defaults to RunProcess if you have chosen Workflow Process in Step 4 as the Type for your Service Port.
Generating a WSDL File
Once you have created a new Inbound Web Service record you can generate a WSDL document, as described in the following procedure.
A WSDL file is generated that describes the Web Service.
- Import the WSDL to the external system using one of the following utilities.
- In VisualStudio.Net, use the wsdl.exe utility—for example, wsdl.exe /l:CS mywsdlfile.wsdl.
- In Apache's AXIS, use the wsdl2java utility—for example, java org.apache.axis.wsdl.WSDL2Java mywsdlfile.wsdl.
- In IBM's WSADIE, add the WSDL file to the Services perspective and run the Create Service Proxy wizard.
NOTE: These utilities only generate proxy classes. Developers are responsible for writing code that uses the proxy classes.
No comments:
Post a Comment