The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Reviving Project WOM - WSDL Object Model

Posted by vivekp on August 20, 2009 at 2:56 PM PDT
Sometime back I started a project - WOM, short for WSDL Object Model. The idea was to come up with a library that provides efficient parsing and provides a WSDL Object Model that can be used to inspect, traverse/navigate and will be useful for IDEs such as NetBeans and also WSDL 2 Java generators, such as Metro wsimport.

After some initial (90%) of work I left the project ideal to get back to it after I get past some other interesting things I was involved with. Recently someone from community sent me mail and asked whats up with this project and he plans to build some custome API using WOM and XSOM APIs for schema object model. I fixed some bugs, added documentations and released 0.9.0 version of WOM to maven.

The design of WOM is largely based on XSML Schema Object Model (XSOM). It is very extensible. For example, you can use your own ContentHandler to parse the XML Schema. Use your own extension handlers to parse WSDL extensibility elements. I need to do more work on adding documentation for these. But what I have there should be sufficient for you to start playing with it.
WOMParser parser = new WOMParser();
WSDLSet wsdls = parser.parse(new File("sample.wsdl"));
WSDLDefinitions def = wsdls.getWSDLs().next();
Refer to API doc on how to navigate and do some interesting things with the WSDL components.

See the project page for details and send your feedback.
Related Topics >> Web Services and XML      
Comments
Comments are listed in date ascending order (oldest first)

very nice and incredible post about Reviving Project WOM - WSDL Object Model.i visited many blogs but couldn't find such valuable info. i will definetly add this to my blogroll. http://www.topdogmarketinggroup.com