Hi,

I did this:

public class Main {    
    public static void main (String[] args) {
        try {
            EchoImpServiceLocator sl = new EchoImpServiceLocator ();
            EchoImp service = sl.getEcho ();

->          ((org.apache.axis.client.Stub) service).setUsername ("anyuser");
->          ((org.apache.axis.client.Stub) service).setPassword ("anypassword");
            
            System.out.println (service.echo ("Hola amigo!"));
        } catch (Exception e) {
            System.err.println ("Error: " + e.getMessage ());
        }
    }
}


It works, just hope it's safe to do this, and it is compliant with ur
customs? otherwise how would u do it from here, the class Main? :)

thanks man.


On 8/8/05, Kr <[EMAIL PROTECTED]> wrote:
> < proxy object>.setUsername("dfdafasdf");
> < proxy object>.setPassword("dfdfdfdf");
> 


-- 
Jonathan J. Vargas Rodriguez
[EMAIL PROTECTED]
"Conservar el silencio interior cuando vuelo en la tormenta me es
mejor, porque asi ya no soy otra gota de la tempestad"

Reply via email to