Title: Cape Clear Overview
1CORBA and Web Services Kevin Curley, Senior
Software Engineer Cape Clear Software
2Web Services
- Web Services are software components
- Defined in WSDL.
- Remotely accessible via SOAP.
- Registered in a UDDI.
3Web Services Standards
- Web Services standards look familiar
- WSDL ? CORBA IDL, Java interfaces
- SOAP ? CORBA IIOP, Java RMI
- UDDI ? CosNaming, CosTrader, JNDI
- But they
- Abstract CORBA, Java, and .NET technologies.
- Are being added to many packaged applications.
- OMG standardization underway
- IDL-to-WSDL mapping
4Leveraging CORBA Components
- Challenges
- Generate WSDL representing the service
- Perform SOAP / IIOP mapping at runtime
- Develop
- WSDL from IDL, client stub generation, XSLT
creation, etc. - Deploy
- Expose CORBA interfaces as Web Services
5Generate WSDL from IDL
lt?xml version"1.0" encoding"UTF-8"?gt ltdefinition
s name"helloCorba" targetNamespace"http//www.
capeclear.com/helloCorba.wsdl" xmlns"http//sche
mas.xmlsoap.org/wsdl/" xmlnssoap"http//schemas
.xmlsoap.org/wsdl/soap/" xmlnstns"http//www.ca
peclear.com/helloCorba.wsdl" xmlnsxsd"http//ww
w.w3.org/2001/XMLSchema" xmlnsxsd1"http//www.c
apeclear.com/helloCorba.xsd"gt lttypesgt ltxsdschem
a targetNamespace"http//www.capeclear.com/hell
oCorba.xsd" xmlnsSOAP-ENC"http//schemas.xmlso
ap.org/soap/encoding/" xmlnswsdl"http//schema
s.xmlsoap.org/wsdl/" xmlnsxsd"http//www.w3.or
g/2001/XMLSchema"gt ltxsdcomplexType
name"CCReference"gt ltxsdsequencegt ltxsdelement
maxOccurs"1 minOccurs"0 name"reference
nillable"true type"xsdstring"/gt lt/xsdse
quencegt lt/xsdcomplexTypegt lt/xsdschemagt lt/type
sgt ltmessage namefoo"gt ltpart name"target"
type"xsd1CCReference"/gt lt/messagegt ltmessage
namefooResponse"/gt ltportType
name"server.HelloWorld"gt ltoperation namefoo"
parameterOrder"target"gt ltinput
message"tnsfoo"/gt ltoutput message"tnsfooRes
ponse"/gt lt/operationgt lt/portTypegt ltbinding
name"server.HelloWorldBinding"
type"tnsserver.HelloWorld"gt ltsoapbinding
style"rpc" transport"http//schemas.xmlsoap.org/
soap/http"/gt ltoperation namefoo"gt ltsoapoper
ation soapAction"capeconnecthelloCorbaserver/
HelloWorldgetMessage"/gt ltinputgtltsoapbody
encodingStyle"http//schemas.xmlsoap.org/soap/enc
oding/" namespace"capeconnecthelloCorbaserve
r/HelloWorld use"encoded"/gt lt/inputgt ltout
putgtltsoapbody encodingStyle"http//schemas.xmlso
ap.org/soap/encoding/ namespace"capeconnecth
elloCorbaserver/HelloWorld use"encoded"/gt
lt/outputgtlt/operationgt lt/bindinggt ltservice
name"helloCorba"gt ltdocumentationgthelloCorbalt/do
cumentationgt ltport binding"tnsserver.HelloWorl
dBinding" name"server.HelloWorld"gt ltsoapaddres
s location"http//localhost8000/ccx/helloCorba"/
gt lt/portgt lt/servicegt lt!--Created by
CapeConnect on Fri Mar 08 172959 GMT 2002 See
http//www.capeclear.com for more
details--gt lt/definitionsgt
- WSDL can be a little verbose
interface HelloWorld void foo()
maps to
6Web Services Platform
- SOAP 1.1
- Extensive interoperability testing
- HTTP, HTTPS, SMTP (asynchronous SOAP messaging)
- SOAP attachments and MIME
- UDDI 1.0
- Includes Web-based management GUIs
- .NET, Java, J2EE, and CORBA integration
- BEA WebLogic, IBM WebSphere, Sun iPlanet
- TAO, IONA Orbix, Borland VisiBroker, WebLogic
Enterprise - Advanced features
- XSLT engine, security and logging, messaging
support
7Web Services Example
Web Services complement CORBA technology
Back-end System
CORBA Objects
Web Services Platform
CORBA Objects
Web Service Client (JSPs, VB, .NET)
UDDI
IDL ? WSDL
WSDL
8 Q A
Product info www.capeclear.com Email address
kevin.curley_at_capeclear.com