public class ServiceNowSoapClient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ContentType |
_contentType |
private HttpEntity |
_httpEntity |
private java.lang.String |
_soapAction |
protected java.lang.String |
_soapHost |
private java.lang.String |
_soapMethodURI |
protected java.lang.Integer |
_soapPort |
private UsernamePasswordCredentials |
credential |
(package private) static java.util.logging.Logger |
logger |
private <any> |
retrier |
protected java.lang.String |
soapResultMessage |
protected java.lang.Integer |
soapStatusCode |
Constructor and Description |
---|
ServiceNowSoapClient(java.lang.String host,
java.lang.Integer port,
java.lang.String user,
java.lang.String password) |
ServiceNowSoapClient(java.lang.String host,
java.lang.Integer port,
java.lang.String user,
java.lang.String password,
ContentType contentType) |
Modifier and Type | Method and Description |
---|---|
private void |
createRetrier() |
int |
executeSoapMethod(java.lang.String soapMethodURI,
java.lang.String soapAction,
HttpEntity httpEntity) |
java.lang.String |
getSoapResultMessage() |
java.lang.Integer |
getSoapStatusCode() |
private int |
send() |
private int |
sendWithContentType(AbstractHttpEntity soapMessageEntity) |
static final java.util.logging.Logger logger
private UsernamePasswordCredentials credential
protected java.lang.String _soapHost
protected java.lang.Integer _soapPort
protected java.lang.String soapResultMessage
protected java.lang.Integer soapStatusCode
protected ContentType _contentType
private HttpEntity _httpEntity
private java.lang.String _soapAction
private java.lang.String _soapMethodURI
private <any> retrier
public ServiceNowSoapClient(java.lang.String host, java.lang.Integer port, java.lang.String user, java.lang.String password)
public ServiceNowSoapClient(java.lang.String host, java.lang.Integer port, java.lang.String user, java.lang.String password, ContentType contentType)
private void createRetrier()
public java.lang.Integer getSoapStatusCode()
public java.lang.String getSoapResultMessage()
public int executeSoapMethod(java.lang.String soapMethodURI, java.lang.String soapAction, HttpEntity httpEntity) throws ClientProtocolException, ParseException, java.io.IOException
ClientProtocolException
ParseException
java.io.IOException
private int sendWithContentType(AbstractHttpEntity soapMessageEntity) throws ClientProtocolException, ParseException, java.io.IOException
ClientProtocolException
ParseException
java.io.IOException
private int send() throws java.io.IOException
java.io.IOException