axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Fell" <>
Subject verbosity of client code
Date Thu, 12 Jan 2006 05:12:43 GMT
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();
LoginDocument ld = LoginDocument.Factory.newInstance();
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.


View raw message