You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dinesh Premalal (JIRA)" <ji...@apache.org> on 2006/11/14 05:33:37 UTC

[jira] Created: (AXIS2C-400) Engine unable to handle REST requests from wget.

Engine unable to handle REST requests from wget.
------------------------------------------------

                 Key: AXIS2C-400
                 URL: http://issues.apache.org/jira/browse/AXIS2C-400
             Project: Axis2-C
          Issue Type: Bug
          Components: core/engine
            Reporter: Dinesh Premalal


After I sent a REST message using wget, server gives internal server error.

Request
-------------
POST /axis2/services/echo HTTP/1.0

User-Agent: Wget/1.10.2

Accept: */*

Host: 127.0.0.1

Connection: Keep-Alive

Content-Type: application/x-www-form-urlencoded

Content-Length: 113



<ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">  
   <text>Hello World !</text></ns1:echoString>


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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-400) Engine unable to handle REST requests from wget.

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-400?page=comments#action_12449557 ] 
            
Dinesh Premalal commented on AXIS2C-400:
----------------------------------------

same thing happens with curl also.

> Engine unable to handle REST requests from wget.
> ------------------------------------------------
>
>                 Key: AXIS2C-400
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-400
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/engine
>            Reporter: Dinesh Premalal
>
> After I sent a REST message using wget, server gives internal server error.
> Request
> -------------
> POST /axis2/services/echo HTTP/1.0
> User-Agent: Wget/1.10.2
> Accept: */*
> Host: 127.0.0.1
> Connection: Keep-Alive
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 113
> <ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">  
>    <text>Hello World !</text></ns1:echoString>

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-400) Engine unable to handle REST requests from wget.

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-400?page=all ]

Samisa Abeysinghe resolved AXIS2C-400.
--------------------------------------

    Resolution: Fixed

Added support for given content type as I saw no harm supporting it

> Engine unable to handle REST requests from wget.
> ------------------------------------------------
>
>                 Key: AXIS2C-400
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-400
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/engine
>    Affects Versions: Current (Nightly)
>            Reporter: Dinesh Premalal
>         Assigned To: Samisa Abeysinghe
>             Fix For: 0.96
>
>
> After I sent a REST message using wget, server gives internal server error.
> Request
> -------------
> POST /axis2/services/echo HTTP/1.0
> User-Agent: Wget/1.10.2
> Accept: */*
> Host: 127.0.0.1
> Connection: Keep-Alive
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 113
> <ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">  
>    <text>Hello World !</text></ns1:echoString>

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-400) Engine unable to handle REST requests from wget.

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-400?page=all ]

Samisa Abeysinghe updated AXIS2C-400:
-------------------------------------

        Fix Version/s: 0.96
    Affects Version/s: Current (Nightly)
             Assignee: Samisa Abeysinghe

> Engine unable to handle REST requests from wget.
> ------------------------------------------------
>
>                 Key: AXIS2C-400
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-400
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/engine
>    Affects Versions: Current (Nightly)
>            Reporter: Dinesh Premalal
>         Assigned To: Samisa Abeysinghe
>             Fix For: 0.96
>
>
> After I sent a REST message using wget, server gives internal server error.
> Request
> -------------
> POST /axis2/services/echo HTTP/1.0
> User-Agent: Wget/1.10.2
> Accept: */*
> Host: 127.0.0.1
> Connection: Keep-Alive
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 113
> <ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">  
>    <text>Hello World !</text></ns1:echoString>

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-400) Engine unable to handle REST requests from wget.

Posted by "Sahan Gamage (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-400?page=comments#action_12449563 ] 
            
Sahan Gamage commented on AXIS2C-400:
-------------------------------------

Problem is Axis2C doesn't understand the Content-Type you have sent. If it's a REST POST then the content-type it expects is text/xml. But here it is "application/x-www-form-urlencoded". I am not sure what is the meaning of this content-type(and the compatibility with the specs). But if it is what it looks like, the content is obviously wrong - the content is not url encoded

> Engine unable to handle REST requests from wget.
> ------------------------------------------------
>
>                 Key: AXIS2C-400
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-400
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/engine
>            Reporter: Dinesh Premalal
>
> After I sent a REST message using wget, server gives internal server error.
> Request
> -------------
> POST /axis2/services/echo HTTP/1.0
> User-Agent: Wget/1.10.2
> Accept: */*
> Host: 127.0.0.1
> Connection: Keep-Alive
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 113
> <ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">  
>    <text>Hello World !</text></ns1:echoString>

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org