geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r159341 - geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisBuilder.java
Date Tue, 29 Mar 2005 02:12:54 GMT
Author: djencks
Date: Mon Mar 28 18:12:52 2005
New Revision: 159341

URL: http://svn.apache.org/viewcvs?view=rev&rev=159341
Log:
there's a faint chance someone, sometime, somewhere will deploy a ws client with the wsdl
pointing to the actual location of the ws, and no security required.  In this unlikely scenario,
avoid an NPE

Modified:
    geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisBuilder.java

Modified: geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisBuilder.java?view=diff&r1=159340&r2=159341
==============================================================================
--- geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisBuilder.java
(original)
+++ geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisBuilder.java
Mon Mar 28 18:12:52 2005
@@ -252,7 +252,7 @@
 
             ServiceEndpointInterfaceMappingType[] endpointMappings = mapping.getServiceEndpointInterfaceMappingArray();
 
-            String credentialsName = (String) credentialsNameMap.get(port.getName());
+            String credentialsName = credentialsNameMap == null? null: (String) credentialsNameMap.get(port.getName());
 
             //port type corresponds to SEI
             List operations = portType.getOperations();



Mime
View raw message