Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Wrapper class is not found. Have you run APT to generate them?

843833Apr 3 2009
Hello,

I am trying to build a client to a web service.

Using the wsdl2java from CXF binaries, I have created the client stubs for the web service and now I am trying to invoke a method on the service. Here is what I am trying with but I am getting the RunTimeModeler exception.

GenService service = new GenService();
HTTPGETPort client = service.getHTTPGETPort();

GetQuotes samplequote = new GetQuotes();
samplequote.setTickers("MSFT");

After looking online at CXF 2.0 user guide, I found out the question "Q: How can I switch my generated web service method calls from wrapper style to non wrapper-style (or vice-versa)?" at http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html.

It seems that I needed to disable the wrapper style when calling the methods on the generated stubs.

Can someone help me out please?

Thanks,
Rahul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2009
Added on Apr 3 2009
0 comments
365 views