Siebel EAI Web Services Lab Guide

Steps to Create Siebel Inbound Web Service:

 

  1. Login to Siebel epharma client
                           User Name: SADMIN: Password: SADMIN
  1. Go to Site Map
  2. Click on Web Services Administration Screen Tab
  3. Now click on Inbound Web Services View Tab
  4. Create a New Record in Inbound Web Services List Applet
  5. In Namespace write “http://siebel.com/asi/
  6. In Name write“Directutor Contact”
  7. Make status as“Active”
  8. Comment is not a mandatory field. You can write any meaningful comment for your reference.
  9. Create a New record in Service Ports List Applet.
  10. In Name write“Directutor Contact”
  11. In Type click on the Glyph.
  12. From Pick Applet select “Siebel Contact”
  13. Then Type will come as“Business Service” in Service Ports List Applet.
  14. Now Select “HTTP” as Transport medium.
  15. Select Binding as “SOAP_DOC_LITERAL”
  16. In Address write the following string
                   http://dtsiebsrv1/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN
  1. Now in the Operations List Applet Add methods.
  2. From the Pick Applet Select methods like “Insert”, “Update”, “Delete” etc.
  3. Make the Authentication Type as “None”
  4. Now click the“Clear Cache” tab 2-3 times.
  5. Finally click on the“Generate WSDL” button to generate the WSDL file & save the file with .wsdl extension.
 
Steps to Create Siebel Outbound Web Service:
Consumption of external Web Services is accomplished using the WSDL Import Wizard. The following procedure describes how to use this wizard to read an external WSDL document.
Data and methods for an outbound Web Service can be defined by either:
  • A WDSL file for the external Web Service
  • An outbound ASI
 
To create an outbound Web Service based on a WSDL file
 
NOTE : You can take the WSDL file which you have generated during Inbound Web Service Creation.
 
1Start Siebel Toolsto create the proxy business service.
2Create a new projectand lock the project, or lock an existing project.
3Choose File > New Object.. to display the New Object Wizards.
4Select the EAI tab and double-click Web Service.
 
The WSDL Import Wizard appears:
a.Selectthe Project where you want the objects to be held after they are created from the WSDL document.
b.Specifythe WSDL document that contains the Web Service or Web Services definition that you want to import.
c.Specifythe File where you want to store the run-time data extracted from the WSDL document or accept the default.
d.Specifythe log file where you want errors, warnings, and other information related to the import process to be logged or accept the default.
e.Click Nextto view and verify a summary of your import information.
f.Click Finishto complete the process of importing the business service into the Siebel repository.
 
This procedure generates three objects in the Siebel repository:
  • An outbound proxy business service of CSSWSOutboundDisptacher class. This service acts as a client-side implementation of the Web Service and includes the operations and the arguments to the operations defined in the WSDL document.
  • Integration Objects, representing input and output parameters of the service methods, are created if any of the operations require a complex argument (XML Schema) to be passed. If the service does not use complex arguments, then no integration object definitions will be created.
  • A Web Service administration document (an XML file) containing the run-time Web Service administration data that should be imported into the Siebel Web Client, using the Outbound Web Services view of the Administration - Web Services screen.
 
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.
  1. Login to Siebel epharma client
                           User Name: SADMIN: Password: SADMIN
  1. Go to Site Map
  2. Click on Web Services Administration Screen Tab
  3. Now click on Outbound Web Services View Tab
  4. Click the “Import” button & browse the .xml file which has created during importing the External Application Web Service Description Language in Siebel.
  5. Once the file is browsed properly the Outbound Web Service Proxy definations(Service Ports, Operations) will be created in Siebel Client accordingly.

 

Tags