This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I created a test web service, which I can access from my local server, and I wanted to create a client for it. I followed the wizard for ClientGen, pointed to the WSDL, and got 2 files, MyProject.jar and clientgen_build.xml. Now what do I do with them? I am totally lost.
I have a book that has this sample, but it looks like my version of Workshop (10.3) is not compatible for it. Here is the sample I cannot use:
My generated jar does not have the "Soap" class. I also don't see the weblogic.jws.proxies package, because this sample is looking for webservicesclient.jar, and that is not generated in my version of Workshop anymore.
So, what do I do with the jar? How can I create the Java client I can use in Workshop?
I think the following code helps you out. For time being assume that your web service name is "MyWebservice". As you have used clientGen wizard you may get the following classes in your jar file.