File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
axis-rt-core/src/main/java/org/apache/axis/client Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public static Service getService(Map environment)
112112 if (context != null ) {
113113 String name = (String )environment .get ("jndiName" );
114114
115- if (name !=null && (name .toUpperCase ().indexOf ("LDAP" )!=-1 || name .toUpperCase ().indexOf ("RMI" )!=-1 || name .toUpperCase ().indexOf ("JMS" )!=-1 || name .toUpperCase ().indexOf ("JMX" )!=-1 ) || name .toUpperCase ().indexOf ("JRMP" )!=-1 || name .toUpperCase ().indexOf ("JAVA" )!=-1 || name .toUpperCase ().indexOf ("DNS" )!=-1 || name .toUpperCase ().indexOf ("IIOP" )!=-1 || name .toUpperCase ().indexOf ("CORBANAME" )!=-1 ) {
115+ if (name !=null && (name .toUpperCase ().indexOf ("LDAP" )!=-1 || name .toUpperCase ().indexOf ("RMI" )!=-1 || name .toUpperCase ().indexOf ("JMS" )!=-1 || name .toUpperCase ().indexOf ("JMX" )!=-1 || name .toUpperCase ().indexOf ("JRMP" )!=-1 || name .toUpperCase ().indexOf ("JAVA" )!=-1 || name .toUpperCase ().indexOf ("DNS" )!=-1 || name .toUpperCase ().indexOf ("IIOP" )!=-1 || name .toUpperCase ().indexOf ("CORBANAME" )!=-1 ) ) {
116116 log .warn ("returning null, jndiName received by ServiceFactory.getService() is not supported by this method: " + name );
117117 return null ;
118118 }
You can’t perform that action at this time.
0 commit comments