#include <SOAPTransport.h>
Inheritance diagram for SOAPTransport:
Public Methods | |
virtual void | closeConnection ()=0 |
Closes the connection established with OpenConnection. @example AxisTransport.h. | |
virtual void | registerReleaseBufferCallback (AXIS_ENGINE_CALLBACK_RELEASE_SEND_BUFFER pFunct)=0 |
Registers the m_pReleaseBufferCallback callback function. | |
virtual void | setTransportProperty (AXIS_TRANSPORT_INFORMATION_TYPE eType, const char *pcValue)=0 |
Sets a predefined transport property for outgoing message. | |
virtual const char * | getTransportProperty (AXIS_TRANSPORT_INFORMATION_TYPE eType)=0 |
Gets a predefined transport property in the arrived message. | |
virtual void | setTransportProperty (const char *pcKey, const char *pcValue)=0 |
Sets any transport property. | |
virtual const char * | getTransportProperty (const char *pcKey)=0 |
Gets any transport property in the arrived message. | |
virtual void | setAttachment (const char *pcAttachmentid, const char *pcAttachment)=0 |
Sets a SOAP attachment to be sent with outgoing message. | |
virtual const char * | getAttachment (const char *pcAttachmentid)=0 |
Gets an attachment arrived in the inbound message. | |
virtual void | setEndpointUri (const char *pcEndpointUri)=0 |
Sets the remote endpoint for tranport to connect to. | |
virtual void | setSessionId (const char *pcSessionId)=0 |
Sets the session id for the transport session. | |
virtual const char * | getSessionId ()=0 |
Sets the session id for the transport session. | |
virtual const char * | getServiceName ()=0 |
Gets the service name of the web service to be invoked. | |
virtual AXIS_PROTOCOL_TYPE | getProtocol ()=0 |
Gets the protocol type of the transport library. | |
virtual int | getSubProtocol ()=0 |
Gets the sub protocol. | |
virtual AXIS_TRANSPORT_STATUS | flushOutput ()=0 |
Forces transport to send any remaining data of the outgoing message. | |
virtual void | setProxy (const char *pcProxyHost, unsigned int uiProxyPort) |
virtual void | setTimeout (const long lSeconds)=0 |
Protected Attributes | |
char * | m_pcEndpointUri |
AXIS_ENGINE_CALLBACK_RELEASE_SEND_BUFFER | m_pReleaseBufferCallback |
Interface of any Axis transport. Every transpor layer should implement this interface in order to be used with Axis Engine. This interface contain the functionalities independent of the type of transport (whether HTTP, SMTP, etc).
|
Forces transport to send any remaining data of the outgoing message.
|
|
Gets an attachment arrived in the inbound message. Gets an attachment arrived in the inbound message. Usually the SOAP message will contain the information indicating that there is an attachment arrived at the transport. The SOAP message also contain the attachement id which is required to request the transport for the particular attachment.
|
|
Gets the protocol type of the transport library. Gets the protocol type of the transport library. The caller should use this function to check the protocol of the transport layer and should use the transport accordingly.
|
|
Gets the service name of the web service to be invoked. Gets the service name of the web service to be invoked. How this service name is found is upto the type of the transport layer. For example HTTP transports will look at the value of http header "soapAction" and extract the service name. Whereas a SMTP transport will look at recepitent address.
|
|
Sets the session id for the transport session. Gets the session id of the transport session sent by the remote end if any.
|
|
Gets the sub protocol. Gets the sub protocol. The usefulness of this method and the return values depend on the particular implementation. For example HTTP transports should return one of the values defined in enumeration AXIS_HTTP_METHOD. See Packet.h
|
|
Gets any transport property in the arrived message.
|
|
Gets a predefined transport property in the arrived message.
|
|
Registers the m_pReleaseBufferCallback callback function. Registers the callback function which is used by transport layer to inform the caller that a buffer given to be sent was sent and it can be re-used by the caller.
|
|
Sets a SOAP attachment to be sent with outgoing message. Sets a SOAP attachment to be sent with outgoing message. This attachment is usually the base64 or hex encoded character buffer that is null terminated.
|
|
Sets the remote endpoint for tranport to connect to. Sets the the remote endpoint for tranport to connect to. This URI depends on the the transport type.
|
|
Set proxy server and port for transport. Setting the proxy is useful for users who are behind proxies. For some trasports this method may not make sense. Hence this method is not pure virtual. Those trasports that implement this interface, that wish to use proxy, must provide an implementation. Also, the hadling of the proxy is the responsibility of the deriving classes
|
|
Sets the session id for the transport session. Sets the session id for the transport session. Actual usage of this session id is depend on the implementation of the transport.
|
|
Set transport timeout.
|
|
Sets any transport property. Sets any transport property to be included in the outgoing message. This transport property is not persistent in the transport layer. These transport properties should be set for each outgoing message.
|
|
Sets a predefined transport property for outgoing message. Sets a predefined transport property to be included in the outgoing message. This transport property is not persistent in the transport layer. These transport properties should be set for each outgoing message.
|
|
Outgoing endpoint URI |
|
Release buffer callback function registered. Usefull if the transport is accumulating buffers to be sent later. Ex: non-chunked behavior of http transports |