-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Samisa Abeysinghe wrote:
> Amila Suriarachchi wrote:
>> I am not sure about your problem.
>> but add this code to specifically set the soap12 for service client.
>>
>> clientOptions = new Options();
>> clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI
>> );
> Why not simplify the API to something like:
> clientOptions.setSoap12();

Look at the number of properties inside Options. So are you suggesting
to have one setter and a getter method of all of those params? And what
about API changes whenever we add a new property.

Hmm, the best option we thought was to use properties like this so that
there are no problems to API and you won't see hundreds of methods
inside options.

Thanks,
Chinthaka

> 
> Samisa...
>> serviceClient.setOptions(clientOptions);
>>
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQ/eCjON2uBzUhh8RAn6DAJ9P1rsJPsuo9IX0XmCuYDWDc5ZytQCfRQ6H
z0cOZBaE9B85sKHfqQQB9RY=
=+Ma2
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to