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 156896 - [testclient] default request format is not consistent
Summary: [testclient] default request format is not consistent
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 15:18 UTC by Lukas Jungmann
Modified: 2015-04-20 13:44 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 Lukas Jungmann 2009-01-15 15:18:49 UTC
let's have a test client for customersdb sample and a test client for it opened in the browser

-for the "customers" resource default request is set to GET application/json
-for  the "customers/{customersId}" resource default request is set to GET application/xml

=> I think both should be set to the same format (app/json) by default (if applicable, of course)
Comment 1 Jan Stola 2015-04-20 13:44:25 UTC
This seems to be fixed in the latest development builds. I have created RESTful Web Service from Database for CUSTOMER table and then invoked Test RESTful Web Services action on project's RESTful Web Services node. The default method for both customer and customer/{id} resources is GET(application/json).