® ibm software group © 2006 ibm corporation woden demo wsd wg f2f, 2006-02-28 arthur ryman...

18
® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman [email protected]

Upload: robert-mcnally

Post on 10-Dec-2015

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

®

IBM Software Group

© 2006 IBM Corporation

Woden DemoWSD WG F2F, 2006-02-28Arthur Ryman

[email protected]

Page 2: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 3: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Apache Woden Incubator

http://incubator.apache.org/woden/

The goal of Woden is to provide a Java model, reader, writer, API, and validator for WSDL 2.0 Expand to WSDL 1.1 later

Other projects, like Apache Axis 2, will provide runtime implementations, e.g. Java2WSDL, WSDL2Java

IBM is currently the only active contributor: John Kaputin, Lawrence Mandel, Jeremy Hughes, and me

Chathura Herath, WSO2, is currently inactive

Tony Rogers, CA, has announced an intension to contribute

Apache rules require broader participation for the project to “hatch”

Page 4: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 5: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Latest Milestone Release

Woden 1.0.0 M3

http://cvs.apache.org/dist/ws/woden/milestones/1.0.0M3-incubating/ Parsing of WSDL 2.0 import and include (DOM)

WSDL 2.0 Service parsing (DOM)

Implement validation logic for Binding

Unit tests for validation logic for Binding

Integrate W3C WSDL 2.0 Binding tests into Woden test suite

Woden Build page lists all milestone builds

Page 6: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 7: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Woden M3 Demo – For Java Programmers

1. Download an M3 build in the archive format of your choice, e.g.: woden-incubating-1.0.0M3.zip

2. Unzip to a convenient directory, e.g.: C:\woden

3. Add the 5 JAR files in the c:\woden\lib directory (woden.jar, etc) to your Java classpath

4. Create a simple WSDL test file, e.g. C:\test.wsdl

5. Create the Java main program, WodenTest.java

6. Compile and run WodenTest.java and look at the console output

Page 8: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 9: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 10: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 11: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Console Output from WodenTest.java

Reading file:///C:/test.wsdlThere are 2 ElementDeclaration components.ElementDeclaration[0] : name = {http://example.org/name}SINElementDeclaration[1] : name = {http://example.org/name}NameThere are 1 Interface components.Interface[0] : name = {http://example.org/name}NameInterface

Page 12: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

API

Woden provides an API that mirrors the Component Model Simplifies translation of assertions into Java code

Woden also provides an API that mirrors the XML Infoset Enables creation of documents and full control over where components are

defined

See Javadoc for details

Page 13: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 14: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 15: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Woden JUnit Tests

Woden has a suite of JUnit tests

View test results for M3

There is a JUnit test case for each test case in the W3C Test Suite

See W3CTestSuiteTest.java

To Do: Associate each “bad” document test case with the assertion it violates and verify the error returned by the Woden ErrorHandler in an ErrorInfo object

Page 16: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 17: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Page 18: ® IBM Software Group © 2006 IBM Corporation Woden Demo WSD WG F2F, 2006-02-28 Arthur Ryman ryman@ca.ibm.com

IBM Software Group | Rational software

Get Involved!

Download the code and test it

Subscribe to the mailing list: [email protected]

Report problems to JIRA

Write test cases

Check out the code from SVN and submit patches

Become a committer

Use Woden in your products