[
https://issues.jboss.org/browse/TEIIDDES-1160?page=com.atlassian.jira.plu...
]
Larry O'Leary commented on TEIIDDES-1160:
-----------------------------------------
This issue is due to an invalid URI being created from the file path. A URI must contain a
host name. If the path represents a local file system path instead of a UNC path, the host
name must be empty.
UNC path:
file://myhost/myfiles/mywsdl.wsdl
Local File System path:
file:///C:/myfiles/mywsdl.wsdl
Not sure how we are building this URI but we should probably leverage the JRE API to do
it.
Teiid Designer WSDL to Relational Source Model fails if the WSDL is
on a Windows filesystem
-------------------------------------------------------------------------------------------
Key: TEIIDDES-1160
URL:
https://issues.jboss.org/browse/TEIIDDES-1160
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 7.4.2
Reporter: Debbie Steigner
Assignee: Barry LaFond
Priority: Critical
Fix For: 7.6
Attachments: CountryInfoService.wsdl
In Teiid Designer (JBDS) installed on Windows, the "WSDL to Relational Source
Model" importer fails if the WSDL file is on the file system with "An error was
encountered setting up WSDl validation.: The Content Type found at file://C:\Documents and
Settings\debbie\Desktop\CountryInfoService.wsdl, content/unknown, is not valid for WSDL.
Expecting text/xml or application/xml.
com.metamatrix.modeler.modelgenerator.wsdl.validation.WSDLValidationException
0:0 - The WSDL document file://C:\Documents and
Settings\debbie\Desktop\CountryInfoService.wsdl could not be read."
If you run the import with the URL:
http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
it succeeds. If you run it on a Linux JBDS from the filesystem it succeeds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira