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.
It seems that WSDL path is still hardcoded when I specify local WSDL file. I got this comment from community member in Japan. I understand it has been fixed by bug 149790. NetBeans IDE 6.9 Beta (Build 201004200117) Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101 Mac OS X 10.5.8 1. Prepare WSDL file in local path e.g. /Users/katakai/Desktop/NewWebServiceService.wsdl 2. Create a Web project 3. Create a Web Service client on the project 4. Specify local the WSDL file on wizard and create it jax-ws-catalog.xml is created like the following under WEB-INF. It looks OK. <?xml version="1.0" encoding="UTF-8" standalone="no"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <system systemId="file:/Users/katakai/Desktop/NewWebServiceService.wsdl" uri="wsdl/NewWebServiceService.wsdl"/> <system systemId="http://localhost:8080/WebApplication4/NewWebServiceService?xsd=1" uri="wsdl/localhost_8080/WebApplication4/NewWebServiceService.xsd_1.xsd"/> </catalog> 5. Run it It works 6. Remove NewWebServiceService.wsdl 7. Run it again after clean&build It fails. GF shows the following warnings MEX0008:Failed to parse metadata returned from server at file:/Users/katakai/Desktop/NewWebServiceService.wsdl using protocol SOAP_1_2. Continuing attempts.
> I understand it has been fixed by bug 149790. I thought the same. The jax-ws-catalog feature was implemented according to specification: https://jax-ws.dev.java.net/nonav/2.2/docs/catalog-support.html It looks there is still a bug in jax-ws: https://jax-ws.dev.java.net/issues/show_bug.cgi?id=202 The workaround is to put jax-ws.catalog.xml, together with WEB-INF/wsdl content into WEB-INF/classes/META-INF. (just create META-INF folder under Source Packages). This issue cannot be fixed in Netbeans, but must be fixed in JAX-WS. If jax-ws team decision is not to fix issue 202 I'll implement jax-ws-catalog.xml into META-INF folder.
Integrated into 'main-golden', will be available in build *201005122200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log: