com.sforce.ws.transport
Class SoapConnection
java.lang.Object
com.sforce.ws.transport.SoapConnection
public class SoapConnection
- extends Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoapConnection
public SoapConnection(String url,
String objectNamespace,
TypeMapper typeMapper,
ConnectorConfig config)
setConnection
public void setConnection(Object connection)
setKnownHeaders
public void setKnownHeaders(Map<QName,Class> knownHeaders)
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
public void addHeader(QName sessionHeader,
Object header)
clearHeaders
public void clearHeaders()
Copyright © 2012. All Rights Reserved.