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: | Unable to Test RESTful Web Services with PUT method and Query encoded params | ||
---|---|---|---|
Product: | webservices | Reporter: | dtrounine <dtrounine> |
Component: | REST | Assignee: | Denis Anisimov <ads> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
dtrounine
2009-02-24 16:12:16 UTC
First of all I can't reproduce fail in response as shown in the description. The problem exists nevertheless . But it is not in value encoding. Each parameter value is encoded via "escape()" method in javascript when HTTP request is generated. For POST and PUT methods there is "Content" textarea which is intended for content of HTTP request. It always has some value ( me be empty string "" but it is still not null value). In this case other parameters ( in the described example "skey" parameter ) are ignored . Only "Content" value is used for HTTP request. To fix this behavior one need to add dedicated parameters with values to the resulting content of POST/PUT request. changeset: 177967:2981c69b8750 user: Denis Anisimov <ads@netbeans.org> date: Thu Sep 23 11:26:31 2010 +0400 summary: Fix for BZ#159073 - Unable to Test RESTful Web Services with PUT method and Query encoded params Integrated into 'main-golden', will be available in build *201009250000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2981c69b8750 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#159073 - Unable to Test RESTful Web Services with PUT method and Query encoded params |