Now that we have our IO and Workflow Process defined, we can look at exposing these through a Web Service. Luckily, Siebel has a number of functions that will allow us to do this quickly and easily!
- Having tested the Workflow Process that we created last time, check in the IO and Workflow Process. Compile and deploy an SRF and deploy the Workflow Process through Administration > Business Processes > Workflow Deployment
- Here comes the easy part! In Siebel Tools, connected to the Server data source, locate your Workflow Process, right click and select ‘Deploy As Web Service…’
- The ‘operation name’ is the ‘port’ that the external system will refer to. Think of this as a function name in a class or Business Service definition. Specify a value of ‘getCustomerDetails’
- The URL of the Web Service is the URL on which the external system will communicate with the Object Manager supporting the Workflow process. For example:
- http://myhost/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1
- Stick to this template for now – you can always change it later and we’ll see how to do so shortly
- Leave ‘Generate WSDL’ unchecked for now and click ‘Finish’
- Now log into the application thin client. Navigate to Site Map > Administration – Web Services > Inbound Web Services and query for ‘My Web Service Workflow’. Siebel will have set it all up for you, based on the properties of the Workflow Process
- In order to get things working quickly, make a few changes to the Service Port. Be sure to set the login details appropriately. This allows the external application to call the Web Service without having to supply authentication details:
- Binding: SOAP_RPC_LITERAL
- Address: http://myhost/eai_enu/start.swe?SWEExtSource=SecureWebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN
- Click the ‘Generate WSDL’ button and save the resulting file somewhere safe
- Click the ‘Clear Cache’ button, to force a referesh of Siebel’s Web Service cache – if you don’t do this, you’ll get an error when you try to call the Web Service
You have now created a Siebel Web Service that can be called remotely, from any machine with access to your Web Server.
In the next post, I’ll explain how to test this and see some useful results.



first of all, thank you for this information.
now, i have a problem that i created an inboud web service and i have a URL lets say just like the this:
http://myhost/eai_enu/start.swe?SWEExtSource=SecureWebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN.
my question is when i try to put this url in the browser, i only get the page cannot be displayed error, so does this mean that my web service is not running??
thanks again
Hi Elias,
No, it doesn’t necessarily mean there’s a problem. Use SoapUI to import your WSDL and it will define a test case message for you. Pop in some data and click the ‘Send’ button. You should see a result come back.
If you’re still having problems, check your EAI Object Manager is running and check the log file.
thank you Oli
Hey,
Thanks for nice website.
I just want to know how to add the workflow as a Port to the existing inbound webservice.
I tried to create a new port and tried to select newly created & activated workflow, but I cant get that in my search, so please help me.
Thanks
Ratna