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 157972 - not possible to use JAXB params in webservice designer
Summary: not possible to use JAXB params in webservice designer
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: Designer (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 09:26 UTC by jbaragry
Modified: 2010-10-29 10:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jbaragry 2009-02-05 09:26:37 UTC
I can´t get the webservice designer GUI to use JAXB Binding types for the input parameters.
Parameters can only be created with simple types or "Object".

I´m doing this in NB6.1 because I´m using GlassfishESB. Perhaps it is resolved in 6.5

To reproduce.
- new EJB project
- create two JAXB bindings from complex XSD elements to represent the input param and return type from a webservice.
- create "New Webservice".
- in the designer GUI
-- new operation
-- set return type to one of the created JAXB Bindings
-- create an input parameter. In the "type" section, select "Choose...". Select one of the newly created JAXB Bindings
-- in the designer view, the input parameter is set to "Object" and not the JAXB Binding type.

when you go into the code, the return type has been set correctly, but the input param is set to "Object".
you have to manually change the code to make it use the desired JAXB Binding type instead.
Comment 1 Denis Anisimov 2010-10-29 10:24:35 UTC
Cannot reproduce.
All types are set correctly in the source code and inside designer view.