[jboss-svn-commits] JBL Code SVN: r26034 - labs/jbossesb/workspace/dbevenius/jbossas5/product/rosetta/src/org/jboss/soa/esb/listeners/deployers/mc.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Apr 15 06:39:54 EDT 2009
Author: beve
Date: 2009-04-15 06:39:54 -0400 (Wed, 15 Apr 2009)
New Revision: 26034
Modified:
labs/jbossesb/workspace/dbevenius/jbossas5/product/rosetta/src/org/jboss/soa/esb/listeners/deployers/mc/EsbWsdlDeployer.java
Log:
Got the ws to deploy by modifying the WS deployers code.
Modified: labs/jbossesb/workspace/dbevenius/jbossas5/product/rosetta/src/org/jboss/soa/esb/listeners/deployers/mc/EsbWsdlDeployer.java
===================================================================
--- labs/jbossesb/workspace/dbevenius/jbossas5/product/rosetta/src/org/jboss/soa/esb/listeners/deployers/mc/EsbWsdlDeployer.java 2009-04-15 06:14:43 UTC (rev 26033)
+++ labs/jbossesb/workspace/dbevenius/jbossas5/product/rosetta/src/org/jboss/soa/esb/listeners/deployers/mc/EsbWsdlDeployer.java 2009-04-15 10:39:54 UTC (rev 26034)
@@ -32,6 +32,7 @@
import org.jboss.internal.soa.esb.webservice.ESBServiceEndpointInfo;
import org.jboss.soa.esb.listeners.config.WebserviceInfo;
import org.jboss.virtual.MemoryFileFactory;
+import org.jboss.virtual.VFS;
import org.jboss.virtual.VirtualFile;
import org.jboss.ws.metadata.umdm.UnifiedMetaData;
@@ -80,7 +81,7 @@
try
{
URL dynamicClassRoot = new URL("vfsmemory", esbMetaData.getDeploymentName() + "_WSDL", "");
- MemoryFileFactory.createRoot(dynamicClassRoot);
+ VFS dynamicRoot = MemoryFileFactory.createRoot(dynamicClassRoot);
for (WebserviceInfo webserviceInfo : endpointServices)
{
@@ -93,7 +94,7 @@
// As far as I can tell it Does not matter what location is used. The WS deployer will not use the
// metadata location when searching for the wsdl file.
// We might need to set the wsdlLocation to a different one when generating the WS impl.
- deploymentUnit.appendMetaDataLocation(wsdlFile.getParent());
+ deploymentUnit.appendMetaDataLocation(dynamicRoot.getRoot());
}
}
catch (final Exception e)
More information about the jboss-svn-commits
mailing list