You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jaskin <ja...@hotmail.com> on 2007/05/10 05:47:21 UTC

Custom Response using POJO Approach

Hi, Some questions on Axis2 using POJO approach. The question is how can I control the response xml output/payload to the client. For example,<product><unitprice>90</unitprice></product>instead of usual response using POJO i.e.<getProductResponse><return>90</return></getProductResponse>.POJO approach seems very easy and fast to implement. Thank you in advance.BestRegards,Jas
_________________________________________________________________
Did you know you can import your contact list from Microsoft® Office® Outlook® or Outlook Express to Windows Live Hotmail?
http://get.live.com/mail/features

Re: Custom Response using POJO Approach

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Jaskin ,
At the moment there is no way to control that , what Axis2 does is it
serialize the Java bean to XML.

Thanks
Deepal
> Hi,
>  
> Some questions on Axis2 using POJO approach.
>  
> The question is how can I control the response xml output/payload to
> the client.
>
> For example,
> <product><unitprice>90</unitprice></product>
> instead of usual response using POJO i.e.
> <getProductResponse><return>90</return></getProductResponse>.
>
> POJO approach seems very easy and fast to implement.
>  
> Thank you in advance.
> Best
> Regards,
> Jas
>
> ------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org