users@jersey.java.net

Re: RESTful Web services with GlassFish 3.1 ?

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Thu, 2 Dec 2010 11:07:19 +0100

Hi Pavel,

On Dec 2, 2010, at 11:00 AM, Pavel Bucek wrote:

> Can you provide more detailed steps to reproduce? I tried it but the
> description is too brief for me - I actually don't even know which
> project I should create..
>

Try the following:

1) Create a Web app then add a JAX-RS resource class using the
creation wizard.

2) Do a curl to the web app to check that WADL is returned.

3) Right click on the newly created project and click on "Test RESTful
Web Services".

those are the steps in NBs 6.9.1 i have not tried NBs 7.0.

Also it would be useful to enable logging/tracing to see what NBs 7.0
is doing in terms of interacting with the app.

Paul.

> We continuously test several application and check for
> application.wadl is always included.
>
> Or, if you want, just send me generated application and I'll give it
> a try on my local glassfish instance.
>
> Pavel
>
> On 12/1/10 4:55 PM, Arun Gupta wrote:
>> Can you please update the bug report (http://netbeans.org/bugzilla/show_bug.cgi?id=192733
>> ) accordingly ?
>>
>> application.wadl was not generated with NetBeans 7.0 Beta +
>> GlassFIsh 3.1 for me.
>>
>> -Arun
>>
>> On 12/1/10 8:59 AM, Pavel Bucek wrote:
>>> no - we are continuously testing jersey with glassfish so this
>>> statement
>>> (as is) is not true.
>>>
>>> Are there any more details about this?
>>>
>>> Pavel
>>>
>>> On 12/1/10 2:47 PM, Arun Gupta wrote:
>>>> Is this a known issue with GlassFish 3.1 ?
>>>>
>>>> -Arun
>>>>
>>>> -------- Original Message --------
>>>> Subject: [Bug 192733] application.wadl not generated for REST Web
>>>> services
>>>> Date: Wed, 01 Dec 2010 12:05:45 +0000
>>>> From: ads_at_netbeans.org
>>>> To: arungupta_at_netbeans.org
>>>>
>>>> http://netbeans.org/bugzilla/show_bug.cgi?id=192733
>>>>
>>>>
>>>> Denis Anisimov <ads_at_netbeans.org> changed:
>>>>
>>>> What |Removed |Added
>>>> ----------------------------------------------------------------------------
>>>>
>>>> Status|NEW |RESOLVED
>>>> Resolution| |INVALID
>>>>
>>>>
>>>>
>>>>
>>>> --- Comment #1 from Denis Anisimov <ads_at_netbeans.org> 2010-12-01
>>>> 12:05:45 ---
>>>> wadl file is not generated by IDE.
>>>> It could be generated by J2EE container when RESTful webservice is
>>>> deployed.
>>>>
>>>> I believe this issue has been discovered with Glassfish 3.1 which
>>>> is a
>>>> buggy
>>>> ( RESTful webservices doesn't work ).
>>>> And the way how it have been seen : test client generated by NB
>>>> doesn't work.
>>>> The problem is not just wadl but completely not working RESTful
>>>> webservices
>>>> functionality on GF3.1.
>>>> Please file a bug against GF.
>>>>
>>>
>>
>