You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by is...@apache.org on 2011/04/06 14:50:08 UTC

svn commit: r1089432 - /axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java

Author: isurues
Date: Wed Apr  6 12:50:08 2011
New Revision: 1089432

URL: http://svn.apache.org/viewvc?rev=1089432&view=rev
Log:
When the AxisService for a JAXWS service is created from the generated WSDL, the endpoint URL is always set to 'REPLACE_WITH_ACTUAL_URL' by the wsgen tool. When generating WSDL 2.0 for this AxisService, AxisService2WSDL20 doesn't calculate the proper value if there is an existing value for the Endpoint URL. Therefore, setting it to null. Proper values will be calculated when the WSDLs are generated..

Modified:
    axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java

Modified: axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java?rev=1089432&r1=1089431&r2=1089432&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java (original)
+++ axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java Wed Apr  6 12:50:08 2011
@@ -1071,6 +1071,7 @@ public class EndpointDescriptionImpl
             // from wsgen. Set the transport for that endpoint as http by default.
             for (AxisEndpoint axisEndpoint : axisService.getEndpoints().values()) {
                 axisEndpoint.setTransportInDescription("http");
+                axisEndpoint.setEndpointURL(null);
             }
 
         } catch (AxisFault e) {