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 146372 - [65cat] java.io.IOException: Unable to find WSDL
Summary: [65cat] java.io.IOException: Unable to find WSDL
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Roderico Cruz
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-05 21:33 UTC by rajivderas
Modified: 2008-09-23 18:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 35803


Attachments
stacktrace (1023 bytes, text/plain)
2008-09-05 21:33 UTC, rajivderas
Details
stacktrace (1023 bytes, text/plain)
2008-09-08 06:22 UTC, rajivderas
Details
project file (34.38 KB, application/x-compressed)
2008-09-22 08:14 UTC, rajivderas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-09-05 21:33:38 UTC
Build: NetBeans IDE Dev (Build 200809050201)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: Windows XP, 5.1, x86

User Comments: 
tried to move a wsdl file

Stacktrace: 
java.io.IOException: Unable to find WSDL
        at org.netbeans.modules.websvc.core.jaxws.actions.JaxWsGenWSDLImpl.generateWSDL(JaxWsGenWSDLImpl.java:140)
        at org.netbeans.modules.websvc.core.jaxws.actions.JaxWsGenWSDLAction.performAction(JaxWsGenWSDLAction.java:70)
        at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
        at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:111)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:104)
        at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:52)
Comment 1 rajivderas 2008-09-05 21:33:43 UTC
Created attachment 69201 [details]
stacktrace
Comment 2 rajivderas 2008-09-08 06:22:22 UTC
Build: NetBeans IDE Dev (Build 200809071401)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.io.IOException: Unable to find WSDL
        at org.netbeans.modules.websvc.core.jaxws.actions.JaxWsGenWSDLImpl.generateWSDL(JaxWsGenWSDLImpl.java:140)
        at org.netbeans.modules.websvc.core.jaxws.actions.JaxWsGenWSDLAction.performAction(JaxWsGenWSDLAction.java:70)
        at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
        at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:111)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:104)
        at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:52)
Comment 3 rajivderas 2008-09-08 06:22:31 UTC
Created attachment 69272 [details]
stacktrace
Comment 4 Roderico Cruz 2008-09-22 02:09:46 UTC
Kindly describe the steps to reproduce this.
Comment 5 rajivderas 2008-09-22 08:12:59 UTC
1) open the visual web project attached with this
2) open databoundcomponents.services package and add a new WS
3) Now goto Web Sevices folder in project explorer and select that web service and right click
4) Select Generate and Copy WSDL a new dialog with this heading will open
5) In the Generate and Copy WSDL dialog navigate to the place where you created the WS file and click ok

boom you get this IO error
Comment 6 rajivderas 2008-09-22 08:14:16 UTC
Created attachment 70189 [details]
project file
Comment 7 Roderico Cruz 2008-09-22 22:16:02 UTC
FileObject.getFileObject(), no longer allows backslashes in the relative path, and this caused the problem. Fixed by
normalizing the path. 
Rajiv, the project you sent does not build, it was lacking some classes and generating the wsdl will still fail. In this
case, the error message has been improved.
Comment 8 Quality Engineering 2008-09-23 18:04:56 UTC
Integrated into 'main-golden', will be available in build *200809231435* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a57c5e03c6f3
User: rcruz@netbeans.org
Log: #146372 java.io.IOException: Unable to find WSDL