You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Glen Daniels <gd...@macromedia.com> on 2003/05/02 20:56:37 UTC
RE: cvs commit: xml-axis/java/src/org/apache/axis/providers/java
RPCProvider.java
I think this is wrong for RPC-style services. The return element in such cases should be unqualified, not in the body namespace.
I'm adjusting this slightly (to check the style and only do this for non-RPC).
--Glen
> --- RPCProvider.java 22 Apr 2003 19:35:36 -0000 1.106
> +++ RPCProvider.java 2 May 2003 04:28:16 -0000 1.107
> @@ -342,7 +342,8 @@
> if (operation.getMethod().getReturnType() !=
> Void.TYPE) {
> QName returnQName = operation.getReturnQName();
> if (returnQName == null) {
> - returnQName = new QName("", methodName
> + "Return");
> + returnQName = new
> QName(body.getNamespaceURI(),
> + methodName + "Return");
> }