axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damr...@apache.org
Subject svn commit: r635554 - /webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
Date Mon, 10 Mar 2008 13:43:00 GMT
Author: damrhei
Date: Mon Mar 10 06:42:59 2008
New Revision: 635554

URL: http://svn.apache.org/viewvc?rev=635554&view=rev
Log:
Only create WSDL URL in ServiceDescriptionImpl if one was not supplied on DBC instance.

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

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java?rev=635554&r1=635553&r2=635554&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/ServiceDescriptionImpl.java
Mon Mar 10 06:42:59 2008
@@ -689,7 +689,12 @@
                                 log.debug("new WSDL4JWrapper-ConfigContext null1"); 
                             }
                         }
-                        this.wsdlWrapper = new WSDL4JWrapper(new URL(this.wsdlURL),
+                        
+                        // only create a URL instance if one was not supplied on the DBC
+                        if(url == null) {
+                            url = new URL(this.wsdlURL);
+                        }
+                        this.wsdlWrapper = new WSDL4JWrapper(url,
                                                              composite.getWsdlDefinition(),

                                                              configContext,
                                                              this.catalogManager);



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


Mime
View raw message