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 am working on an assignment where I am required to communicate with a WebService from a SAAS product which is available online.
One such API provides the capability to request an HTTP(s) URL. The API takes in "url" and "postdata (string/hashtable values)" as parameters along with few other optional parameters.
I think I can use this API to make a call to the WebService. However I am not sure how I can deploy the WebService and make it accessible to this API.
Currently, I am trying to create a very simple WebService, a Calculator.java WebService which takes in two integer parameters and adds them.
I followed the tutorials to deploy a WebService on Apache Axis and created a class file and wsdd file. I deployed the file using the org.apache.axis.client.AdminClient command. After executing the command I can see the service under the following URL. http://localhost:8080/axis/servlet/AxisServlet and a WSDL file generated by it.
However, I am not sure how to proceed from here.
How do I test the WebService?
Also which URL should I be providing to the software API? would it be the WSDL URL or the location URL of the webservice which can be found under the WSDL file?