Cho.ppt

454 views

Published on

  • Be the first to comment

  • Be the first to like this

Cho.ppt

  1. 1. WSIP(Web Service Interoperability Platform) Pyounguk Cho, Oracle Corporation Nilesh Junnarkar , Oracle Corporation
  2. 2. Agenda <ul><li>Web Service status quo </li></ul><ul><li>Interoperability challenges </li></ul><ul><li>WSIP </li></ul><ul><li>Demo </li></ul><ul><li>Q & A </li></ul>
  3. 3. Where is Web Service today? <ul><li>Adoption </li></ul><ul><ul><li>Everybody understands what it is </li></ul></ul><ul><ul><li>Ubiquitously adopted and deployed </li></ul></ul><ul><ul><li>Popular for connecting platforms and applications </li></ul></ul><ul><ul><li>Starting to go beyond basics </li></ul></ul><ul><li>Web service has been evolving(WS-*) </li></ul><ul><li>What are the pain points? </li></ul><ul><ul><li>Performance </li></ul></ul><ul><ul><li>Complexity </li></ul></ul><ul><ul><li>Acronyms </li></ul></ul><ul><ul><li>Interoperability </li></ul></ul>
  4. 4. Web Services Interoperability <ul><li>Perception : “Web Services are the most interoperable technology available today as WSDL clearly defines the message contract” </li></ul><ul><li>Reality : A lot of surprises! </li></ul><ul><li>Mitigation efforts </li></ul><ul><ul><li>Web Services Interoperability (WS-I) </li></ul></ul><ul><ul><li>Vendor-sponsored interop-events </li></ul></ul><ul><ul><li>Developer community knowledge sharing (SOAPBuilders,…) </li></ul></ul><ul><ul><li>Tools </li></ul></ul><ul><ul><li>Runtime relaxation </li></ul></ul>
  5. 5. Interoperability Challenges <ul><li>Potential sources of friction </li></ul><ul><ul><li>Complex schema definitions </li></ul></ul><ul><ul><li>XML-language(Java, C#, C/C++,…) impedance </li></ul></ul><ul><ul><ul><li>Loss of precision </li></ul></ul></ul><ul><ul><ul><li>Unsigned data types </li></ul></ul></ul><ul><ul><li>WS-* version mismatch </li></ul></ul><ul><ul><li>Compositions </li></ul></ul><ul><ul><li>Bugs in tools or stacks </li></ul></ul><ul><ul><ul><li>Namespace qualification </li></ul></ul></ul><ul><ul><ul><li>Null values </li></ul></ul></ul><ul><ul><ul><li>Empty values </li></ul></ul></ul>
  6. 6. Interoperability Challenges(Cont.) <ul><li>Common guidelines and best practices available </li></ul><ul><ul><li>Don’t try to be fancy with schema definitions </li></ul></ul><ul><ul><li>Don’t use RPC/Encoded </li></ul></ul><ul><ul><li>Comply with WS-I Profiles </li></ul></ul><ul><ul><li>… . </li></ul></ul><ul><li>Assurance of interoperability remains challenging </li></ul><ul><ul><li>Following best practices does not guarantee anything </li></ul></ul><ul><ul><li>Compositions for QoS </li></ul></ul><ul><ul><ul><li>Basic SOAP vs. </li></ul></ul></ul><ul><ul><ul><li>WS-RM + SAML + XML-encryption + MTOM + … </li></ul></ul></ul><ul><ul><li>Hard to diagnose and resolve </li></ul></ul><ul><ul><ul><li>Declarative, not procedural programming model (WSDL -> SOAP) </li></ul></ul></ul><ul><ul><ul><li>Supposed to be a black box to end users </li></ul></ul></ul>
  7. 7. Interoperabilty Combinatorials <ul><li>Dimensions : </li></ul><ul><ul><li>WS-* & JAX-* </li></ul></ul><ul><ul><li>WS-* versions (WS-Addressing namespace : 2003/2004/2005) </li></ul></ul><ul><ul><li>WS-* compositions </li></ul></ul><ul><ul><li>Development time tools and runtime stacks </li></ul></ul><ul><ul><li>Stack versions(Axis 1.x/2.x, WSEx/WCF, ..) </li></ul></ul><ul><li>Exponential test cases </li></ul>
  8. 8. Interoperability Assurance Measures <ul><li>Manual testing </li></ul><ul><ul><li>Time-consuming </li></ul></ul><ul><ul><li>Learning-curve for different stacks </li></ul></ul><ul><ul><li>Not scalable </li></ul></ul><ul><ul><li>Error-prone </li></ul></ul><ul><ul><li>Lack of expertise </li></ul></ul><ul><li>Any magic tool box? – not yet </li></ul>
  9. 9. Systematic Interoperability testing <ul><li>Requirements : </li></ul><ul><ul><li>Scalable </li></ul></ul><ul><ul><li>Minimal manual steps </li></ul></ul><ul><ul><li>Coverage </li></ul></ul><ul><ul><ul><li>WS-* </li></ul></ul></ul><ul><ul><ul><li>Platforms/stacks </li></ul></ul></ul><ul><ul><li>Intelligence </li></ul></ul><ul><ul><li>Knowledge-base </li></ul></ul><ul><ul><ul><li>Annotated test cases </li></ul></ul></ul><ul><ul><ul><li>Golden images </li></ul></ul></ul><ul><ul><ul><li>Troubles and remedies </li></ul></ul></ul>
  10. 10. Web Services Interoperability Platform (WSIP) <ul><li>What WSIP is : A Platform to – </li></ul><ul><ul><li>Test deterministic product level Interoperability between Web Services vendors/platforms </li></ul></ul><ul><ul><li>Identify interoperability issues early in development cycle </li></ul></ul><ul><ul><li>Help reproduce and fix interoperability issues </li></ul></ul><ul><ul><li>Scalable automation of interoperability regressions testing </li></ul></ul><ul><li>What WSIP is not </li></ul><ul><ul><li>A product you can buy </li></ul></ul>
  11. 11. Why WSIP? <ul><li>Help minimize the non-oracle application server learning curve </li></ul><ul><li>Get to test interoperability right away – No non-oracle WS platforms to install/ learn their tools – Developer Productivity </li></ul><ul><li>End-to-End testing with multiple WS vendors </li></ul><ul><li>Capability beyond other SOA test tools </li></ul><ul><ul><li>Test ‘ true interoperability’ </li></ul></ul>
  12. 12. WSIP Features <ul><li>Hosted services for different WS platforms </li></ul><ul><li>Profile a Web Service </li></ul><ul><li>Dynamically generate, build and Execute a Client </li></ul><ul><li>WSIP WSIL Browser </li></ul><ul><li>Replay Mechanism </li></ul><ul><li>WSDL repository with analyzed data </li></ul><ul><li>ANT Tasks/JUNIT Test integration </li></ul><ul><li>Analyze a WSDL using integrated WS-I Analyzer </li></ul><ul><li>Auto Service generation and deployment </li></ul>
  13. 13. WSDL Service Endpoint Simulation Client Response == Response received Repository Report Capture - Replay WS Interoperability Platform XPath/XQuery Expected response Request + header Test Case .Net Real clients Expected Response Security QoS <ul><li>WS-I </li></ul><ul><li>.Net </li></ul><ul><li>Axis </li></ul><ul><li>Orcl </li></ul>WSDL Code Gen
  14. 14. Demo : WSIP In Action
  15. 15. Q & A
  16. 16. Future considerations <ul><li>Productization </li></ul><ul><li>Continual coverage expansion </li></ul><ul><ul><li>New standards </li></ul></ul><ul><ul><li>More platforms </li></ul></ul><ul><li>Knowledge repository </li></ul><ul><ul><li>Various test cases </li></ul></ul><ul><ul><li>Results and error types </li></ul></ul><ul><li>Intelligence </li></ul><ul><ul><li>Root cause analysis for errors </li></ul></ul><ul><ul><li>Prediction based on </li></ul></ul><ul><ul><ul><li>Client platform characteristics </li></ul></ul></ul><ul><ul><ul><li>Service platform characteristics </li></ul></ul></ul><ul><ul><ul><li>WSDL </li></ul></ul></ul><ul><ul><li>Remedy suggestion </li></ul></ul>
  17. 17. Further information <ul><li>Contact Info : </li></ul><ul><ul><li>Pyounguk Cho ( [email_address] ) </li></ul></ul><ul><ul><li>Nilesh Junnarkar ( [email_address] ) </li></ul></ul>

×