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 ro...@apache.org on 2007/09/12 21:04:31 UTC

svn commit: r575043 - /webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java

Author: rott
Date: Wed Sep 12 12:04:30 2007
New Revision: 575043

URL: http://svn.apache.org/viewvc?rev=575043&view=rev
Log:
contributor:  Roy Wood.  When looking at the default action pattern on the server side, it is using an incorrect value for the PortType name within the action pattern string. It is using the impl class name when it should be grabbing the PortType name from the SEI class. This fix will resolve that problem

Modified:
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java?rev=575043&r1=575042&r2=575043&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/OperationDescriptionImpl.java Wed Sep 12 12:04:30 2007
@@ -284,7 +284,7 @@
         
         String messageExchangePattern = newAxisOperation.getMessageExchangePattern();
         String targetNS = getEndpointInterfaceDescriptionImpl().getTargetNamespace();        
-        String portTypeName = getEndpointInterfaceDescriptionImpl().getEndpointDescriptionImpl().getName();
+        String portTypeName = getEndpointInterfaceDescriptionImpl().getPortType().getLocalPart();
         ArrayList inputActions = new ArrayList();
          
         //We don't have a name at this point, shouldn't matter if we have the MEP
@@ -399,7 +399,7 @@
         
         String messageExchangePattern = newAxisOperation.getMessageExchangePattern();
         String targetNS = getEndpointInterfaceDescriptionImpl().getTargetNamespace();        
-        String portTypeName = getEndpointInterfaceDescriptionImpl().getEndpointDescriptionImpl().getName();
+        String portTypeName = getEndpointInterfaceDescriptionImpl().getPortType().getLocalPart();
         ArrayList inputActions = new ArrayList();
          
         //We don't have a name at this point, shouldn't matter if we have the MEP



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org