geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r158699 - geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/GeronimoAxisClient.java
Date Wed, 23 Mar 2005 00:19:48 GMT
Author: chirino
Date: Tue Mar 22 16:19:47 2005
New Revision: 158699

URL: http://svn.apache.org/viewcvs?view=rev&rev=158699
Log:
Return null handler chain if port has not been provided.  Port may not be given if client
is manually building the service Call object.

Modified:
    geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/GeronimoAxisClient.java

Modified: geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/GeronimoAxisClient.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/GeronimoAxisClient.java?view=diff&r1=158698&r2=158699
==============================================================================
--- geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/GeronimoAxisClient.java
(original)
+++ geronimo/trunk/modules/axis/src/java/org/apache/geronimo/axis/client/GeronimoAxisClient.java
Tue Mar 22 16:19:47 2005
@@ -17,14 +17,14 @@
 package org.apache.geronimo.axis.client;
 
 import java.util.Map;
+
 import javax.xml.namespace.QName;
 import javax.xml.rpc.handler.HandlerChain;
 
-import org.apache.axis.MessageContext;
 import org.apache.axis.EngineConfiguration;
+import org.apache.axis.MessageContext;
 import org.apache.axis.client.AxisClient;
 import org.apache.axis.client.Call;
-import org.apache.axis.handlers.HandlerInfoChainFactory;
 
 /**
  * @version $Rev:  $ $Date:  $
@@ -42,7 +42,7 @@
 
         QName portQName = (QName) context.getProperty(Call.WSDL_PORT_NAME);
         if(portQName == null) {
-            throw new RuntimeException("No port name supplied");
+            return null;
         }
         String portName = portQName.getLocalPart();
 



Mime
View raw message