This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 166736 - external schema import from file system failing in WSDL
Summary: external schema import from file system failing in WSDL
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker with 1 vote (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-08 19:26 UTC by jbaragry
Modified: 2016-07-07 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jbaragry 2009-06-08 19:26:36 UTC
GlassfishESBv2.1 is having a problem with projects that use "external schema document" from the filesystem.

- import an external schema document into an ejb project
- create a WSDL file using those imported schema documents.

the wsdl file creates import statement using "file:/..." URIs.

- create a new "webservice from wsdl" using this wsdl file.

- If you include the EJB in a Composite Application project, the project fails to deploy because it can't find the
referenced XSD files.

error occurs on Mac, OpenSolaris, and Windows
testing on GlassfishESB v2.1 RC.

A workaround exist to either:
- import the XSDs manually into the project (don't use the "new external schema document" wizard)
or
- remove the "file:/ URI references in the WSDL and catalog.xml and replace with filenames - e.g., "myXSD.xsd" - instead
Comment 1 Martin Balin 2016-07-07 09:56:57 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss