-
1. Re: Unknown class type javax.xml.transform.stax.StAXSource
shawkins Jun 4, 2014 8:12 AM (in response to sarin_ashish)It looks like the JRE ws implementation does not implement a StAXSource Dispatch. We are effectively expecting CXF to be used instead. Are the CXF jars in the embedded classpath?
-
2. Re: Unknown class type javax.xml.transform.stax.StAXSource
sarin_ashish Jun 4, 2014 8:46 AM (in response to shawkins)I have the following JAR files in the classpath of my application:
cxf-api-2.6.6.jar
cxf-rt-bindings-xml-2.6.6.jar
cxf-rt-core-2.6.6.jar
cxf-rt-frontend-jaxrs-2.6.8.jar
-
3. Re: Unknown class type javax.xml.transform.stax.StAXSource
shawkins Jun 4, 2014 10:45 AM (in response to sarin_ashish)Yes, I see that we are missing a dependency on cxf-bundle, which adds the provider. We may have a couple of other cleanups as well. I'll take a look and log an issue.
-
4. Re: Unknown class type javax.xml.transform.stax.StAXSource
sarin_ashish Jun 4, 2014 11:03 AM (in response to shawkins)Thanks Steven. After adding the missing JAR files I'm able to get the web service VDB working in embedded mode. The missing JAR files are:
cxf-bundle-2.6.6.jar, neethi-3.0.3.jar, XmlSchema-1.4.7.jar
regards
ashish
-
5. Re: Unknown class type javax.xml.transform.stax.StAXSource
shawkins Jun 4, 2014 1:30 PM (in response to sarin_ashish)In a local scenario I didn't see an immediate need for other dependencies beyond the bundle jar. Are you using ws-policy to require neethi or were these needed under a simple scenario?
-
6. Re: Unknown class type javax.xml.transform.stax.StAXSource
sarin_ashish Jun 4, 2014 1:47 PM (in response to shawkins)These dependencies were required even in a simple scenario wherein I was trying to access the following SOAP web service : http://www.w3schools.com/webservices/tempconvert.asmx?wsdl
regards
ashish
-
7. Re: Unknown class type javax.xml.transform.stax.StAXSource
shawkins Jun 5, 2014 11:43 AM (in response to sarin_ashish)Yes, I also see that with cxf 2.6.8 woodstox 4.2 is required, so I'll add that too. [TEIID-2986] issues with embedded - JBoss Issue Tracker will track these changes.