nl.knowledgeplaza.soaptools.client
Class SoapClient
java.lang.Object
nl.knowledgeplaza.soaptools.client.SoapClient
public class SoapClient
- extends Object
SoapClient is a client for invoking soap operations
The invoke method should be thread safe so we do not need pooling!
- Author:
- S. Pluym @ Knowlegeplaza
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
SoapClient
public SoapClient(String WSDLUrl)
- Parameters:
WSDLUrl - uri to WSDL file
getUsername
public String getUsername()
- Returns:
- the username
setUsername
public void setUsername(String pUsername)
- Parameters:
pUsername - the username to set
getPassword
public String getPassword()
- Returns:
- the password
setPassword
public void setPassword(String pPassword)
- Parameters:
pPassword - the password to set
isValidate
public boolean isValidate()
- Returns:
- the validate
setValidate
public void setValidate(boolean pValidate)
- Parameters:
pValidate - the validate to set
invoke
public org.dom4j.Document invoke(String pOperation,
org.dom4j.Document param)
throws SoapClientException
- Invokes the operation
- Parameters:
pOperation - operation name without namespaceparam - parameters for the operation
- Returns:
- This method returns the SOAP body of the response
- Throws:
SoapClientException
getEndPointURL
public String getEndPointURL()
Copyright © 2013 KnowledgePlaza. All Rights Reserved.