[ 
https://issues.apache.org/jira/browse/AXIS2-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thilina Gunarathne resolved AXIS2-2213.
---------------------------------------

    Resolution: Fixed

Moved the OMBuilder to Axis2... Renamed to Builder..

Now it takes in an MessageContext ... No need to warry about addtional 
properties anymore :)..

> Update OMBuilder interface to handle REST cases
> -----------------------------------------------
>
>                 Key: AXIS2-2213
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2213
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>            Reporter: Keith Godwin Chapman
>         Assigned To: Thilina Gunarathne
>            Priority: Critical
>
> REST messages can be serialized in several ways. we currently support the 
> following serialization formats. Apllication/xml, 
> application/x-www-form-urlencoded, and multipart/form-data. In order to build 
> the message on the server side the current OMBuilder interface is not 
> sufficient. This is the current init method.
> public void init(InputStream inputStream, String charSetEncoding) 
> This is not sufficient for some serializations such as 
> application/x-www-form-urlencoded, and multipart/form-data. In order to 
> handle application/x-www-form-urlencoded, we need to parse the URL in adition 
> to the input stream and to handle multipart/form-data we need to parse the 
> content-type (In order to determine the boundry) to the init method. I 
> propose updating the init method to 
> public void init(InputStream inputStream, String charSetEncoding, String url, 
> String contentType) 
> Thanks,
> Keith

-- 
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