WSDL Type Parser
- From: "Philipp Leitner" <philipp.leitner@xxxxxx>
- Date: 12 Apr 2007 03:19:44 -0700
Hi all,
sorry in advance - I know that this is not quite the right group for
such a question, but for lack of a better one I am trying my luck
anyway ;-)
I need to parse the type information contained in a standard WSDL file
using Java, i.e. I want to have an in-memory representation of the
types (type names and "structure", for complex types as well as simple
types), which I can then use to compare to some input provided by a
user.
So far I have (with some success) used the fine parser that comes
along with WSIF (http://publib.boulder.ibm.com/infocenter/adiehelp/
index.jsp?topic=/com.ibm.wasee.doc/info/ee/javadoc/wsi/org/apache/wsif/
schema/Parser.html), but it turns out that this parser only parses top-
level types. A WSDL file containing element-local types like
<xs:element name="sendOrderConfirmationResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="return" nillable="true"
type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
(as produced by Axis2) will not by parsed completely. Unfortunately
this restriction renders the utility more or less useless for document/
wrapped ... I have already asked a similar question on the WSIF
mailing list, but the whole project seems to be quite dead at the
moment.
Does anybody of you know of a good open-source WSDL or XSD parser
which I could use to generate an in-memory representation of these
types?
many thanks in advance (and sorry for the slightly off-topic Web
Services question),
philipp
.
- Follow-Ups:
- Re: WSDL Type Parser
- From: Karl Uppiano
- Re: WSDL Type Parser
- From: Manfred Rosenboom
- Re: WSDL Type Parser
- Prev by Date: Validation
- Next by Date: Re: web start
- Previous by thread: Validation
- Next by thread: Re: WSDL Type Parser
- Index(es):