Author: alessio.soldano(a)jboss.com
Date: 2011-11-18 07:11:00 -0500 (Fri, 18 Nov 2011)
New Revision: 15324
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java
Log:
[JBWS-3387] pass jaxrpc integration classloader to JBossWSEntityResolver
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java 2011-11-17
15:51:23 UTC (rev 15323)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxrpc/binding/jbossxb/SchemaBindingBuilder.java 2011-11-18
12:11:00 UTC (rev 15324)
@@ -44,6 +44,7 @@
import org.jboss.ws.metadata.jaxrpcmapping.JavaXmlTypeMapping;
import org.jboss.ws.metadata.jaxrpcmapping.PackageMapping;
import org.jboss.ws.metadata.jaxrpcmapping.VariableMapping;
+import org.jboss.wsf.spi.classloading.ClassLoaderProvider;
import org.jboss.xb.binding.metadata.ClassMetaData;
import org.jboss.xb.binding.metadata.PackageMetaData;
import org.jboss.xb.binding.metadata.PropertyMetaData;
@@ -86,7 +87,7 @@
*/
public SchemaBinding buildSchemaBinding(XSModel model, JavaWsdlMapping wsdlMapping)
{
- JBossEntityResolver resolver = new JBossWSEntityResolver();
+ JBossEntityResolver resolver = new
JBossWSEntityResolver(ClassLoaderProvider.getDefaultProvider().getServerJAXRPCIntegrationClassLoader());
SchemaBinding schemaBinding = XsdBinder.bind(model, new
DefaultSchemaResolver(resolver));
schemaBinding.setIgnoreLowLine(false);
Show replies by date