You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Adriana Verdejo <ad...@gmail.com> on 2008/07/07 12:59:17 UTC
Using SCA-based web services
Hi,
I use this code (SCADomain scaDomain =
SCADomain.newInstance("META-INF/sca-deployables/Information.composite"); )
for generating the wsdl of my web service. The wsdl is generated and
published in a url but when I try to test the web service I get this
message:
IWAB0380E Errors were encountered while validating XML schemas.
XSD: Type reference
'http://exceptions.information.myproject.eu/xsd#ServiceNotFoundException' is
unresolved
XSD: Type reference
'http://information.information.myproject.eu/xsd#Service' is unresolved
XSD: Type reference 'http://util.java/xsd#Map' is unresolved
XSD: Type reference 'http://information.information.myproject.eu#Exception'
is unresolved
IWAB0381I <http://localhost:9082/Information?wsdl>
http://localhost:9082/Information?wsdl was successfully opened.
The Information interface has input and output parameters which are complex
types (Map, Service...) and throws exceptions.
The message says that these type references are unresolved. How should I
give the XSD in order to avoid this error? How should I edit the wsdl?
Thanks and regards,
Adriana
Re: Using SCA-based web services
Posted by Raymond Feng <en...@gmail.com>.
Which version of the Tuscany are you using? We have done quite a few improvements in the coming 1.3 release. Please watch the tuscany dev list for the release canidates.
Thanks,
Raymond
From: Adriana Verdejo
Sent: Monday, July 07, 2008 3:59 AM
To: user@tuscany.apache.org
Subject: Using SCA-based web services
Hi,
I use this code (SCADomain scaDomain = SCADomain.newInstance("META-INF/sca-deployables/Information.composite"); ) for generating the wsdl of my web service. The wsdl is generated and published in a url but when I try to test the web service I get this message:
IWAB0380E Errors were encountered while validating XML schemas.
XSD: Type reference 'http://exceptions.information.myproject.eu/xsd#ServiceNotFoundException' is unresolved
XSD: Type reference 'http://information.information.myproject.eu/xsd#Service' is unresolved
XSD: Type reference 'http://util.java/xsd#Map' is unresolved
XSD: Type reference 'http://information.information.myproject.eu#Exception' is unresolved
IWAB0381I http://localhost:9082/Information?wsdl was successfully opened.The Information interface has input and output parameters which are complex types (Map, Service...) and throws exceptions. The message says that these type references are unresolved. How should I give the XSD in order to avoid this error? How should I edit the wsdl?
Thanks and regards,
Adriana