Package com.sforce.ws.transport
Class SoapConnection
java.lang.Object
com.sforce.ws.transport.SoapConnection
SoapConnection can be used to send and receive SOAP messages over the
specified Transport. This class can be used to send any XML data and it
returns the result as XML. This class is ideal to use with doc-literal
web service.
- Since:
- 1.0 Nov 30, 2005
- Version:
- 1.0
- Author:
- http://cheenath.com
-
Constructor Summary
ConstructorsConstructorDescriptionSoapConnection(String url, String objectNamespace, TypeMapper typeMapper, ConnectorConfig config) -
Method Summary
-
Constructor Details
-
SoapConnection
public SoapConnection(String url, String objectNamespace, TypeMapper typeMapper, ConnectorConfig config)
-
-
Method Details
-
setConnection
-
setKnownHeaders
-
send
public XMLizable send(QName requestElement, XMLizable request, QName responseElement, Class responseType) throws ConnectionException - Throws:
ConnectionException
-
send
public XMLizable send(String soapAction, QName requestElement, XMLizable request, QName responseElement, Class responseType) throws ConnectionException - Throws:
ConnectionException
-
addHeader
-
clearHeaders
public void clearHeaders()
-