This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line! See this thread for details.
I am about to ask you a very stupid question as I am a completely new baby in Java Web Services world Request you to please help me out.
I wonder how can I identify the exact method signatures which is required to be invoked as a service. For Instance .... I want to access a 3rd party web service method. I got the WSDL file and generated the stub class using WSDL2Java utility of Axis2. Now I need to write the JAX-RPC client class which will call the remote method on the stub.
But after creating the stub object in my client class code, what are the steps I need to perform to identify the exact method names with their signature ? The stub java file looks confusing to me as it contains many methods and inner classes as well.
There are two options; you can either look at the WSDL file. For WSDL 1.1 you should look in the <portType> element, for WSDL 2.0 the <interface> element.
In these elements there will be one or more <operation> elements, which name(s) will be reflected in the generated artifacts.
Oherwise, when using WSDL2Java, there will usually be an interface generated, which represents the interface of the web service. Try take a look if you can find this interface.
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
a bit of art, as a gift, the permaculture playing cards