Post on 05-Jul-2018
transcript
8/15/2019 Siebel Unleashed Webservice (1)
1/28
Web Services
&
EAI
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
2/28
EAI
8/15/2019 Siebel Unleashed Webservice (1)
3/28
8/15/2019 Siebel Unleashed Webservice (1)
4/28
!"DL (!eb "er#ice Description Language :
How To interface with *+,%based services.
Standard format for describin! a web service
Acts as an End point for a Web Service
"O$% ("imple Object $ccess %rotocol :
S)A# is a standard for e chan!in! *+,%based messa!es usin! HTT#.
S)A# forms the foundation layer of the web services stac$.
#rovidin! a basic messa!in! framewor$.
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
5/28
8/15/2019 Siebel Unleashed Webservice (1)
6/28
Inbound Web Service Setup
'round !ork eeded to setup a Inbound "er#ice
Identify the information that needs to inserted in the Siebel ApplicationIdentify the which Siebel 0usiness omponents and Siebel 0usiness )b/ects itinvolves
Identify the class of 0usiness omponent Identify the User #roperties
Actual Steps Involved in Creating Inbound Web Service
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
7/28
7ile +enu %%8 'ew )b/ect %%8 EAI Tab %%8 hoose Inte!ration ob/ect from the option (It will start Integration Ob ect !uilder Wi"ard#
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
8/28
hoose $AI Siebel Wi"ard from the dropdown menu on the business servicein the second option. lic$ on 'e t.
Select the #ro/ect in which you want to create the Inte!ration ob/ect(% It is better to create a new pro ect# http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
9/28
8/15/2019 Siebel Unleashed Webservice (1)
10/28
Clic) on e*t
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
11/28
Select the business components that you want to include as a part of inte!ration ob/ectunselect the components which you don9t re5uire. lic$ 'e t.
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
12/28
ou need to ma)e all the fields of all the integration components as inactive whichou don,t re'uire. And &ou can mar) the Inactive fields as active which are re'uired
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
13/28
e*t step is to create a !usiness Service. Which will include the methods &ouwant to give as an Interface to &our web service.
!usiness ServiceEnter the ame of the pro/ect you created or you used for Inte!ration
)b/ectEnter the class as CSS$AI-ataS&ncServiceEnter the :isplay name in :isplay name.reate the methods that you want to include in the business service
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
14/28
!usiness Service ethodEnter the name as uer&!&IdEnter :isplay name as S!01 2$3+1!+1I-4566788955546 in :isplay
'ameStrin! eference.
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
15/28
!usiness Service ethod Arguments-ou need to create two service method ar!uments for this
method5st argumentEnter ;rimar&3owId in the 'ame column.Enter :ata Type as StringEnter Type as InputEnter Stora!e Type as ;ropert&Enter :isplay 'ame Strin! )verride as Id8nd argumentEnter Siebel essage in the 'ame olumn.Enter :ata Type as Integration Ob ectEnter the ame of Inte!ration ob/ect you created in Inte!ration ob/ect fieldEnter Type as output
Enter Stora!e Type as hierarch&Enter the :isplay name Strin! )verride as anythin! you li$e
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
16/28
+our configuration in Siebel
8/15/2019 Siebel Unleashed Webservice (1)
17/28
In the Application !o to Administration ; WebServices ; Inbound Service
lic$ on ew in Inbound WebServices list applet.
Enter the U , of the web server in the amespace column
Enter 'ame of the WebService in the ame column
Enter Status as Active
Enter any Comments you want to !ivehttp://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
18/28
8/15/2019 Siebel Unleashed Webservice (1)
19/28
lic$ on ew button in )perations ,ist applet
lic$ on ew button in )perations pic$ Applet
lic$ on #ic$ Applet icon in +ethod :isplay name column
Select uer&!&Id +ethod you created from the pic$ applet
Select one Instead of Username
8/15/2019 Siebel Unleashed Webservice (1)
20/28
8/15/2019 Siebel Unleashed Webservice (1)
21/28
Select the pro/ect in which you want to create this service
0rowse for the WS:, file that was provided by E ternal Application
'e t two fields will !et auto populated.
7irst one will contain the path of E port file that is created as the result of Import
Second one will contain the path of the lo! file.
CMSOpportunityOutbound.wsdl
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
22/28
If ever&thing is fine then &ou will get this prompt.
Clic) on finish button to finish the processCompile the business Service Created b& the Web Service Wi"ard
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
23/28
8/15/2019 Siebel Unleashed Webservice (1)
24/28
Sample Inbound Soap 3e'uest
>@*ml version 5.6 encoding 2soapenv:$nvelope *mlns:*sd http://www.w .org/8665/F 0Schema
*mlns:soapenv http://schemas.*mlsoap.org/soap/envelope/*mlns:*si http://www.w .org/8665/F 0Schema4instance ?
>soapenv:!od&? >ns6: uer&!&Id *mlns:ns6 http://st4cms.ps.ge.com/ ?
>;rimar&3owId?54A7 $7>/;rimar&3owId?>/ns6: uer&!&Id?
>/soapenv:!od&?
>/soapenv:$nvelope?
0ac$
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
25/28
8/15/2019 Siebel Unleashed Webservice (1)
26/28
3o 0ac$
http://siebelunleashed.com
8/15/2019 Siebel Unleashed Webservice (1)
27/28
=> ml version?@ .B@ encodin!?@UT7%C@ >8=>Siebel%#roperty%Set Escape'ames?@false@>8
=definitions mlns?@ http://schemas.*mlsoap.org/wsdl/ @mlnsD sd,ocalB?@ http://www.siebel.com/*ml/C S uote2pdate @mlnsDsoap?@ http://schemas.*mlsoap.org/wsdl/soap/ @tar!et'amespace?@ http:// .86 .885.565/ @mlnsDsoapenc?@ http://schemas.*mlsoap.org/soap/encoding/ @mlnsD sd?@ http://www.w .org/8665/F 0Schema @ mlnsDtns?@http:// .86 .885.565/ @8 =types8 = sdDschema element7orm:efault?@ 'ualified @
mlnsD sd,ocalB?@ http://www.siebel.com/*ml/C S uote2pdate @attribute7orm:efault?@ un'ualified @
tar!et'amespace?@ http://www.siebel.com/*ml/C S uote2pdate @mlnsD sd? http://www.w .org/8665/F 0Schema 8
= sdDelement name?@ 0istOfCms'uote @ type?@*sd0ocal6:0istOfCms'uote @
8/15/2019 Siebel Unleashed Webservice (1)
28/28
>message name S uoteUpdateF uery0yIdFInput ? >part name #rimary owId t&pe sdDstrin! /?
>/message?>portoperation name uery0yId ? >input message tnsD S uoteUpdateF uery0yIdFInput /?
>output message tnsD S uoteUpdateF uery0yIdF)utput /?>/operation?
>binding name S uoteUpdateF0indin! t&pe tnsD S uoteUpdateF0indin!F S uoteUpdate ? >soap:binding transport httpDsoap:addresslocation J httpD/definations?
3o 0ac$
http://siebelunleashed com