Now I don't know what to do next. I tried to create an object of my proxy then call the function of my service, but I couldn't do that, (e.g, SdkService service = new SdkService();) then call the method, but I got an error that it couldn't find SdkService. Also, if I use the taglib directive, then I get an error that the tag's handler class jrun.axis,tags.webservice invoke tag wasn't found.
From Macromedia's documentation:
Creating and using a JSP-based proxy client
After you create proxy code, you must write a proxy client that invokes the target Web service operations by instantiating a Web service proxy object and calling its methods. A sample JSP-based proxy client and its source code are available in the Web service sample application on the samples JRun server.
To create a JSP-based proxy client:
1. Instantiate a proxy factory and a proxy; for example:
proxy.SampleServiceService stubFactory =
proxy.Sample stub = stubFactory.getSampleService();
2. Call the proxy's method(s) and print the result to the page; for example:
Make sure that you import all the classes you need, and make sure your classpath is set up properly.
Here's a tutorial that you might find useful:
Dig Deeper on Simple Object Access Protocol (SOAP)
Related Q&A from Anne Thomas Manes
Anne Thomas Manes explains the differences between open source clients and open source implementations.continue reading
Anne Thomas Manes discusses the best way to go about creating an enterprise data dictionary and why the systems works well.continue reading
Anne Thomas Manes explains the difference between 'hard' real time and 'live' real time systems.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.