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.
Build failed when trying to create web service client. After changing project location , the same wdsl works. (client stubs were created) Seems problem with project location: C:\R&D\SunMIServices\SprintWeb Config file: <?xml version="1.0" encoding="UTF-8"?> <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config"> <wsdl location="C:\R&D\SunMIServices\SprintWeb/web/WEB-INF/wsdl/GeoPhone.asmx.wsdl" packageName="com.sun.geo"/> </configuration> See attached file with build error output
Need to investigate to be certain, but probably certain directory characters are not supported by wscompile. If so, we need to detect and disallow these (and file bug against JWSDP).
Petre, do you have any suggestions regarding what should happen, if JWSDP really does not support this?
We should implement new method that will check these characters in project path, in web service or web service client wizards. User shall be informed about this error before creation web service and hourly searching what's wrong with build.
It's certainly easy to scan for &. The reason I haven't fixed this is because we need to research what other characters also cause difficulty. Obvious candidates for testing include $, %, etc. if they are legal in directory names. I believe Unix OS's will allow practically any character in a directory name.
I just checked against & and with & it fails. But with %26, it works. So if we can have ant expand the location using encoding, we can fix this that way (much better if there is a way to do it.)
Yes that was the solution I was thinking about. I am investigating how to implement that.
After several attempts I've decided to fix the bug simply by not allowing to create WS clients for projects located in directory containing &, % or ? characters. Diffs: http://web.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/client/wizard/WebServiceClientWizardDescriptor.java?r1=1.2&r2=1.3 http://web.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/client/wizard/Bundle.properties?r1=1.14&r2=1.15
John Ceccarelli suggested to change the message to this form : http://web.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/client/wizard/Bundle.properties?r1=1.15&r2=1.16
verified