Im trying to call a web-service through Java. The service is implemented remotely in c#. There are two methods implemented remotely, each of which both takes a String as an argument and returns a String as a result.
Here's what im looking for: A quick, no-bull (simple/short as possible) example of the Java code required to call the remote method (called sayHello(), for example) and get the result, to then print to the screen.
Lets say that the service is located at:
public static void main(String args)
String result = ?.?()
I gotta say, im not looking to learn the ins and outs of SOAP at the moment but im finding it very difficult to find anything as simple as 'heres how to call a method at http://xxx/xxx/
and retireve the result, now go have fun!'...which is all i need at the moment. I have wasted alot of time allready trying to access my c# code through JNI (shudder).