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=16172>. 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=16172 Axis Client Fault if fault type is the same as input or output type Summary: Axis Client Fault if fault type is the same as input or output type Product: Axis Version: 1.1beta Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Serialization/Deserialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] On serialization axis client gives an axis fault. For example, if I define: <message name="ServiceRequest"> <part name="Request" element="myxsd:DOC"/> </message> <message name="ServiceResponse"> <part name="Response" element="myxsd:DOC"/> </message> <message name="ServiceFault"> <part name="Fault" element="myxsd:DOC"/> </message> and generate axis client stub classes with WSDL2Java, when I invoke service and it returns a correct response (not a fault), axis throws this exception: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: faultActor: null faultNode: null faultDetail: exceptionName: myxsd.DOCUMENT stackTrace: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: faultActor: null faultNode: null faultDetail: exceptionName: myxsd.DOC If I change to another type, for example: <message name="ServiceFault"> <part name="Fault" element="myxsd:ANOTHERELEMENT"/> </message> axis works fine.