I have the same problem. jsr181 component can't find xsd, that imported in wsdl, with the same exception. Did you solved this problem?
Thanks in advance for any help. krhansen wrote: > > Hi Anders, > > Thanks for the advice; I still can't make it work, though. > > The WSDL file and the XSD-files are all in the root of the zip file > deployed, so I included . and / in the classpath like this > > <classpath> > <location>.</location> > <location>/</location> > </classpath> > > When I deploy on servicemix, I get this error. > > WARN - WSDL1Processor - Error retrieving interfaces from > service description: WSDLException (at > /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error > occurred trying to resolve schema referenced at 'user.xsd'.: This file was > not found: file:/C:/apache-servicemix-3.1-incubating-SNAPSHOT/user.xsd > > Any ideas are welcome. > > Kind regards > > Kristian > > Anders Hammar wrote: >> >> I think what you're missing is defining the location of you jars in the >> classpath. You do this in the classpath section of your xbeans.xml file. >> This is explain in the Deployment section here: >> http://servicemix.goopen.org/site/servicemix-jsr181.html >> >> /Anders >> >> >> krhansen wrote: >>> >>> I’m trying to deploy a JSR-181 web service. The schemas for the WSDL are >>> in separate files, included with <xsd:include>. The included xsd-files >>> are in the jar-file in the same folder as the wsdl-file itself, but when >>> deployed, Servicemix cannot find the included files. >>> >>> Can anyone tell me, where Servicemix searches for these files, and how >>> to make it look inside the jar file of the service? >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/WSDL-with-included-xsd-files-tp8529111p23499545.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
