java2wsdl: java.lang.ClassCastException: $Proxy53 cannot be cast to com.sun.xml.bind.v2.schemagen.xmlschema.ComplexTypeHost

2008-02-06 Thread Monica Ferrero
Hi! The moment my SEI for MyService includes a type MyData that has been derived from a schema file myschema.xsd with jaxb I get the error below. That's even with a very simplified version of MyData that has just an ID. Any ideas? Thanks a lot, Monica // // This file was generated by the

Re: java2wsdl: java.lang.ClassCastException: $Proxy53 cannot be cast to com.sun.xml.bind.v2.schemagen.xmlschema.ComplexTypeHost

2008-02-06 Thread Monica Ferrero
@incubator.apache.org Cc: Monica Ferrero [EMAIL PROTECTED

Re: java2wsdl: java.lang.ClassCastException: $Proxy53 cannot be cast to com.sun.xml.bind.v2.schemagen.xmlschema.ComplexTypeHost

2008-02-06 Thread Monica Ferrero
From: Monica Ferrero [EMAIL PROTECTED

Re: WSDLToJava Error : Thrown by JAXB : undefined element declaration 'ns1:orderBy'

2008-01-09 Thread Monica Ferrero
' Hi Monica, Forget to mention . Search it in java to wsdl 's log . Regards Jim Monica Ferrero wrote: Hi Jim, Changed the logging level to FINE as you indicated and run the wsdl to java on my wsdl

Re: WSDLToJava Error : Thrown by JAXB : undefined element declaration 'ns1:orderBy'

2008-01-08 Thread Monica Ferrero
known to this context: in the log file to see if this class is known to JAXB. Regards Jim Monica Ferrero wrote: Hi Jim, Thank you for your reply. Item and OrderBy are generated by JAXB from a schema.xsd file. I have followed your advice to see if it behaves any different but I still get

Re: WSDLToJava Error : Thrown by JAXB : undefined element declaration 'ns1:orderBy'

2008-01-07 Thread Monica Ferrero
Monica Ferrero wrote: Hi! I'm getting this error: WSDLToJava Error : Thrown by JAXB : undefined element declaration 'ns1:orderBy' when trying to generate java stubs from the wsdl. This is my original service: @WebService(endpointInterface = com.aaa.bbb.ccc.MyService) public interface

Re: Default WSDL generated from annotated class has elementFormDefault=unqualified

2007-11-12 Thread Monica Ferrero
Hi! I got that question answered from Jim last week! Here you have: Hi , You can annotate the package-info.java with XmlNsForm.QUALIFIED like this : @javax.xml.bind.annotation.XmlSchema(namespace = http://example.org;, attributeFormDefault=javax.xml.bind.annotation.XmlNsForm.QUALIFIED,

xs:schema attributeFormDefault=unqualified elementFormDefault=unqualified

2007-11-06 Thread Monica Ferrero
Hi! The wsdl generated from cxf has in the schema definition: attributeFormDefault=unqualified elementFormDefault=unqualified I need these to be generated as qualified. What do I need to do for these to be generated as qualified? Is there any annotation for this? Or any specific way of