[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6281) [tester] REST POST/PUT request params should be sent within request body

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Fri Aug 27 15:47:11 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fitzpatrick updated JBIDE-6281:
-------------------------------------

     Original Estimate: 0 minutes
    Remaining Estimate: 0 minutes
         Fix Version/s: 3.2.0.Beta
                            (was: 3.2.x)


> [tester] REST POST/PUT request params should be sent within request body
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-6281
>                 URL: https://jira.jboss.org/browse/JBIDE-6281
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.2.x
>            Reporter: Lukas Jungmann
>            Assignee: Brian Fitzpatrick
>             Fix For: 3.2.0.Beta
>
>         Attachments: patch_question_marks1.txt
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> -open tester
> -test following service:
>  Type: JAX-RS
>  Method POST
>  Service URL: http://www.webservicex.net/BibleWebservice.asmx/GetBibleWordsByChapterAndVerse
>  request parameters: BookTitle=John, chapter=3 and Verse=2
>  request headers: Content-Type=application/x-www-form-urlencoded, Content-Length=32
> request body: empty
>  -configure monitor
>  -and invoke the service
>  => no response comes back from the server and TCP/IP monitor shows only:
> POST /BibleWebservice.asmx/GetBibleWordsByChapterAndVersechapter=2&BookTitle=John&verse=2 HTTP/1.1
> content-type: application/x-www-form-urlencoded
> content-length: 32
> User-Agent: Java/1.6.0_18
> Host: localhost:8077
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
>  which means that there's wrong request sent to the server
> problem here is that request params should be sent with request body and not as part of url, so we should either do not take request params into account for POST/PUT requests or send them within request body and automatically set content-type(?) and content-length headers for the request

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list