axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18657] - Unusable with Java Web Start + Authenticating Proxies
Date Wed, 16 Apr 2003 15:59:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18657>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18657

Unusable with Java Web Start + Authenticating Proxies





------- Additional Comments From bruno.melloni@nokia.com  2003-04-16 15:59 -------
I studied the comments, but it is not clear to me how do you use the
SimpleHTTPSender when setting up the client call.  The following is sample code
that I am using in the Java Web Start application:

System.out.println("Testing SOAP call...");
boolean ok = false;
try{
  String endpoint = "http://localhost:8080/jwsLogin/Calculator.jws";
  Service service = new Service();
  Call	call      = (Call) service.createCall();
  call.setOperationName(new QName(endpoint, "add"));
  call.setTargetEndpointAddress(new java.net.URL(endpoint));
  System.out.println("Invoking endpoint="+endpoint);
  Integer ret = (Integer)call.invoke(new Object[] {new Integer(5), 
                 new Integer(6)});
  System.out.println("add(5,6) = "+ret);
  ok=true;
}catch(Exception e){
  System.err.println("Execution failed. Exception: "+e);
}
return ok;

Mime
View raw message