开发者

How to customize response structure when working with Axis2 REST web services?

I'm using Axis2 1.4.1 to expose RESTful web services. I need to return xml structure (or any other for example ATOM xml or RSS xml or JSON structure) of my choosing. Axis2 out of the box returns it's own default xml structure (which is SOAP like). The question is what is the right way to customize this. Is it via Handlers? Is it via Data Binding?开发者_Python百科 Is it via custom MessageFormatter? What is the way and how?

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜