public class SoapSession extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close session on webPDF server
|
org.apache.http.auth.Credentials |
getCredentials()
Returns the
Credentials authorizing this session. |
DataFormat |
getDataFormat()
Returns the
DataFormat accepted by this session. |
TLSContext |
getTlsContext()
Returns the currently set TLS context.
|
URI |
getURI(String subPath)
Returns an
URI pointing to the webservice interface of the session. |
WebServiceProtocol |
getWebServiceProtocol()
Returns the
WebServiceProtocol this session is using. |
boolean |
isUseLocalWsdl()
When returning true, a wsdl stored on the local file system shall be used instead of the WSDL published by the
server.
|
void |
setCredentials(org.apache.http.auth.Credentials credentials)
Sets the
Credentials authorizing this session. |
void |
setUseLocalWsdl(boolean useLocalWsdl)
When set to true, a wsdl stored on the local file system shall be used instead of the WSDL published by the
server.
|
public void close()
public boolean isUseLocalWsdl()
public void setUseLocalWsdl(boolean useLocalWsdl)
useLocalWsdl - True, to use a wsdl stored on the local file system, instead of the WSDL published by the server.public TLSContext getTlsContext()
getTlsContext in interface Sessionpublic WebServiceProtocol getWebServiceProtocol()
WebServiceProtocol this session is using.getWebServiceProtocol in interface SessionWebServiceProtocol this session is using.public URI getURI(String subPath) throws ResultException
URI pointing to the webservice interface of the session.getURI in interface SessionsubPath - The location of the webservice interface on the webPDF server.URI pointing to the webservice interface of the session.ResultException - a ResultExceptionpublic org.apache.http.auth.Credentials getCredentials()
Credentials authorizing this session.getCredentials in interface SessionCredentials authorizing this session.public void setCredentials(org.apache.http.auth.Credentials credentials)
Credentials authorizing this session.setCredentials in interface Sessioncredentials - The Credentials authorizing this session.public DataFormat getDataFormat()
DataFormat accepted by this session.getDataFormat in interface SessionDataFormat accepted by this session.Copyright © 2017–2019 SoftVision Development GmbH, Fulda, Germany. All rights reserved.