If I understand your problem correctly (and I may be quite wrong here), you
have a JAXB object called "Human" that has a String property (variable)
called "Name".  You want to work with Human objects but the web service
calls are just giving you names instead.

You can probably just create a Human object and initialize it with the name
variable that the web service call is returning, if you wish.

I would also look more at the wrapper/non-wrapper discussion here:
http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html#WSDLtoJava-wrapperstyle

HTH,
Glen


Roland Carlsson-5 wrote:
> 
> _getObject_return is not an EstateObject and gives me no way of getting
> the
> EstateObject. Wsdl2java has generated an class called EstateObject. But
> how
> am I supposed to get an instance of it?
> 
> Three questions:
> 1) Is there anything wrong with the wsdl that could cause wsdl2java go
> banans?
> 2) Is there anything wrong with wsdl2java?
> 3) Is there anything I have missed, if so please complete the above
> example
> with the line of code missing.
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-use-the-generated-classes-tp20260653p20266219.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to