Author: richard.opalka(a)jboss.com
Date: 2010-03-08 15:42:04 -0500 (Mon, 08 Mar 2010)
New Revision: 11733
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java
Log:
[JBWS-2954] register JBossWS entity resolver with WSConsume
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java 2010-03-08
20:25:50 UTC (rev 11732)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java 2010-03-08
20:42:04 UTC (rev 11733)
@@ -23,6 +23,7 @@
import com.sun.tools.ws.wscompile.WsimportTool;
+import org.jboss.ws.core.utils.JBossWSEntityResolver;
import org.jboss.ws.tools.io.NullPrintStream;
import org.jboss.wsf.spi.tools.WSContractConsumer;
@@ -229,6 +230,7 @@
try
{
WsimportTool compileTool = new WsimportTool(stream);
+ compileTool.setEntityResolver(new JBossWSEntityResolver());
boolean success = compileTool.run(args.toArray(new String[args.size()]));
if (!success)