axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Muller" <michael.mul...@s-h.ch>
Subject WS that retrieve username and passwords
Date Mon, 28 Jun 2004 18:14:33 GMT
Hi all,

I have a Java Client that make this request :
       Service  service = new Service();
       Call     call    = (Call) service.createCall();
       call.setTargetEndpointAddress( new java.net.URL(endpoint) );
       call.setOperationName( new QName("urn:bc", "execute"));
       call.setUsername( username );
       call.setPassword( password );
       xmlResponse = (String) call.invoke( new Object[] {"Default", xmlRequest } );

I need to create a service that respond this client.

So I've created a server class:
public class Urnbc {
	public String execute(Object param1, Object param2){
//
	}
}

My question is:
How to retrieve the password and username from this class?


Thanks in advance,


Michael

Mime
View raw message