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=22768>. 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=22768 WSDL2Java generates incorrect attachment handling for client stub Summary: WSDL2Java generates incorrect attachment handling for client stub Product: Axis Version: current (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: WSDL processing AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I'm using a doc/lit service and I bind parts of a response message as attachments in my WSDL. They are sent back to the client correctly and do wind up in the attachments vector in the client Stub (i.e. extractAttachments(_call) works fine) but the generated binding stub code tries to pull the part data out of the output instead, as this WSDL2Java generated code snippet shows: pic.value = (javax.activation.DataHandler) _output.get(new javax.xml.namespace.QName("http://www.ws-i.org/SampleApplications/SupplyChainManagement/2003-07/Catalog.xsd", "Picture")); In other words, I don't believe the WSDL2Java code generator is taking into account whether a part is an attachment or not and creating the cooresponding code - it is just assuming it is a part in the body. Service WSDL is attached.
