axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r524203 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/context/utils/ContextUtils.java
Date Fri, 30 Mar 2007 17:45:29 GMT
Author: dims
Date: Fri Mar 30 10:45:28 2007
New Revision: 524203

URL: http://svn.apache.org/viewvc?view=rev&rev=524203
Log:
No need to call the same method twice.

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/context/utils/ContextUtils.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/context/utils/ContextUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/context/utils/ContextUtils.java?view=diff&rev=524203&r1=524202&r2=524203
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/context/utils/ContextUtils.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/context/utils/ContextUtils.java
Fri Mar 30 10:45:28 2007
@@ -62,10 +62,11 @@
         Map props = axisMsgContext.getOptions().getProperties();
         soapMessageContext.putAll(props);
 
-        if (jaxwsMessageContext.getEndpointDescription()!=null) {
+        EndpointDescription description = jaxwsMessageContext.getEndpointDescription();
+        if (description !=null) {
             // Set the WSDL properties
             ServiceDescription sd =
-                    jaxwsMessageContext.getEndpointDescription().getServiceDescription();
+                    description.getServiceDescription();
             if (sd != null) {
                 URL wsdlLocation = ((ServiceDescriptionWSDL)sd).getWSDLLocation();
                 if (wsdlLocation != null && !"".equals(wsdlLocation)) {



---------------------------------------------------------------------
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