owenb 2002/09/25 07:23:46
Modified: java/src/org/apache/wsif/providers/soap/apacheaxis
WSIFPort_ApacheAxis.java
Log:
Add ':' onto the operation name when attempting to find a matching operation in
getDynamicWSIFOperation method
using the operation name only. This prevents two operations with the same characters
at the start of the name from
being considered duplicates when the input and output names provided to the method
are null.
Revision Changes Path
1.10 +1 -1
xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFPort_ApacheAxis.java
Index: WSIFPort_ApacheAxis.java
===================================================================
RCS file:
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFPort_ApacheAxis.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- WSIFPort_ApacheAxis.java 27 Aug 2002 10:24:08 -0000 1.9
+++ WSIFPort_ApacheAxis.java 25 Sep 2002 14:23:46 -0000 1.10
@@ -400,7 +400,7 @@
while (i.hasNext()) {
String key = (String) i.next();
if ((outputName != null && key.endsWith(outputName)) ||
outputName == null) {
- String start = (inputName == null) ? name : name + ":" +
inputName;
+ String start = (inputName == null) ? name + ":" : name +
":" + inputName;
if (key.startsWith(start)) {
if (operation != null) {
// Duplicate operation found based on names!