Return-Path: Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 57822 invoked by uid 500); 16 Apr 2003 20:07:55 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 57784 invoked from network); 16 Apr 2003 20:07:54 -0000 Date: 16 Apr 2003 20:09:52 -0000 Message-ID: <20030416200952.28657.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: axis-dev@ws.apache.org Cc: Subject: DO NOT REPLY [Bug 18899] - Java2WSDL generation broken for Wrapped style X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=18899 Java2WSDL generation broken for Wrapped style ------- Additional Comments From bkeane@6thStreet.net 2003-04-16 20:09 ------- I have made some progress figuring out what is going on here. I'm a newbie to the Axis source, so don't treat this analysis as definitive. When you use the Java2WSDL -i option to specify an implementation class, the Emitter class sets up two ServiceDesc objects, the second one associated with the impl class. It is this one that is used to output type information in the WSDL. When the second ServiceDesc object is set up by Emitter.init() (see line 429) the style attribute is not set. The solution to this may be to add the following line in the neighborhood of line 495: serviceDesc2.setStyle(style); The effect of this change is that the existing code in Emitter.writeRequestMessage() that handles wrapped style is now executed.