Yes... The default builders & formatters will be available at the run
time even if not given in the axis2.xml

~Thilina

On 3/2/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote:
Hi Keith,

If the given default message formatters or message builders not given in the
axis2.xml, would it still be available at runtime.

Thank you

Saminda


On 3/1/07, keith chapman <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have implemented messageformatters and messageBuilders for REST. The
following message formatters have been set in the default axis2.xml.
>
> <messageFormatter
contentType="application/x-www-form-urlencoded"
>
class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/>
> <messageFormatter contentType="multipart/form-data"
>
class="org.apache.axis2.transport.http.MultipartFormDataFormatter
"/>
> <messageFormatter contentType="application/xml"
>
class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
>
> I have added builders for the respective content Types as well. I have not
added the MultipartFormDataBuilder to the default axis2.xml because all
modules using the default axis2.xml will have to add the dependancy of
servlet-api. But I have added it to the default axis2.xml of the war.
>
> <messageBuilder contentType="application/xml"
>
class="org.apache.axis2.builder.ApplicationXMLBuilder"/>
> <messageBuilder
contentType="application/x-www-form-urlencoded"
>
class="org.apache.axis2.builder.XFormURLEncodedBuilder "/>
> <messageBuilder contentType="multipart/form-data">
>
<class="org.apache.axis2.builder.MultipartFormDataBuilder"/>
>
> Thanks,
> Keith
> --
> Keith Chapman
> WSO2 Inc.
> Oxygen for Web Services Developers.
> http://wso2.org/



--
Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org


--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

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

Reply via email to