axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Gunathunga <sagara.gunathu...@gmail.com>
Subject Re: Modify <return> node in WS response ?
Date Wed, 26 Oct 2011 15:27:14 GMT
On Wed, Oct 26, 2011 at 8:13 PM, Rudy Commenge <rudywi.devel@gmail.com> wrote:
> Hi,
>
> I have exposed Java POJO as Web Service in Tomcat with Axis2 v1.6.1.
> The WS works and return something like :
>
> <myMethodResponse xmlns="http://ws/myservice/org/xsd">
>    <return>
>       .....
>    </return>
> </myMethodResponse>
>
> But I want a response like :
>
> <myMethodResponse xmlns="http://ws/myservice/org/xsd">
>    <result>
>       .....
>    </result>
> </myMethodResponse>
>
> So, I want to modify the name of "return" node ?
> I tried to personalize the generated WSDL, but response has unchanged.
>
> Do you have a solution ?

AFAIK if you expose POJO this is not possible but i believe we can
make it configurable through a setting in axis2.xml file in future
releases. If you wish to have this feature please open a JIRA issue
for this.

Thanks !

>
> Best Regards,
>
> Rudy.
>
>
>



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

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


Mime
View raw message