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 di...@apache.org on 2003/10/08 14:56:31 UTC
cvs commit: ws-axis/java/src/org/apache/axis/message RPCElement.java
dims 2003/10/08 05:56:31
Modified: java/src/org/apache/axis/message RPCElement.java
Log:
Fix for Bug 23664 - deserialization fails on client side for DOC/LITERAL complex types
from steve@maring.org (Steve Maring)
Revision Changes Path
1.89 +5 -3 ws-axis/java/src/org/apache/axis/message/RPCElement.java
Index: RPCElement.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/RPCElement.java,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- RPCElement.java 22 Apr 2003 19:35:15 -0000 1.88
+++ RPCElement.java 8 Oct 2003 12:56:31 -0000 1.89
@@ -220,9 +220,11 @@
// If no operation name and more than one
// parameter is expected, don't
// wrap the rpcHandler in an EnvelopeHandler.
- if ((operation.getStyle() == Style.DOCUMENT) &&
- operation.getNumInParams() > 0) {
- context.pushElementHandler(rpcHandler);
+ if ( ( msgContext.isClient() &&
+ operation.getStyle() == Style.DOCUMENT ) ||
+ ( !msgContext.isClient() &&
+ operation.getStyle() == Style.DOCUMENT &&
+ operation.getNumInParams() > 0 ) ) { context.pushElementHandler(rpcHandler);
context.setCurElement(null);
} else {
context.pushElementHandler(