Ok, thanks for this information.
So currently, if I want to modify the "result" node, how to create my WS ?
Is there a tutorial or example ?



2011/10/26 Sagara Gunathunga <sagara.gunathu...@gmail.com>

> On Wed, Oct 26, 2011 at 8:13 PM, Rudy Commenge <rudywi.de...@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-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org
>
>

Reply via email to