Wrapper class is not found. Have you run APT to generate them?
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