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 122505 - wsimport fails on wsdl importing other files
Summary: wsimport fails on wsdl importing other files
Status: RESOLVED DUPLICATE of bug 124629
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Roderico Cruz
URL:
Keywords:
Depends on: 124629
Blocks:
  Show dependency tree
 
Reported: 2007-11-21 13:47 UTC by davidegesino
Modified: 2008-01-22 19:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
mtosi 1.1 WSDL specification (148.70 KB, text/plain)
2007-11-21 13:49 UTC, davidegesino
Details
generation log (1.49 KB, text/plain)
2007-11-21 13:51 UTC, davidegesino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davidegesino 2007-11-21 13:47:50 UTC
I have used netbeans wizard to create java artifacts from WSDL using the mtosi 1.1 shipped as a sample inside apache CXF
distributions.
For the sake of knowledge CXF wsdl2java was able to generate the java artifacts, so the wsdl are correct.
Unfortunately there is a bunch of wsdls: the one I have used imports different schemas and other WSDLs.
In the following I'll attach a zip containing the wsdls.
and the log I get.

I have used the mtosi_1.1\wsdl\transport\http\NotificationServiceSOAP_HTTP.wsdl
Comment 1 davidegesino 2007-11-21 13:49:28 UTC
Created attachment 53300 [details]
mtosi 1.1 WSDL specification
Comment 2 davidegesino 2007-11-21 13:51:22 UTC
Created attachment 53301 [details]
generation log
Comment 3 davidegesino 2007-11-21 14:23:36 UTC
anyway I have seen that wsimport from command line also does not work with this sample.
Comment 4 Milan Kuchtiak 2008-01-18 16:43:29 UTC
Look also at the issue 124629.
I think, the problem is in XML retriever mechanism.
Comment 5 Roderico Cruz 2008-01-22 19:19:07 UTC
This is a duplicate of http://www.netbeans.org/issues/show_bug.cgi?id=124629. It looks like the XML retriever is not
able to resolve relative paths in the schemaLocation attribute.

*** This issue has been marked as a duplicate of 124629 ***