Reviving Project WOM - WSDL Object Model
Posted by vivekp on August 20, 2009 at 5:56 PM EDT
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();Refer to API doc on how to navigate and do some interesting things with the WSDL components.
WSDLSet wsdls = parser.parse(new File("sample.wsdl"));
WSDLDefinitions def = wsdls.getWSDLs().next();
See the project page for details and send your feedback.
Related Topics >>
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- vivekp's blog
- 1844 reads





