[jboss-jira] [JBoss JIRA] Commented: (BPEL-314) cannot use xsd files inside a wsdl partnerLink for bpel process

Hapca Horatiu (JIRA) jira-events at lists.jboss.org
Tue Apr 27 09:38:11 EDT 2010


    [ https://jira.jboss.org/jira/browse/BPEL-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12527699#action_12527699 ] 

Hapca Horatiu commented on BPEL-314:
------------------------------------

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


> cannot use xsd files inside a wsdl partnerLink for bpel process
> ---------------------------------------------------------------
>
>                 Key: BPEL-314
>                 URL: https://jira.jboss.org/jira/browse/BPEL-314
>             Project: jBPM BPEL
>          Issue Type: Support Patch
>      Security Level: Public(Everyone can see) 
>          Components: Engine
>            Reporter: Hapca Horatiu
>            Assignee: Alejandro Guizar
>
> 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>
> Thank you in advance.
> Regards,
> Horatiu

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list