gdaniels 02/03/11 06:25:59
Modified: java/src/org/apache/axis/message RPCHandler.java
Log:
Use the full QName of the XML we're deserializing when doing parameter name lookups.
Revision Changes Path
1.29 +2 -1 xml-axis/java/src/org/apache/axis/message/RPCHandler.java
Index: RPCHandler.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/RPCHandler.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- RPCHandler.java 22 Feb 2002 23:39:46 -0000 1.28
+++ RPCHandler.java 11 Mar 2002 14:25:59 -0000 1.29
@@ -157,7 +157,8 @@
Call c = (Call) msgContext.getProperty( MessageContext.CALL );
if ( c != null ) {
// First look for this param by name
- type = c.getParameterTypeByName(localName);
+ QName qname = new QName(namespace, localName);
+ type = c.getParameterTypeByQName(qname);
// If we can't find it by name then assume it must
// be the return type - is this correct/safe????