You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by du...@apache.org on 2001/04/22 03:01:03 UTC
cvs commit: xml-soap/java/src/org/apache/soap/rpc RPCMessage.java
dug 01/04/21 18:01:03
Modified: java/src/org/apache/soap/rpc RPCMessage.java
Log:
Reponse element names do not *have* to end in Response.
Revision Changes Path
1.14 +6 -5 xml-soap/java/src/org/apache/soap/rpc/RPCMessage.java
Index: RPCMessage.java
===================================================================
RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/rpc/RPCMessage.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- RPCMessage.java 2001/03/19 06:20:51 1.13
+++ RPCMessage.java 2001/04/22 01:01:02 1.14
@@ -403,11 +403,12 @@
// Strip "Response" from end of tagName to derive methodName.
methodName = tagName.substring(0, tagName.length() - 8);
} else {
- throw new IllegalArgumentException("Element name '" +
- tagName +
- "' must end with '" +
- RPCConstants.RESPONSE_SUFFIX +
- "'.");
+ methodName = tagName;
+ // throw new IllegalArgumentException("Element name '" +
+ // tagName +
+ // "' must end with '" +
+ // RPCConstants.RESPONSE_SUFFIX +
+ // "'.");
}
} else {
methodName = tagName;