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

 

Reply via email to