I'm new to Java and know just enough about web services to be dangerous in C# and VB. I have to create an app that uses web services and am hitting a wall.
I have a simple class that returns a string that I've deployed as a web service using websphere application developer. I can create a jsp file and use the proxy class that websphere generates to access the webservice and return the string like so:
Simple enough. But when I try to do the same thing from inside of a stand alone class it errors out.
There has to be some simple element that I'm missing here. Unfortunately any docs that I find are either weighed down with low level explanations, or just simply say "use the generated proxy stub" - cool thanks.
Does anyone have any insight?
TIA
I have a simple class that returns a string that I've deployed as a web service using websphere application developer. I can create a jsp file and use the proxy class that websphere generates to access the webservice and return the string like so:
Code:
<%
wsProxy proxy = new wsProxy();
string result = proxy.getString();
%>
<%="result = " + result%>
Simple enough. But when I try to do the same thing from inside of a stand alone class it errors out.
There has to be some simple element that I'm missing here. Unfortunately any docs that I find are either weighed down with low level explanations, or just simply say "use the generated proxy stub" - cool thanks.
Does anyone have any insight?
TIA