Title: verbosity of client code

Are there any plans to reduce the verbosity of the code that needs to be written by the client? a 2 liner in Axis 1.x (create the stub, call login), now takes 7 lines of code. Do you really think this is an improvement ?

SoapStub stub = new SoapStub();
Login l = Login.Factory.newInstance();
l.setUsername(args[0]);
l.setPassword(args[1]);
LoginDocument ld = LoginDocument.Factory.newInstance();
ld.setLogin(l);
LoginResult lr = stub.login(ld).getLoginResponse().getResult();

I notice that in the more recent builds of Indigo which also suffers with an overly verbose programming model, they at least added some constructors to make it a little better.

Cheers
Simon

Reply via email to