Probably the best thing to do is to log a bug at:
https://jaxb.dev.java.net/issues/
It may have  a chance of getting fixed then.   :-)

I'm really not sure if there is any other way around it.    You might be able 
to ask on their mailing list as well:
https://jaxb.dev.java.net/servlets/ProjectMailingListList


Dan




On Monday 11 August 2008 11:04:30 am Gord Turner wrote:
> Hello all,
>
>
>
> I have a .NET wsdl generated by a third party that I am working with.
> When I try to use the wsdl2java maven 2 plugin I get the error:
>
>
>
> Thrown by JAXB : undefined element declaration 's:schema'
>
>
>
> Is there a 'best practice' when dealing with these errors?
>
>
>
> I have replaced the lines:
>
>
>
> <s:element ref="s:schema" />
>
> <s:any />
>
>
>
> With:
>
>
>
> <s:any minOccurs="2" maxOccurs="2"/>
>
>
>
> I have done this 'by hand' and although it avoids the error, I don't
> like this solution.  Please find the wsdl attached to this message.
>
>
>
> Any suggestions welcome,
>
> Gordo.
>
> Gordon Turner
> direct: 416.646.7016
>
> main: 416.646.7000
> fax: 416.646.7050
>
> Exchange Solutions Inc.
> 250 Yonge Street, 18th Floor
> Toronto, ON M5B 2L7
> www.exchangesolutions.com



-- 
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to