P. 1
Siebel Web Services

Siebel Web Services

|Views: 0|Likes:
Published by Amit Chakravarty

More info:

Published by: Amit Chakravarty on Oct 31, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

04/30/2012

pdf

text

original

• Siebel Web Services

Siebel Web Services

March,29 2007

From INFOKEYS INC

Siebel Web Services Agenda
• Basic Evolution
• Web Service Components

- Introduction
– SOAP

- Siebel - WebServices • Inbound Web Service (Exposing BS/WF as a WS) - SOA • What is SOA?
• Outbound Web Service (Publish external .wsdl in Siebel e.g.. Google.wsdl)

– WSDL – UDDI

• Difference between OOP & SOA • Relation between SOA & Web Services

JAVA RMI • Web Services were intended to solve these problems: – Interoperability – Firewall traversal & Proprietary protocols – Complexity .Siebel Web Service Introduction • Web Services evolved from previous technologies that served the same purpose such as DCOM . CORBA.

Windows operating System – RMI . .Siebel Web Service Evolution Reasons. • Interoperability – DCOM applications .Java Programming language • Firewall and Proprietary protocols – Distributed systems such as CORBA and DCOM used nonstandard ports – CORBA uses IIOP which is not practical for Inter-enterprise Integration – Web services use HTTP as a transport protocol and most of the firewalls allow access through port 80(HTTP) • Complexity – we can implement web service with our existing language and existing operating system.

such as the Internet. and executed on a remote system hosting the requested services.Siebel Web Service Definition • What is a Web Service? Web Services is a software system designed to support interoperable Machine to Machine interaction over a network. . Web services are frequently just Web APIs that can be accessed over a network.

either at design time or runtime..Siebel Web Service Components Web Service Components.  WS-Security: Defines how to use XML Encryption and XML Signature in SOAP to secure message exchanges. HTTP.  WS-ReliableMessaging: A protocol for reliable messaging between two Web services.  WS-Reliability: An OASIS standard protocol for reliable messaging between two Web services.  WSDL: An XML format that allows service interfaces to be described. with "bindings" to underlying protocols (e. to enable applications to find Web services. extensible message envelope format. along with the details of their bindings to specific protocols.  UDDI: A protocol for publishing and discovering metadata about Web services. SMTP and XMPP). . Typically used to generate server and client code. and for configuration.g. – SOAP: An XML-based.

Header + Body – SOAP is an XML Vocabulary standard to enable programs on separate computers to interact across the network. – An optional Header element that contains Header Information. – SOAP . . – An optional Fault element that provides information about errors that occurred while processing the message. – A request Body element that contains call and response information. – A required envelope element that identifies the XML document as a SOAP message. • Structure of SOAP. – SOAP is not bound to any particular protocol such as HTTP .Siebel Web Service SOAP • SOAP. SMTP or even TCP/IP.Simple Object Access Protocol – An XML envelope for XML messaging .

com/wr”> <m:GetWeather> <m:postalcode>44087></m:postalcode> </m:GetWeather> </soap:Body> </soap:Envelop> .w3.w3.Siebel Web Service SOAP Request • Example of SOAP request.org/2001/12/”soap-encoding”> <soap:Body xmlns:m=“http://www. <xml? Version=“1.0”?> <soap:Envelope xmlns:soap=“http://www.org/2001/12/soap-envelope” soap:encodingstyle=http://www.weather.

weather.org/2001/12/soap-envelope” soap:encodingstyle=http://www. <xml? Version=“1.w3.w3.org/2001/12/”soap-encoding”> <soap:Body xmlns:m=“http://www.Siebel Web Service SOAP response • Example of SOAP response.com/wr”> <m:GetWeatherResponse> <m:Degree>-5</m:Degree> </m:GetWeatherResponse> </soap:Body> </soap:Envelop> .0”?> <soap:Envelope xmlns:soap=“http://www.

WSDL defines where the service is available and what communication protocol is used to talk to service. – WSDL is an XML vocabulary to describe Web Service and their capabilities . in a standard manner. – WSDL specifies what a request message must contain and what the response message will look like in unambiguous notation. • WSDL example <message name=“GetWeatherRequest”> <part name=“postal code” type =“xs:string”/> <message> <message name=“GetWeatherResponse”> <part name=“Degree ” type =“xs:string”/> <message> <portType name=“Weather”> <operation name=“GetWeather”> <input message=“GetWeatherRequest”/> . – In additional to describing message contains .• WSDL Siebel Web Service WSDL – WSDL stands for Web Service Description Language.

– A project to encourage interoperability and adoption of webservices.Siebel Web Service UDDI • UDDI – UDDI stands for Universal Description . • Publish function(how a web service registers) • Find Function (how a client finds a web service) • Bind Function (how the client connects and interacts with a web service) . Discovery &Integration. – Enables three basic functions. – Similar to a Universal phone book. – Shared Distributed registry on the web. – Specification to publish and discover web services in the web.

• Find and bound using UDDI.SMTP . • Describe its messages using XML schema • Describe itself using WSDL.Siebel Web Service Defined As • Web Service • Now we come to our new definition to describe the web service as – An application component that • Communicates via open protocols (HTTP. . etc) • Processes XML messages frames using SOAP.

Siebel Web Service Architecture .

WBI WBI . and workflow External processes Siebel • Siebel application as a service (called by an external system) Application System • Typical Siebel Inbound webservice works as follows. business services.Siebel Web Services Inbound Web Service • Inbound: Enable an external system to access Siebel data.

– Click View -> Site Map -> Web Services Administration -> Inbound Web Services – In the Inbound Web Services list applet . • • • • Click New and enter the name of the port in the Name Column.create a new operation record for the new service port you created • Enter the name of the web service operation. Enter the address appropriate for the transport chosen. • Enter the name of the web services in the name column. • Select the „Active‟ in the status field.Siebel Web Services Inbound Web Service Exposing a Siebel Business Service/WF as a Web Service – Login to Client. – In the Operations List Applet . – Create an Inbound service port record in the service port list Applet. . Select the protocol or transport that will publish the web service. Create an Inbound web services record : • Enter the namespace for your organization's web services. . • Select the name of the business service method in the method Display name column. Pick the type of object published.

Outbound communication • Import the WSDL file in Siebel tools.Click Import. select the Web service icon. • Setup the Outbound Webservice definition – you have to import the runtime information generated in the . Check that the Service Ports section in the Outbound Web Services view is populated from – . – – Start Siebel tools.xml) created from the WSDL Import Wizard in step. Choose File > New Object to display the New Object Wizards. The WSDL import Wizard appears. and click OK. Select Outbound Web services from the Web Services Administration view. Click Import to display the EAI Web Service Import dialog box and specify the export file (.(OR) – – – In the Siebel client.xml file though the WSDL Import Wizard. navigate to the Web Services Administration view via Site Map.Siebel Web Service Outbound Step For Siebel Web Services . – Select the EAI tab.

Siebel Web Service .DCOM. – A Service is a set of actions that form a coherent whole from the point of view of service providers and service requesters.Oriented Architecture (SOA) • Agents (Software or human) • Emphasis on actions • Agents .etc. CORBA.agent interaction through message exchange..SOA • What is SOA ? – Service .to .Orientation encourages closely coupled distributed applications( I.e.) . – Service-Oriented Architecture are more suitable for loosely coupled distributed applications (Web service Architecture) – Object .

SOA OOPS SOA .Siebel Web Service .

Oriented Architecture are • Loosely coupled pieces of application functionality • can be combined with other applications over a network. . – published – consumed – Web Services • Stack of emerging standards. • Create a loosely coupled framework for programmatic communication among disparate systems.Siebel Web Service SOA • What is relation between SOA & Web Services? – Service . • Define protocols.

Siebel Web Service Q&A Q?& A email : info@infokeysinc.com .

.

 0.42.907 .

.7  2090.4/0 .907 25489.

.25489.4/0 .

2090.907 .

54/ .84.

53.84.045 .

25041$ !70854380 2'07843   84.0450 23884.53.5 995.0 $ !70854380 W .$0-00-$07..

.

  47.

 .

.

503.84.4/3890995.0450 84.5 03.

.

  47.

 .

.

5 03. 84.4/3  84.54/2382 995.

.

 0.907 .42.

907#0854380 20700 .7  2090.

20700 .

907#0854380 .2090.

54/ .84.

53.84.045 .

03.2-:4:8349..94357494.7/2..008.0.706:0892088.-:..75943...943 3.422:3.3:.990 708543802088.3/.907#06:089  5.0.38 $/0130807090 807...94/08.108.$0-00-$07..04403:3.9.3/.9.439.0 $ W $ $89.3307 $850.-0.7-32088.89.-908 3..94 807.5.48:80/949.3.3/..3/81470-$07.4/0 950 88973 .4.7-00-$07..0 W $0.02:89..0 $8.439.08.250 2088.20 5489.//943.20 090.3/907.793.794/08.3.

907#0854380  5.03.793. 2088.0 2088.20 0700 950 88973 .20 090.

9433.907#06:089 . 2088.0 5479%503.907  4507.20 090.0 090.20 0.907  35:92088.

 .

078.039.070-807.943 5740..70/897-:90/7089743900- 3..5430-44 $50.99403.3/.4:7.-089700-.75943 8.0 & W & &89.943 4..0 W 3/:3.07 3907.1:3.943945:-8.083900- $.3/8147&3.-9.0-807..03913/8..0-807.1.&3.794.989./45943410-807..4.943 4.0-807..039074507.08 $2.4330.3//8.078.9438 W !:-81:3..0 .$0-00-$07.8.943 490.07089078 W 3/:3.98..08.3/3907.4.

9 W 422:3..943.8 3.7-09801:83$ W 3/.0817.7-0982088.55.908.088082088.450357494.3/-4:3/:83& .08:838.0 0130/8 W 0-$07.. W 08..425430399.7-090 0-807..420944:730/01394394/08. W !74.0 W 40.02.48 %%! $%! 09.208:83$ ! W 08.$0-00-$07...0.

.$0-00-$07.0 7.9:70 .90.

8890294.0 W 3-4:3/3.$0-00-$07.08 . W $0-0.08808 $0-0 9073.55.807..943 $8902 W %5.88902 55.0 .9.943....088 $0-0/.309073.0/-..08 3-4:3/0-$07.0478. -:83088807.3/4714 574.$0-03-4:3/0-807..-0..81448   .8....309073..

.0 5483.08 3-4:3/0-$07...0.$0-00-$07.$0-0:83088$07.

.990.0.:9039.47/ W 3907903.33-4:3/807...9903.70.20.2041905479390.557457.//7088.990 .3.04507.0 390 507.0889.95:-8900-807.90.2041900-807.99057494.083903...9.943  3-4:3/0-$07.4:23 W $00.47/ 1479030807.204:23 !.943950174290/745 /4389 ..3854799..0-$07.2085.0547970.9:810/ 70.304507.90..'0 $90.0 4394039  .0870.204190-:83088807.5509 70. .01474:747.90/ W 3907903.0 39089.4803 $00.70.47/390807.054794:..5 0-$07.44797.943 W $00.90950414-0.385479.08 W 3907903..901479097..4:23 W $00.33-4:3/ 0-807.95:-80/ 390790.08 3903-4:3/0-$07.2041900-807.20.943 80-807.90.3/03907903.05479 895509 W W W W ..8..02094/3902094/ 85..3.9438895509 .08/23897.94370..

990$07.08 /23897....  %0$25479.3/850.0.7/38905 ...08545:.943.43 .9094900-$07.2547994/85..900-$07.550.025479 /..9900-807.7/ # 390$0-0.0 .90/ 390 21094:90$25479.90/ 174290$25479.3/.$90.90/1742 900547910 ....943..08.0!479880.78 :9-4:3/.$0-00-$07..900 -0.9.9909.08 W $9.09425479907:392031472.422:3.943 2547990$103$0-09448 W $09:590 :9-4:3/0-807.7/.0/013943 4:.25479 0..9 :9-4:3/0-807.800.994/85.0 :9-4:3/ $90547$0-00-$07.943390 :9-4:3/0-$07.0.9430307...9.08 /23897.79$0-09448 448000 -0.1900547910 2 .081742900-$07..7/8 $00..039 3.5 $00.70.4-4.

0706:089078 $07.943974:2088.$0-00-$07.0 $  W ..9438  0  #   09.80941.98$  $07.3/807.7024708:9.0 70390/7.7047:2.4:50//897-:90/ .55..90.0574.00...55.9 7039.9438 0-807.480.9:70.9:70 $   W 0398 $419.9438 W 0398 94 .07..94389. ...8843.90..90.4:7.91472.30 $07.0393907.041807..40703940174290543941 ../078.08.0 70390/7..-01474480..4:50/ /897-:90/..94303.9:70 -0.08.3 W 25..

$0-00-$07.0 $  !$ $  ..

410207389.9431:3.20471475747.07.94384..9:70..0 70390/7.3-0..7/8 W 013057494.22.422:3.90889028  .7..42-30/94907.9870.90.70 W 4480.3/.55.0 $  W .438:20/ W .4480.4:50/17.243/85.08 $07...55..0841...943 .943.08 W $9.30947 0-$07.48 W 70.90.9.4:50/50.$0-00-$07.943-09003$  0- $07.9 5:-80/ ..

42 .0 "  "  02. .$0-00-$07.. 314314083.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->