I managed to fix this by adding the following to axis2.xml:

<messageFormatter contentType="application/rdf+xml"

 class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>

<messageBuilder contentType="application/rdf+xml"

class="org.apache.axis2.builder.ApplicationXMLBuilder"/>

I think this is the right way around this since RDF is XML.

But this scenario works in HTTP-NIO transport without having to explicitly
define the content type.

Any advice on the proposed solution?



Thanks,
Ravi
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to