#include <Call.hpp>
Public Types | |
enum | Mode { IN_PARAM, OUT_PARAM, IN_OUT_PARAM } |
Mode of the each parameter: This is not supported yet???, default is set as IN. More... | |
Public Methods | |
Call () | |
virtual | ~Call () |
template<typename T> void | AddParameter (const char *p_pchName, T &p_Value, Mode p_Mode) |
Adds specified parameter to the list of parameters for the operation associated with this Call object. More... | |
template<typename T> void | AddParameter (T &value, Mode mode) |
Adds specified parameter without a name to the list of parameters for the operation associated with this Call object. More... | |
void* | Invoke (const std::string &p_sNs, const std::string &p_sMethod) |
Invokes the operation associated with this Call object using the method name in namespace. More... | |
void* | Invoke () |
Invokes the operation associated with this Call object using info aready provided. More... | |
void | SetTargetEndpointAddress (const char *p_pchUrl) |
Set romote address of the Web Service. More... | |
void | SetMethodNamespaceURI (const char *p_pchOpNsURI) |
set the method namespace URI. More... | |
void | SetOperationName (const char *p_pchOpName) |
Sets the operation name associated with this Call object. More... | |
void | AddSerializerFactory (const std::string &p_sTypName, SerializerFactory *p_pSer) |
Set XML Mapping for user defined data types. More... | |
void | SetEncodingStyle (const std::string &p_sNsURI) |
Sets the encoding style to the URL passed in. More... | |
void | ClearAllParams () |
Clears the list of parameters. More... | |
Private Methods | |
void | Cleanup () |
Clean up any memory associated with this call object. More... | |
Private Attributes | |
std::vector<Param*> | m_vArgs |
Vectore of arguments. More... | |
std::string | m_strOpName |
Operation/method name. More... | |
std::string | m_strMethodNsURI |
Method namespace URI. More... | |
std::string | m_ServerURL |
Remote address of the Web service. More... | |
std::string | m_EncStyle |
Encoding style. More... | |
SOAPMsgContext* | m_pClientCtx |
SOAP Message handler. More... |
RPC Dynamic Invocation interface. This class should be used to actually invoke the Web Service from Client side. The stratergy of calling this interface is as follows: Set up & configure a object of this class with following informations:
Definition at line 98 of file Call.hpp.
|
Mode of the each parameter: This is not supported yet???, default is set as IN.
|
|
Create a Call object and initialize Message Context |
|
Clean up the object for shutting down the Web service. |
|
Adds specified parameter without a name to the list of parameters for the operation associated with this Call object. Adds the specified parameter to the list of parameters for the operation associated with this Call object. This method should be called by the client to pass parameters on the method; call should be made on this according to the order of parameters that should be passed on the method. Store each param in a vector as name-value pair with the data type Qualified name accord XML Schema Part 2 Datatype. Param name is generated like arg0, arg1 etc. accordingh to it place in the vectore.
|
|
Adds specified parameter to the list of parameters for the operation associated with this Call object. Adds the specified parameter to the list of parameters for the operation associated with this Call object. This method should be called by the client to pass parameters on the method; call should be made on this according to the order of parameters that should be passed on the method. Store each param in a vector as name-value pair with the data type Qualified name according to XML Schema Part 2 Datatype.
|
|
Set XML Mapping for user defined data types. Map a type for XML serialization & deserialization
|
|
Clean up any memory associated with this call object. Clean up on an exception Definition at line 255 of file Call.cpp. Referenced by Invoke(), and ~Call().
|
|
Clears the list of parameters. Clears the list of parameters. |
|
Invokes the operation associated with this Call object using info aready provided. Invokes the operation associated with this Call object using the method name in method namespace already provided, Create RPCElements as body element using the vector of params (if any) for the method. All the exceptions of such calls are handle here; do we required to pass such exceptions to the Client????
Definition at line 205 of file Call.cpp. Referenced by Invoke().
|
|
Invokes the operation associated with this Call object using the method name in namespace. Invokes the operation associated with this Call object using the Method namespace & method name provided as the arguments.
|
|
Sets the encoding style to the URL passed in. Sets the encoding style to the URL passed in.
|
|
set the method namespace URI. Sets the operation name associated Namespace URI with this Call object. The validity of the operation namespace is not checked at this point.
|
|
Sets the operation name associated with this Call object. Sets the operation name associated with this Call object. The validity of the operation is not checked at this point.
|
|
Set romote address of the Web Service. Sets the URL of the target Web Service.
|
|
Encoding style.
|
|
Remote address of the Web service.
|
|
SOAP Message handler.
|
|
Method namespace URI.
|
|
Operation/method name.
|
|
Vectore of arguments.
|
Copyright © 2001 SL_OpenSource XML Project. All Rights Reserved