public class WebTransport extends SoapTransport
Modifier and Type | Field and Description |
---|---|
static java.lang.ThreadLocal<java.lang.Boolean> |
BY_PASS_INVALID_CERT |
defaultLogin, defaultPassword, disabledCompression, ENV_SOAP_COMPRESSED, SOAP_COMPRESSED
Constructor and Description |
---|
WebTransport(java.lang.String host)
The raw transport layer.
|
WebTransport(java.lang.String host,
java.lang.String userId,
java.lang.String password)
Constructor to set the host, userId and password.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getMoveToUrlList()
If the moveTo tag in the header has any URL, then
it will be passed to the client.
|
org.w3c.dom.Document |
sendEnvelope(org.w3c.dom.Document envelope,
java.lang.String relativePath)
Send the SOAP envelope
|
disableCompress, getDefaultLayer, getDefaultLogin, getDefaultPassword, getHost, isCompressEnabled, toString
public static final java.lang.ThreadLocal<java.lang.Boolean> BY_PASS_INVALID_CERT
public WebTransport(java.lang.String host)
host
- The host namepublic WebTransport(java.lang.String host, java.lang.String userId, java.lang.String password)
host
- HostnameuserId
- User Idpassword
- Passwordpublic org.w3c.dom.Document sendEnvelope(org.w3c.dom.Document envelope, java.lang.String relativePath) throws java.lang.Exception
sendEnvelope
in class SoapTransport
envelope
- The envelope to sendrelativePath
- Where to send itjava.lang.Exception
- A serious problempublic java.util.List getMoveToUrlList()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.