cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Class name customization
Date Thu, 22 Jan 2009 16:36:26 GMT



On Thursday 22 January 2009 10:04:04 am Cecchi Sandrone wrote:
> It seems not working...maybe this annotation is only valid for the method
> parameter. What I want is customize the wsdl:type name.

Oooopss..

@WebResult(name = "User")
for the result.   Duh...  My bad.


Dan


>
> dkulp wrote:
> > On Friday 16 January 2009 6:08:49 am Cecchi Sandrone wrote:
> >> Hi all,
> >> I've generated a service with this signature: User getUser(String
> >> username). I'm using this service in C#, but the name of the object User
> >> has became user, so not capitalized. How can I customize this feature?
> >> Thanks
> >
> > I'm not sure I understand the problem completely.    You MAY be able to
> > just
> > add:
> > @WebParam(name = "User")
> > to fix it.   Basically, check the generated wsdl and see what the element
> > name
> > is.   The annotation above should change it from "user" to "User" which
> > may
> > fix it.
> >
> >
> > --
> > Daniel Kulp
> > dkulp@apache.org
> > http://dankulp.com/blog



-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message