Details
-
Bug
-
Resolution: Won't Do
-
Major
-
2.0.0.Final
-
None
Description
I have the problem that I'm using an wsdl that uses the schema in the XSD files, and also the types described there...the eclipse compile fine the application but when i try to deploy it into Jboss -5.1.0.GA with the latest native-bin-dist-3.2.2.GA+jbossesb-4.8+riftsaw-2.0.0.FINAL it cannot get e the types from the xsd files.
The xsd files are located in the bpelContent directory toghether with the WSDL file and with bpel process.
Should they be located somewhere else?
The problem appear at the deployment ...cannot bee founded in the tmp file (also located int the bpelContent directory near the bpelProcess)
Maybe you can suggest me some special location for the XSD files or maybe to reffer them using the entire path, now they are included with the current directory location:
(in WSDL file)
<wsdl:types>
<xsd:schema>
<xsd:import namespace="http://saas.siemens.com/Provisioning/xsd" schemaLocation="SaaS_Provisioning.xsd"/>
</xsd:schema>
</wsdl:types>
I get the following error in the Jboss console...maybe you can give me a hint:
Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve sche
ma referenced at 'SaaS_Provisioning.xsd', relative to 'file:/D:/JAVA/Programs/jboss-5.1.0.GA/server/default/tmp/5c4odd-wlfiam-g8ir8fej-1-g8ircupu-cc/DeleteUser-
1.jar/DeleteUser.wsdl'.: java.net.UnknownServiceException: no content-type
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.jboss.soa.bpel.runtime.engine.ode.JAXWSBindingContext.findWSDLFile(JAXWSBindingContext.java:144)
... 14 more
Caused by: java.net.UnknownServiceException: no content-type
at java.net.URLConnection.getContentHandler(URLConnection.java:1167)
at java.net.URLConnection.getContent(URLConnection.java:683)
at java.net.URL.getContent(URL.java:1021)
at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
... 24 more
[ Show ยป ]
Iget the following error in the Jboss console...maybe you can give me a hint: Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve sche ma referenced at 'SaaS_Provisioning.xsd', relative to 'file:/D:/JAVA/Programs/jboss-5.1.0.GA/server/default/tmp/5c4odd-wlfiam-g8ir8fej-1-g8ircupu-cc/DeleteUser- 1.jar/DeleteUser.wsdl'.: java.net.UnknownServiceException: no content-type at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at org.jboss.soa.bpel.runtime.engine.ode.JAXWSBindingContext.findWSDLFile(JAXWSBindingContext.java:144) ... 14 more Caused by: java.net.UnknownServiceException: no content-type at java.net.URLConnection.getContentHandler(URLConnection.java:1167) at java.net.URLConnection.getContent(URLConnection.java:683) at java.net.URL.getContent(URL.java:1021) at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source) ... 24 more
Thank you in advance.
Regards,
Horatiu