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 di...@apache.org on 2007/03/30 19:45:29 UTC

svn commit: r524203 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/context/utils/ContextUtils.java

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