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.
Summary: | Webservice creation Wizard to support Abstract WSDL with rpc-style messages | ||
---|---|---|---|
Product: | webservices | Reporter: | _ gmpatil <gmpatil> |
Component: | Code | Assignee: | Roderico Cruz <rcruz> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | pjiricka, rcruz |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Can not create Webservice using the attched abstract WSDL
Here is another abstract wsdl with rpc-type messages |
Description
_ gmpatil
2007-01-05 02:29:15 UTC
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. |