scheu 2002/09/27 09:23:14 Modified: java/src/org/apache/axis/wsdl/fromJava Emitter.java Log: Minor Fix to the Java2WSDL WRAPPED mode. The name of the message part in the request should be "body" and the message part in the reponse should be "return". Revision Changes Path 1.66 +6 -2 xml-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java Index: Emitter.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- Emitter.java 26 Sep 2002 21:52:12 -0000 1.65 +++ Emitter.java 27 Sep 2002 16:23:13 -0000 1.66 @@ -1147,8 +1147,12 @@ param.getName(), typeQName)) { // If wrapper element is written - // add <part name="body" element=wrapper_elem /> - part.setName("body"); + // add <part name="body/return" element=wrapper_elem /> + if (request) { + part.setName("body"); + } else { + part.setName("return"); + } part.setElementName(wrapperQName); msg.addPart(part); }
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... tomj
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... tomj
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... butek
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... scheu
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... scheu
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... scheu
- RE: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/from... Tom Jordahl
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... scheu
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... scheu
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... butek
- RE: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/from... scheu
- RE: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/from... Tom Jordahl
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... scheu
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... scheu
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... tomj
- cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava... tomj
- Re: cvs commit: xml-axis/java/src/org/apache/axis/wsdl... Steve Loughran