Hiya I got the following exception when querying the following URL of a modified version of the restful_http_binding sample.
<ns1:XMLFault> <ns1:faultstring> java.lang.ClassCastException : org.apache.ws.commons.schema.XmlSchemaComplexType </ns1:faultstring> </ns1:XMLFault> The only change I made between this faulty version and a working one is about the GetBook class that was rewriten and compiled in Groovy. The schema generated in now <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xs:schema elementFormDefault="qualified" version=" 1.0" targetNamespace=" http://book.acme.com" xmlns:xs=" http://www.w3.org/2001/XMLSchema"> <xs:complexType name="getBook"> <xs:sequence> <xs:element name="id" type="xs:long"/> </xs:sequence> </xs:complexType> </xs:schema> instead of <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xs:schema elementFormDefault="qualified" version="1.0" targetNamespace=" http://book.acme.com" xmlns:tns="http://book.acme.com" xmlns:xs="http://www.w3.org/2001/XMLSchema "> <xs:element name="GetBook" type="tns:getBook"/> <xs:complexType name="getBook"> <xs:sequence> <xs:element name="id" type="xs:long"/> </xs:sequence> </xs:complexType> </xs:schema> would these changes lead to that error ? My feeling is *no* since I did the same change for other classes and this did not cause the same exception. Thoughts ? Cheers Guillaume
