|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovyx.net.ws.AbstractCXFWSClient
groovyx.net.ws.WSClient
public class WSClient
A Webservice client using the cxf-framework dynamic client factory.
| Field Summary | |
|---|---|
protected java.lang.ClassLoader |
classloader
The ClassLoader to use to generate classes from WSDL. |
protected java.net.URL |
url
The URL of the WSDL-file. |
| Fields inherited from class groovyx.net.ws.AbstractCXFWSClient |
|---|
basicAuthHelper, client, connectionTimeoutHelper, mtomHelper, proxyHelper, soapHelper, sslHelper |
| Constructor Summary | |
|---|---|
WSClient(java.lang.String wsdlLocation,
java.lang.ClassLoader classloader)
Default constructor. |
|
WSClient(java.lang.String wsdlLocation,
java.lang.ClassLoader classloader,
SoapVersion soapVersion)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
initialize()
Initializes the default configurations for ssl, http basic authentication and a proxy. |
void |
setBasicAuthentication(java.lang.String name,
java.lang.String password)
Set the properties of the basic authentication. |
void |
setConnectionTimeout(long timeout)
|
void |
setMtom(boolean isMtom)
|
void |
setPreferredSoapVersion(SoapVersion soapVersion)
|
void |
setProxyProperties(java.util.Map<java.lang.String,java.lang.String> proxyProperties)
Set the properties of the proxy. |
void |
setSSLProperties(java.util.Map<java.lang.String,java.lang.String> sslProperties)
Set the properties of the ssl connection. |
| Methods inherited from class groovyx.net.ws.AbstractCXFWSClient |
|---|
create, createClient, getBindingOperationInfo, getLogger, getServiceNamespaceURI, invokeMethod, parseResponse |
| Methods inherited from class groovy.lang.GroovyObjectSupport |
|---|
getMetaClass, getProperty, setMetaClass, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.net.URL url
protected java.lang.ClassLoader classloader
| Constructor Detail |
|---|
public WSClient(java.lang.String wsdlLocation,
java.lang.ClassLoader classloader)
wsdlLocation - The url of the wsdl-fileclassloader - The classoader
public WSClient(java.lang.String wsdlLocation,
java.lang.ClassLoader classloader,
SoapVersion soapVersion)
wsdlLocation - The url of the wsdl-fileclassloader - The classoadersoapVersion - The preferred SOAP version| Method Detail |
|---|
public void initialize()
public void setProxyProperties(java.util.Map<java.lang.String,java.lang.String> proxyProperties)
proxyProperties - The map containing the properties.AbstractSettingHelper.setProperties(Map)public void setSSLProperties(java.util.Map<java.lang.String,java.lang.String> sslProperties)
sslProperties - The map containing the properties.AbstractSettingHelper.setProperties(Map)
public void setBasicAuthentication(java.lang.String name,
java.lang.String password)
name - The usernamepassword - The passwordBasicAuthenticationHelper.setBasicAuthentication(String, String)public void setMtom(boolean isMtom)
isMtom - true if mtom is enabled, otherwise false.public void setConnectionTimeout(long timeout)
timeout - The timeout value in milliseconds.public void setPreferredSoapVersion(SoapVersion soapVersion)
soapVersion - The SOAP version as define in SoapVersion.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||