Steps to Create Siebel Inbound Web Service:
-
Login to Siebel epharma client
User Name:
SADMIN: Password:
SADMIN
-
Go to Site Map
-
Click on Web Services Administration Screen Tab
-
Now click on Inbound Web Services View Tab
-
Create a New Record in Inbound Web Services List Applet
-
In Namespace write “ http://siebel.com/asi/ ”
-
In Name write “Directutor Contact”
-
Make status as “Active”
-
Comment is not a mandatory field. You can write any meaningful comment for your reference.
-
Create a New record in Service Ports List Applet.
-
In Name write “Directutor Contact”
-
In Type click on the Glyph.
-
From Pick Applet select “ Siebel Contact”
-
Then Type will come as “Business Service” in Service Ports List Applet.
-
Now Select “ HTTP” as Transport medium.
-
Select Binding as “SOAP_DOC_LITERAL”
-
In Address write the following string
-
Now in the Operations List Applet Add methods.
-
From the Pick Applet Select methods like “Insert”, “Update”, “Delete”etc.
-
Make the Authentication Type as “None”
-
Now click the “Clear Cache” tab 2-3 times.
-
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.
-
Login to Siebel epharma client
User Name:
SADMIN: Password:
SADMIN
-
Go to Site Map
-
Click on Web Services Administration Screen Tab
-
Now click on Outbound Web Services View Tab
-
Click the “Import” button & browse the .xml file which has created during importing the External Application Web Service Description Language in Siebel.
-
Once the file is browsed properly the Outbound Web Service Proxy definations(Service Ports, Operations) will be created in Siebel Client accordingly.