...
or directly use the following in your code:
| Code Block | ||
|---|---|---|
| ||
proxy.setProxyPropertiesetProxyProperties([:]) // map containing all or part of the above properties |
...
or directly use
| Code Block | ||
|---|---|---|
| ||
proxy.setBasicAuthentication(user, password)
|
...
If your want to set a time out value for the connection to the server just use:
| Code Block | ||
|---|---|---|
| ||
proxy.setConnectionTimeout(value_in_milliseconds)
|
...
If your server is proposing SOAP 1.2 endpoints, then you can use:
| Code Block | ||
|---|---|---|
| ||
import groovyx.net.ws.cxf.SoapVersion
proxy.setPreferredSoapVersion(SoapVersion.SOAP_1_2)
|