multipart/form-data support required
------------------------------------

                 Key: AXIS2C-1076
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1076
             Project: Axis2-C
          Issue Type: New Feature
          Components: transport/http
    Affects Versions: Current (Nightly)
            Reporter: Senaka Fernando
            Assignee: Senaka Fernando


multipart/form-data support is required on Axis2/C as it is allowed by the WSDL 
2.0 HTTP Binding. Currently, we simply return a 415 status as we can't handle 
such Content-Types.

A sample HTML shown below can generate a "multipart/form-data" request.

HTML:

<form action="form_action.asp"
method="post" enctype="multipart/form-data">

First name:
<input type="text" name="fname" value="Mickey" />
<br />
Last name:
<input type="text" name="lname" value="Mouse" />
<br />
<input type="submit" value="Submit" />

</form>


REQUEST:

/* sending time = 16:56:39*/
/* message uuid = 8200ea8e-f670-1dc1-3e0f-0012178de369*/
---------------------
POST /axis2/services/echo/echoString HTTP/1.1
Host: localhost:9090
User-Agent: Axis2C/1.3.0 TCPMon
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:9090/test.html
Content-Type: multipart/form-data; 
boundary=---------------------------330179701054460466229737858
Content-Length: 287

-----------------------------330179701054460466229737858
Content-Disposition: form-data; name="fname"

Mickey
-----------------------------330179701054460466229737858
Content-Disposition: form-data; name="lname"

Mouse
-----------------------------330179701054460466229737858--




Looking forward to have this implemented soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to