Jonathan,
Hopefully you have dealt with idiots before...
I have a web service called DBWS, with an operation called getDescription.
This web service is deployed to a Sun Java Application server residing on a machine called expxxxxxx.
I can test the service by browsing to "expxxxxxx:8080/DBWSService/DBWS?Tester" and it works.
In the SoapSax class would you expect the following:
String url = "://expxxxxxx:4848/DBWSService";
String serverResponse = "";
public void run() {
try {
SoapObject RPC = new SoapObject("://expxxxxxx:8080/DBWSService", "DBWS")
RPC.addProperty("parameterName", "getDescription");
serverResponse = "" + new HttpTransport(url, "://expxxxxxx:8080/DBWSService/DBWS")).call(RPC);
Followed by:
public void endElement(String uri, String name, String qName){
if ("getDescription".equals(uri)){
System.out.println("End element: " + qName);
}
}
In my screen class I am calling
newBlackberrySoapSaxClass tssc = new newBlackberrySoapSaxClass();
tssc.start();
If all the above looks ok, I doubt it but hey, how would I show the output of the getDescription method in my screen class.
Sorry for all the questions.
Jon L.
|