tomj 02/04/10 10:00:44
Modified: java/src/org/apache/axis/message RPCElement.java
Log:
Fix problem when a client-config.wsdd file is present.
Always check operation in the message content, not just when you
don't have a service description. When config file is present, you get a
service description.
Revision Changes Path
1.50 +6 -3 xml-axis/java/src/org/apache/axis/message/RPCElement.java
Index: RPCElement.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/RPCElement.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- RPCElement.java 9 Apr 2002 23:56:34 -0000 1.49
+++ RPCElement.java 10 Apr 2002 17:00:44 -0000 1.50
@@ -176,9 +176,12 @@
String lc = Utils.xmlNameToJava(name);
operations = serviceDesc.getOperationsByName(lc);
}
- } else {
- // if we don't have a service (i.e. for client side), the operation
- // may already be set in the message context.
+ }
+
+ // if we don't have a service that has the operations,
+ // (i.e. for client side), the operation
+ // may already be set in the message context.
+ if (operations == null) {
OperationDesc oper = msgContext.getOperation();
if (oper != null) {
operations = new OperationDesc [] { oper };