wsdl4j-1.5.1 does not work with the current cvs version
Shantanu Sen <ssen-yBeKhBN/[email protected]>
| Newsgroups | gmane.comp.apache.webservices.wsif.user |
|---|---|
| Message-ID | <[email protected]> |
I apologise for sending this mail out with an incorrect subject line. --- Shantanu Sen <ssen-yBeKhBN/[email protected]> wrote: > Date: Fri, 5 Aug 2005 15:36:58 -0700 (PDT) > From: Shantanu Sen <ssen-yBeKhBN/[email protected]> > Subject: Re: WSIF bug reporting. > To: [email protected] > > What is the version of the wsdl4j.jar that is > present > in the current CVS repo of WSIF? It says > wsdl4j-20030807.jar > > I tried to run with the wsdl4j-1.5.1 - but it fails > at > runtime although the WSIF build is fine. > > The error is that when parsing a WSDL with the 1.5.1 > version the > Definition.getTypes().getExtensibilityElements() > returns a list of objects of type > com.ibm.wsdl.extensions.schema.SchemaImpl. > > But when I invoke the > org.apache.wsif.schema.Parser.getAllSchemaTypes, it > invokes the Parser.getTypesSchemas method, which > expects the list of extensibility elements returned > by > the above call to be of type > UnknownExtensibilityElement. > > Hence a ClassCastException is thrown. > > So, is there any plan to upgrade to the latest > wsdl4j? > Does the latest wsdl4j give us any added benefit? > > I am curious - is the latest version correct in > using > SchemaImpl as the type of the extensibility elements > rather than the UnknownExtensibilityElement? > > Thanks for any info, > Shantanu Sen >