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 am...@apache.org on 2007/04/01 17:18:15 UTC

svn commit: r524613 - /webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/description/AxisService.java

Author: amilas
Date: Sun Apr  1 08:18:14 2007
New Revision: 524613

URL: http://svn.apache.org/viewvc?view=rev&rev=524613
Log:
set the End point address correctly

Modified:
    webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/description/AxisService.java

Modified: webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/description/AxisService.java?view=diff&rev=524613&r1=524612&r2=524613
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/description/AxisService.java (original)
+++ webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/description/AxisService.java Sun Apr  1 08:18:14 2007
@@ -1526,9 +1526,9 @@
                 new WSDL11ToAxisServiceBuilder(wsdlDefinition, wsdlServiceName, portName);
         serviceBuilder.setServerSide(false);
         AxisService axisService = serviceBuilder.populateService();
-        options.setTo(new EndpointReference(axisService.getEndpointName()));
         AxisEndpoint axisEndpoint = (AxisEndpoint) axisService.getEndpoints()
                 .get(axisService.getEndpointName());
+        options.setTo(new EndpointReference(axisEndpoint.getEndpointURL()));
         if (axisEndpoint != null) {
             options.setSoapVersionURI((String) axisEndpoint.getBinding()
                     .getProperty(WSDL2Constants.ATTR_WSOAP_VERSION));



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