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 91861 - Webservice creation Wizard to support Abstract WSDL with rpc-style messages
Summary: Webservice creation Wizard to support Abstract WSDL with rpc-style messages
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Roderico Cruz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-05 02:29 UTC by _ gmpatil
Modified: 2008-01-31 15:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Can not create Webservice using the attched abstract WSDL (1.09 KB, text/xml)
2007-01-05 09:29 UTC, _ gmpatil
Details
Here is another abstract wsdl with rpc-type messages (1.57 KB, text/plain)
2007-01-09 20:21 UTC, Roderico Cruz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gmpatil 2007-01-05 02:29:15 UTC
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.
Comment 1 Lukas Jungmann 2007-01-05 02:57:30 UTC
This should be a bug, if it does not work, IMHO, can you attach wsdl you use,
please?
Comment 2 Roderico Cruz 2007-01-05 05:52:32 UTC
Sorry my fault, I told Venu and Girish that abstract wsdls were not supported.
Closing as WORKSFORME.
Rico
Comment 3 _ gmpatil 2007-01-05 09:29:36 UTC
Created attachment 37063 [details]
Can not create Webservice using the attched abstract WSDL
Comment 4 _ gmpatil 2007-01-05 09:32:06 UTC
Unable to create Webservice using attached abstract WSDL (attachment id=37063).
Comment 5 Roderico Cruz 2007-01-05 19:01:23 UTC
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.
Comment 6 Roderico Cruz 2007-01-09 20:21:15 UTC
Created attachment 37199 [details]
Here is another abstract wsdl with rpc-type messages
Comment 7 Roderico Cruz 2007-03-02 07:43:01 UTC
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.
Comment 9 Milan Kuchtiak 2007-03-02 13:13:16 UTC
The changes in xsl transformation are correct.
Tested with an abstract wsdl with missing schema elements.

Feel free to check to release551.
Comment 10 Lukas Jungmann 2007-03-02 13:34:45 UTC
v. in trunk
Comment 11 Jaroslav Pospisil 2008-01-31 15:15:51 UTC
v.