Can't import XSD from WSDL

View: New views
4 Messages — Rating Filter:   Alert me  

Can't import XSD from WSDL

by Rudy Commenge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have deployed a BPEL Process (on soap-bc-component and orchestra-se-component) composed by :
 - process.bpel
 - process.wsdl
 - schema.xsd

In the wsdl, I import xsd with :

"<xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/test2">
   <xsd:import namespace="http://xml.netbeans.org/schema/test1" schemaLocation="schema.xsd"/>
</xsd:schema>"

But when I try to use the WSDL in a SOAP Client (e.g. SoapUI), I have this error in my client :
"Failed to load url [http://10.0.4.3:8084/petals/services/schema.xsd]
Loading of definition failed for [http://10.0.4.3:8084/petals/services/processWF?wsdl]; org.apache.xmlbeans.XmlException: error: Unexpected end of file after null"

Do you know this problem with XSD ?


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Can't import XSD from WSDL

by Jérémie Doucy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just remove the xsd import line in your bpel file. If your imported wsdl already import it, it should work.
In fact orchestra did not support xsd importing for the moment (I thought).
--
Jérémie Doucy
Information Processing, Control and Cognition (IPCC)
EADS Defence and Security Systems
http://weblab-project.org


2009/5/26 Rudy Commenge <rudyow2@...>
Hello,

I have deployed a BPEL Process (on soap-bc-component and orchestra-se-component) composed by :
 - process.bpel
 - process.wsdl
 - schema.xsd

In the wsdl, I import xsd with :

"<xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/test2">
   <xsd:import namespace="http://xml.netbeans.org/schema/test1" schemaLocation="schema.xsd"/>
</xsd:schema>"

But when I try to use the WSDL in a SOAP Client (e.g. SoapUI), I have this error in my client :
"Failed to load url [http://10.0.4.3:8084/petals/services/schema.xsd]
Loading of definition failed for [http://10.0.4.3:8084/petals/services/processWF?wsdl]; org.apache.xmlbeans.XmlException: error: Unexpected end of file after null"

Do you know this problem with XSD ?


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Can't import XSD from WSDL

by Rudy Commenge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have not xsd import line in my bpel file.
Only the WSDL import the XSD.


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Can't import XSD from WSDL

by Rudy Commenge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have solved the problem writing the content of my XSD in the WSDL


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws