Eran Chinthaka wrote:
-----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?
Not exactly! Just make the common case simple. As an example, setting SOAP version, enabling MTOM, REST are more common. Leave all other more complex stuff to params.

Samisa...

--
Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services 
Developers' Portal)


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

Reply via email to