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 ch...@apache.org on 2005/07/05 06:41:12 UTC

svn commit: r209215 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java

Author: chathura
Date: Mon Jul  4 21:41:11 2005
New Revision: 209215

URL: http://svn.apache.org/viewcvs?rev=209215&view=rev
Log:
A Fix in the getOperationbySOAPAction to get the default endpoint correctly.

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java?rev=209215&r1=209214&r2=209215&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java Mon Jul  4 21:41:11 2005
@@ -449,7 +449,7 @@
     public OperationDescription getOperationBySOAPAction(String soapAction){
         Iterator iterator = this.getEndpoints().keySet().iterator();
         if(iterator.hasNext()){
-            WSDLEndpoint endpoint = (WSDLEndpoint)iterator.next();
+            WSDLEndpoint endpoint = (WSDLEndpoint)this.getEndpoints().get(iterator.next());
             return this.getOperationBySOAPAction(soapAction, endpoint.getName());
         }