You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by Crack_David <ko...@christian-busch.com> on 2012/10/11 15:53:28 UTC

JaxWsDynamicClientFactory.newInstance().createClient() differs to wsdl2java

Hey there,
I've got some problems with creating my classes in cxf. First of all here's
the wsdl-file.




My only issue persists on the generated classes RseqTRowDescription,
RseqTColumnDescription, Bapirettab and _-bic_-ne4
All of them got a method "getItem" but no "setItem" or "addItem". WSDL2Java
is creating the classes correctly. Is there any way to fix that?

Cheers,
Crack_David



--
View this message in context: http://cxf.547215.n5.nabble.com/JaxWsDynamicClientFactory-newInstance-createClient-differs-to-wsdl2java-tp5716394.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Re: JaxWsDynamicClientFactory.newInstance().createClient() differs to wsdl2java

Posted by Freeman Fang <fr...@gmail.com>.
Hi, 

That's not a bug you need fix, that's the expected behavior when generate List, getItem just return a List
If you wanna change the List, you can use getItem and then manipulate the List whatever you want, add/remove/clear and whatnot
 
-------------
Freeman Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-10-11, at 下午9:53, Crack_David wrote:

> Hey there,
> I've got some problems with creating my classes in cxf. First of all here's
> the wsdl-file.
> 
> 
> 
> 
> My only issue persists on the generated classes RseqTRowDescription,
> RseqTColumnDescription, Bapirettab and _-bic_-ne4
> All of them got a method "getItem" but no "setItem" or "addItem". WSDL2Java
> is creating the classes correctly. Is there any way to fix that?
> 
> Cheers,
> Crack_David
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/JaxWsDynamicClientFactory-newInstance-createClient-differs-to-wsdl2java-tp5716394.html
> Sent from the cxf-issues mailing list archive at Nabble.com.