DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14313>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14313 Java2WSDL generates schema element with type="" Summary: Java2WSDL generates schema element with type="" Product: Axis Version: 1.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: WSDL processing AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Java2WSDL can generate schema definitions of complex types like the following. <xsd:schema targetNamespace="http://util.core.agedwards.com"> <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <xsd:complexType name="WrappingException"> <xsd:sequence> <xsd:element name="message" nillable="true" type="xsd:string"/> <xsd:element name="nestedException" nillable="true" type=""/> </xsd:sequence> </xsd:complexType> </xsd:schema> Note the type="". This causes WSDL2Java to fail with the following error. java.io.IOException: Type {http://schemas.xmlsoap.org/wsdl/} is referenced but not defined. When I changed it to type="xsd:anyType" (based on a tip from Brian Ward) the problem went away.