Hi Zubin, You might want to ask on one of the Web Services project [1] lists. That's really more in their domain. Note that there's already a Java based WSDL processor available from the WS project called Woden [2].
Thanks. [1] http://ws.apache.org/ [2] http://ws.apache.org/woden/ Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Zubin Sethna" <[EMAIL PROTECTED]> wrote on 05/16/2008 02:59:35 AM: > Hi Boris > > Thanks again for your informative answer. There's a tool written in C++ > called wsdlpull which claims to do WSDL and XSD schema parsing. It's a > pity that WSDL parsing is not part of Xerces-C but I guess its not a > strictly XML operation. > > Are there any plans to add WSDL parsing to Xerces-C? > > Zubin > > -----Original Message----- > From: Boris Kolpackov [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 13 May 2008 12:38 AM > To: [email protected] > Subject: Re: WSDL > > Hi Zubin, > > Zubin Sethna <[EMAIL PROTECTED]> writes: > > > Is there a way to make Xerces-C understand WSDL definitions? > > Xerces-C++ does not support WSDL so you will have to create your > own parser (perhaps based on DOM). WSDL can also include XML > Schema fragments either verbatim or by referencing an external > .xsd file. The external case is fairly easy to handle. The > verbatim inclusion is tricky unless you don't mind re-serializing > and then re-parsing the schema fragment. It may also be possible > to get under the hood and use the Xerces-C++ internal mechanisms > to "parse out" the schema part directly from the WSDL DOM document. > To start, see the XSDDOMParser and TraverseSchema classes as well > as how they are used in the IGXMLScanner (you can try to follow > the loadGrammar call stack). > > Once you have the schema grammar, you can use it to validate XML > documents (presumably bodies of SOAP messages). > > Boris > > -- > Boris Kolpackov, Code Synthesis Tools > http://codesynthesis.com/~boris/blog > Open source XML data binding for C++: > http://codesynthesis.com/products/xsd > Mobile/embedded validating XML parsing: > http://codesynthesis.com/products/xsde
