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.
Webservice implementation wizard should not force user to have concrete (Bindings, Service and Port elements) WSDL to create a Webservices. This is especially usefull when user has their own JAX-WS Transport Factory or plug-in or using JBI BC or SE to invoke Webservic.
This should be a bug, if it does not work, IMHO, can you attach wsdl you use, please?
Sorry my fault, I told Venu and Girish that abstract wsdls were not supported. Closing as WORKSFORME. Rico
Created attachment 37063 [details] Can not create Webservice using the attched abstract WSDL
Unable to create Webservice using attached abstract WSDL (attachment id=37063).
Reopening this issue and changing it from enhancement to defect. Netbeans currently has a problem with abstract wsdls if the message part has a "type" attribute (which usually refers to xsd native types in rpc-style messages). This is a common case and should be fixed.
Created attachment 37199 [details] Here is another abstract wsdl with rpc-type messages
Fixed in trunk by determining if the wsdl has messages that refers to schemas via the "type" attribute instead of "element". If such is the case, an rpc/literal binding is generated for the abstract wsdl. Attaching diffs for review prior to committing to 5.5.1 branch.
Here is the diff: http://websvc.netbeans.org/source/browse/websvc/jaxwsapi/src/org/netbeans/modules/websvc/jaxws/resources/WsdlServiceGenerator.xsl?r1=1.2&r2=1.3
The changes in xsl transformation are correct. Tested with an abstract wsdl with missing schema elements. Feel free to check to release551.
v. in trunk
v.