[Registry-dev] Problems with uploading a WSDL with referenced XSD

Javier Botana javier.botana at innoq.com
Mon Jul 14 11:58:08 PDT 2008


Dear all,

I am currently in the process of evaluating the WSO2 Registry. I tried  
out the wsdl-sample and everything worked fine. When I try to upload a  
WSDL file from the local file system ("NewWSDLFile.wsdl", see  
attachment), however, the referenced XML Schema (NewWSDLFile.xsd, see  
attachment) is not imported and added as dependency. I get the  
following error message:

Failed to put resource /samples/NewWSDLFile.wsdl. All database  
operations will be rolled back. WSDLException (at /wsdl:definitions/ 
wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred  
trying to resolve schema referenced at 'NewWSDLFile.xsd', relative to  
'file:/Users/javier/Dev/tools/apache-tomcat-6.0.14/temp/ 
reg21770.bin'.: java.io.FileNotFoundException: This file was not  
found: file:/Users/javier/Dev/tools/apache-tomcat-6.0.14/temp/ 
NewWSDLFile.xsd

Test environment:

Mac OS X 10.5.4
JDK 1.5
WSO2 Registry v1.1

But even if I copy the XSD to the Tomcat temp dir or I reference it  
with an absolute URL, it is not imported.


The readme file corresponding to the sample says the following:

"It should be noted here that if you upload a WSDL file from your  
local file system, and that WSDL has imports to some other WSDL  
(relative imports) then those import will not be handled correctly by  
the registry at present."

Can I assume that there is currently no way to upload a WSDL together  
with referenced WSDL/XSD files from the local file system or do I miss  
something?


Any help would be very much appreciated!

Kind regards,

Javier





|||  Javier Botana
|||
|||  innoQ Deutschland GmbH · Halskestrasse 17 · 40880 Ratingen
|||  phone:  +49 2102 77162-100 · mobile: +49 171 3513459 · fax: +49  
2102 77160-1
|||  email: javier.botana at innoq.com · web: http://www.innoq.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wso2.org/pipermail/registry-dev/attachments/20080714/d7882b41/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewWSDLFile.wsdl
Type: application/octet-stream
Size: 1728 bytes
Desc: not available
Url : http://wso2.org/pipermail/registry-dev/attachments/20080714/d7882b41/attachment.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wso2.org/pipermail/registry-dev/attachments/20080714/d7882b41/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewWSDLFile.xsd
Type: application/octet-stream
Size: 617 bytes
Desc: not available
Url : http://wso2.org/pipermail/registry-dev/attachments/20080714/d7882b41/attachment-0001.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wso2.org/pipermail/registry-dev/attachments/20080714/d7882b41/attachment-0002.htm 


More information about the Registry-dev mailing list