Presentation is loading. Please wait.

Presentation is loading. Please wait.

COM+ And CORBA Interop With XML-Based Web Services Jay Schmelzer Partner Clarity Consulting, Inc. 1-303.

Similar presentations


Presentation on theme: "COM+ And CORBA Interop With XML-Based Web Services Jay Schmelzer Partner Clarity Consulting, Inc. 1-303."— Presentation transcript:

1 COM+ And CORBA Interop With XML-Based Web Services Jay Schmelzer Partner Clarity Consulting, Inc. 1-303

2

3 About Clarity Clarity Clarity  Information technology consulting firm  Based in Chicago  Focus on Microsoft ® “Enterprise” technologies Jay Jay  Development project leader …Check out www.claritycon.com

4 Agenda Define the problem Define the problem Review our options Review our options Dig into XML-based Web services Dig into XML-based Web services Make it scale Make it scale

5 What Is The Problem? Access existing CORBA applications Access existing CORBA applications Server to Server connectivity Server to Server connectivity  Capitalize on the investments made in encapsulating business rules  Server environments are heterogeneous in nature Minimize the impact on the existing application Minimize the impact on the existing application

6 Example Of Our Problem UNIX Server Windows 2000 CORBAInventoryObjectCOM+OrderObject???

7 What Are The Options? COM/CORBA Bridge products COM/CORBA Bridge products Message Queues Message Queues  IBM MQSeries on non-MS platform  MSMQ on MS platforms Custom Solution Custom Solution Use Web Protocols Use Web Protocols  HTTP  XML  SOAP

8 SOAP Overview Simple Object Access Protocol Simple Object Access Protocol Lightweight protocol for exchanging data using XML Lightweight protocol for exchanging data using XML Message Parts Message Parts  Envelop  Encoding Rules

9 SOAP Example Stock quote method Stock quote method  GetStockQuote(ByVal Symbol as String) as Double Request message Request message<SOAP-ENV:Envelope xmlns:SOAPENV=“SOAPEnvelope-URI” xmlns:SOAPENV=“SOAPEnvelope-URI” SOAP-ENV:encodingStyle=“SOAPEncoding-URI” SOAP-ENV:encodingStyle=“SOAPEncoding-URI” MSFT MSFT </SOAP-ENV:Envelope>

10 SOAP Example Response message Response message<SOAP-ENV:Envelope xmlns:SOAPENV=“SOAPEnvelope-URI” xmlns:SOAPENV=“SOAPEnvelope-URI” SOAP-ENV:encodingStyle=“SOAPEncoding-URI” SOAP-ENV:encodingStyle=“SOAPEncoding-URI” <m:GetStockQuoteResponse <m:GetStockQuoteResponse xmlns:m=“Some-URI”> xmlns:m=“Some-URI”> MSFT MSFT </SOAP-ENV:Envelope>

11 Demo Hansen Brothers Interop Sample Hansen Brothers Interop Sample

12 What’s Going On Here? Windows 2000 Solaris Server ASP COM+Objects ROPEEngine SOAPListenerCORBAObjects OracleDB

13 Unix Listener Listens for HTTP Posts Listens for HTTP Posts Parses the SOAP Request Parses the SOAP Request Call the appropriate CORBA object Call the appropriate CORBA object Packages the results in SOAP Response Packages the results in SOAP Response Sends the results back over HTTP Sends the results back over HTTP

14 Demo Review Listener source Review Listener source

15 Microsoft SOAP SDK COM components that wrap the SOAP messages COM components that wrap the SOAP messages Service Description Language – TypeLib for a Web service Service Description Language – TypeLib for a Web service

16 SDL Services Description Language Services Description Language XML schema file describes methods exposed XML schema file describes methods exposed Generated for existing components using the SDL Wizard Generated for existing components using the SDL Wizard Example – Product.xml Example – Product.xml

17 ROPE Formats the SOAP XML message Formats the SOAP XML message Packages the HTTP request Packages the HTTP request Receives the HTTP response Receives the HTTP response Parses the SOAP XML response Parses the SOAP XML response

18 Windows 2000 Components HBProduct component HBProduct component  COM+ component  Wraps the calls to the CORBA component  Utilizes ROPE Proxy object to make the SOAP calls HBInterop HBInterop  COM+ business component  Called by ASP to support the site

19 Demo HBProduct Component HBProduct Component

20 Converting The data SOAP (HBProduct) returns XML SOAP (HBProduct) returns XML We want ADO Recordsets We want ADO Recordsets Options Options  Loop through the DOM  XSL based transformation

21 Demo HBInterop.ProductDC HBInterop.ProductDC

22 Summary SOAP is a great solution for Interop SOAP is a great solution for Interop  Minimal impact to existing components  Language neutral  Easy to configure

23 Questions? Jay Schmelzer Jay Schmelzer Jschmelz@claritycon.com Jschmelz@claritycon.com Jschmelz@claritycon.com www.claritycon.com www.claritycon.com

24


Download ppt "COM+ And CORBA Interop With XML-Based Web Services Jay Schmelzer Partner Clarity Consulting, Inc. 1-303."

Similar presentations


Ads by Google