axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18899] - Java2WSDL generation broken for Wrapped style
Date Wed, 16 Apr 2003 20:09:52 GMT
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=18899>.
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.

Mime
View raw message