Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

or directly use the following in your code:

Code Block
java
java

proxy.setProxyPropertiesetProxyProperties([:]) // map containing all or part of the above properties

...

or directly use

Code Block
java
java

proxy.setBasicAuthentication(user, password)

...

If your want to set a time out value for the connection to the server just use:

Code Block
java
java

proxy.setConnectionTimeout(value_in_milliseconds)

...

If your server is proposing SOAP 1.2 endpoints, then you can use:

Code Block
java
java

import groovyx.net.ws.cxf.SoapVersion

proxy.setPreferredSoapVersion(SoapVersion.SOAP_1_2)