Author: thomas.diesler(a)jboss.com
Date: 2007-03-08 06:06:49 -0500 (Thu, 08 Mar 2007)
New Revision: 2547
Modified:
trunk/jbossws-core/src/java/org/jboss/ws/core/jaxrpc/client/ServiceReferenceable.java
Log:
Fix security config handling
Modified:
trunk/jbossws-core/src/java/org/jboss/ws/core/jaxrpc/client/ServiceReferenceable.java
===================================================================
---
trunk/jbossws-core/src/java/org/jboss/ws/core/jaxrpc/client/ServiceReferenceable.java 2007-03-07
16:02:15 UTC (rev 2546)
+++
trunk/jbossws-core/src/java/org/jboss/ws/core/jaxrpc/client/ServiceReferenceable.java 2007-03-08
11:06:49 UTC (rev 2547)
@@ -162,7 +162,8 @@
URL securityConfigURL = null;
try
{
- vfsRoot.findChild("WEB-INF/" +
WSSecurityOMFactory.CLIENT_RESOURCE_NAME);
+ UnifiedVirtualFile vfConfig = vfsRoot.findChild("WEB-INF/" +
WSSecurityOMFactory.CLIENT_RESOURCE_NAME);
+ securityConfigURL = vfConfig.toURL();
}
catch (IOException ex)
{
@@ -170,7 +171,8 @@
}
try
{
- vfsRoot.findChild("META-INF/" +
WSSecurityOMFactory.CLIENT_RESOURCE_NAME);
+ UnifiedVirtualFile vfConfig = vfsRoot.findChild("META-INF/" +
WSSecurityOMFactory.CLIENT_RESOURCE_NAME);
+ securityConfigURL = vfConfig.toURL();
}
catch (IOException ex)
{