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 12747] - AdminService generates invalid WSDL
Date Mon, 23 Sep 2002 12:45:57 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=12747>.
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=12747

AdminService generates invalid WSDL





------- Additional Comments From dims@yahoo.com  2002-09-23 12:45 -------
Glen,

The following patch enables me to generate a WSDL that WSDL2Java understands....

Thanks,
dims

----------------------------------------------------------------------------
cvs -z9 diff src\org\apache\axis\wsdl\fromJava\Emitter.java
src\org\apache\axis\description\ServiceDesc.java (in directory
C:\jakarta\xml-axis\java\)
Index: src/org/apache/axis/wsdl/fromJava/Emitter.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/Emitter.java,v
retrieving revision 1.61
diff -d -u -b -B -w -r1.61 Emitter.java
--- src/org/apache/axis/wsdl/fromJava/Emitter.java	29 Aug 2002 20:05:51 -0000	1.61
+++ src/org/apache/axis/wsdl/fromJava/Emitter.java	23 Sep 2002 12:43:10 -0000
@@ -1092,6 +1092,7 @@
                 def.addNamespace(namespaces.getCreatePrefix(namespaceURI),
                         namespaceURI);
             }
+            part.setTypeName(param.getTypeQName());
             part.setElementName(elemQName);
             part.setName(param.getName());
             msg.addPart(part);
Index: src/org/apache/axis/description/ServiceDesc.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/description/ServiceDesc.java,v
retrieving revision 1.58
diff -d -u -b -B -w -r1.58 ServiceDesc.java
--- src/org/apache/axis/description/ServiceDesc.java	22 Sep 2002 06:13:42 -0000	1.58
+++ src/org/apache/axis/description/ServiceDesc.java	23 Sep 2002 12:43:10 -0000
@@ -632,6 +632,7 @@
                 }
 
                 oper.setReturnClass(method.getReturnType());
+                oper.setReturnType(tm.getTypeQName(method.getReturnType()));
 
                 // At some point we might want to check here to see if this
                 // Method is already associated with another Operation, but
----------------------------------------------------------------------------

Mime
View raw message