axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whitl...@apache.org
Subject cvs commit: ws-axis/c/src/engine/client Call.cpp Stub.cpp
Date Fri, 29 Oct 2004 09:53:35 GMT
whitlock    2004/10/29 02:53:35

  Modified:    c/include/axis IAttribute.hpp
               c/include/axis/client Call.hpp Stub.hpp
               c/src/engine Axis.cpp
               c/src/engine/client Call.cpp Stub.cpp
  Log:
  Remove C support from C++ external headers
  
  Revision  Changes    Path
  1.3       +0 -5      ws-axis/c/include/axis/IAttribute.hpp
  
  Index: IAttribute.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/IAttribute.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IAttribute.hpp	25 Oct 2004 15:33:34 -0000	1.2
  +++ IAttribute.hpp	29 Oct 2004 09:53:35 -0000	1.3
  @@ -33,8 +33,6 @@
    *
    */
   
  -#ifdef __cplusplus
  -
   class IAttribute
   {
   public:        
  @@ -51,8 +49,5 @@
       virtual const AxisChar* getLocalName() = 0;
   
   };
  -
  -#endif
  -
   
   #endif
  
  
  
  1.4       +0 -403    ws-axis/c/include/axis/client/Call.hpp
  
  Index: Call.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/client/Call.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Call.hpp	28 Oct 2004 11:14:00 -0000	1.3
  +++ Call.hpp	29 Oct 2004 09:53:35 -0000	1.4
  @@ -50,14 +50,11 @@
   
   #include "../server/GDefine.hpp"
   #include "../server/Packet.hpp"
  -
   #include "../server/TypeMapping.hpp"
   #include "../server/AxisUserAPI.hpp"
   #include "../server/SoapEnvVersions.hpp"
   #include "../server/WSDDDefines.hpp"
   #include "../server/IHeaderBlock.hpp"
  -
  -#ifdef __cplusplus
   #include "../server/ISoapHeader.hpp"
   
   AXIS_CPP_NAMESPACE_START
  @@ -68,175 +65,6 @@
   class SoapDeSerializer;
   class SoapSerializer;
   
  -AXIS_CPP_NAMESPACE_END
  -
  -#else
  -#endif
  -
  -AXIS_CPP_NAMESPACE_USE
  -
  -typedef struct {
  -    void (AXISCALL* setSOAPVersion)(void* pObj, SOAP_VERSION version);
  -    int (AXISCALL* setTransportProperty)(void* pObj,
  -        AXIS_TRANSPORT_INFORMATION_TYPE type, const char* value);
  -    int (AXISCALL* setHandlerProperty)(void* pObj,
  -        AxisChar* name, void* value, int len);
  -    int (AXISCALL* setProtocol)(void* pObj, AXIS_PROTOCOL_TYPE protocol);
  -    int (AXISCALL* initialize)(void* pObj, PROVIDERTYPE nStyle, int secure);
  -    int (AXISCALL* invoke)(void* pObj);
  -    int (AXISCALL* unInitialize)(void* pObj);
  -
  -    /* Method that set the remote method name */
  -    void (AXISCALL* setOperation)(void* pObj, const char* pchOperation,
  -        const char* pchNamespace);
  -    int (AXISCALL* setEndpointURI)(void* pObj, const char* pchEndpointURI);
  -
  -    /* Method for adding complex parameters */
  -    void (AXISCALL* addCmplxParameter)(void* pObj, void* pObject,
  -        void* pSZFunct, void* pDelFunct, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    /* Method for adding complex type array parameters */
  -    void (AXISCALL* addCmplxArrayParameter)(void* pObj, Axis_Array* pArray,
  -        void* pSZFunct, void* pDelFunct, void* pSizeFunct,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    /* Method for adding basic type array parameters */
  -    void (AXISCALL* addBasicArrayParameter)(void* pObj, Axis_Array* pArray,
  -        XSDTYPE nType, const char* pName);
  -    /* Method for adding parameters of basic types */
  -    void (AXISCALL* addParameter)(void* pObj, void* pValue,const char* pName,
  -        XSDTYPE nType);
  -
  -    /* Methods used by stubs to get a deserialized value of an XML element
  -     * as basic types
  -     */
  -    int (AXISCALL* getElementAsInt)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    xsd__boolean (AXISCALL* getElementAsBoolean)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    unsigned int (AXISCALL* getElementAsUnsignedInt)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    short (AXISCALL* getElementAsShort)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    unsigned short (AXISCALL* getElementAsUnsignedShort)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    char (AXISCALL* getElementAsByte)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    unsigned char (AXISCALL* getElementAsUnsignedByte)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    long (AXISCALL* getElementAsLong)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    long (AXISCALL* getElementAsInteger)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    unsigned long (AXISCALL* getElementAsUnsignedLong)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    float (AXISCALL* getElementAsFloat)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    double (AXISCALL* getElementAsDouble)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    double (AXISCALL* getElementAsDecimal)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    AxisChar* (AXISCALL* getElementAsString)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    AxisChar* (AXISCALL* getElementAsAnyURI)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    AxisChar* (AXISCALL* getElementAsQName)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    xsd__hexBinary (AXISCALL* getElementAsHexBinary)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    xsd__base64Binary (AXISCALL* getElementAsBase64Binary)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    struct tm (AXISCALL* getElementAsDateTime)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    struct tm (AXISCALL* getElementAsDate)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    struct tm (AXISCALL* getElementAsTime)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    long (AXISCALL* getElementAsDuration)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -
  -    /* Methods used by stubs to get a deserialized value of an XML attribute
  -     * basic types
  -     */
  -    int (AXISCALL* getAttributeAsInt)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    xsd__boolean (AXISCALL* getAttributeAsBoolean)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    unsigned int (AXISCALL* getAttributeAsUnsignedInt)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    short (AXISCALL* getAttributeAsShort)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    unsigned short (AXISCALL* getAttributeAsUnsignedShort)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    char (AXISCALL* getAttributeAsByte)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    unsigned char (AXISCALL* getAttributeAsUnsignedByte)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    long (AXISCALL* getAttributeAsLong)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    long (AXISCALL* getAttributeAsInteger)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    unsigned long (AXISCALL* getAttributeAsUnsignedLong)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    float (AXISCALL* getAttributeAsFloat)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    double (AXISCALL* getAttributeAsDouble)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    double (AXISCALL* getAttributeAsDecimal)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    AxisChar* (AXISCALL* getAttributeAsString)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    AxisChar* (AXISCALL* getAttributeAsAnyURI)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    AxisChar* (AXISCALL* getAttributeAsQName)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    xsd__hexBinary (AXISCALL* getAttributeAsHexBinary)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    xsd__base64Binary (AXISCALL* getAttributeAsBase64Binary)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    struct tm (AXISCALL* getAttributeAsDateTime)(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    struct tm (AXISCALL* getAttributeAsDate)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    struct tm (AXISCALL* getAttributeAsTime)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    long (AXISCALL* getAttributeAsDuration)(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -
  -    /* Method used by stubs to get a deserialized value of complex types */
  -    void* (AXISCALL* getCmplxObject)(void* pObj, void* pDZFunct,
  -        void* pCreFunct, void* pDelFunct, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -    /* Method used by stubs to get a deserialized Array of complex types */
  -    Axis_Array (AXISCALL* getCmplxArray)(void* pObj, void* pDZFunct,
  -        void* pCreFunct, void* pDelFunct, void* pSizeFunct,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -    /* Method used by stubs to get a deserialized Array of basic types */
  -    Axis_Array (AXISCALL* getBasicArray)(void* pObj, XSDTYPE nType,
  -        const AxisChar* pName, const AxisChar* pNamespace);
  -
  -    int (AXISCALL* checkMessage)(void *pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -
  -    void* (AXISCALL* checkFault)(void *pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace);
  -
  -    /* Minimal error check */
  -    int (AXISCALL* getStatus)(void *pObj);
  -
  -    AnyType* (AXISCALL* getAnyObject)(void *pObj);
  -
  -    int (AXISCALL* addAnyObject)(void *pObj, AnyType* pAnyObject);
  -
  -    const AxisChar* (AXISCALL* getNamespacePrefix)(void *pObj,
  -        const AxisChar* pNamespace);
  -
  -    HeaderBlock_C (AXISCALL* createHeaderBlock)(void *pObj,
  -        AxisChar *pachLocalName, AxisChar *pachUri);
  -
  -} CallFunctions;
  -
  -#ifdef __cplusplus
  -AXIS_CPP_NAMESPACE_START
   class STORAGE_CLASS_INFO CallBase
   {
   public:
  @@ -393,233 +221,7 @@
       virtual IHeaderBlock* AXISCALL createHeaderBlock(AxisChar *pachLocalName,
           AxisChar *pachUri)=0;
   
  -    /* following stuff is needed to provide the interface for C web services */
  -public:
  -    static CallFunctions ms_VFtable;
       static bool bInitialized;
  -    /* add static functions for all interface functions here */
  -    static void AXISCALL s_SetSOAPVersion(void* pObj, SOAP_VERSION version)
  -    {((CallBase*)pObj)->setSOAPVersion(version);};
  -    static int AXISCALL s_SetTransportProperty(void* pObj,
  -        AXIS_TRANSPORT_INFORMATION_TYPE type, const char* value)
  -    { return ((CallBase*)pObj)->setTransportProperty(type,value);};
  -    static int AXISCALL s_SetHandlerProperty(void* pObj,
  -        AxisChar* name, void* value, int len)
  -    { return ((CallBase*)pObj)->setHandlerProperty(name,value,len);};
  -    static int AXISCALL s_SetProtocol(void* pObj, AXIS_PROTOCOL_TYPE protocol)
  -    { return ((CallBase*)pObj)->setProtocol(protocol);};
  -    static int AXISCALL s_InitializeCall(void* pObj, PROVIDERTYPE nStyle,
  -        int secure)
  -    { return ((CallBase*)pObj)->initialize(nStyle, secure);};
  -    static int AXISCALL s_Invoke(void* pObj)
  -    { return ((CallBase*)pObj)->invoke();};
  -    static int AXISCALL s_UnInitialize(void* pObj)
  -    { return ((CallBase*)pObj)->unInitialize();};
  -
  -    /* Method that set the remote method name */
  -    static void AXISCALL s_SetOperation(void* pObj, const char* pchOperation,
  -        const char* pchNamespace)
  -    { ((CallBase*)pObj)->setOperation(pchOperation, pchNamespace);};
  -    static int AXISCALL s_SetEndpointURI(void* pObj,
  -        const char* pchEndpointURI)
  -    { return ((CallBase*)pObj)->setEndpointURI(pchEndpointURI);};
  -
  -    static void AXISCALL s_AddParameter(void* pObj, void* pValue,
  -        const AxisChar* pchName, XSDTYPE type)
  -    { ((CallBase*)pObj)->addParameter(pValue, pchName, type);};
  -    static void AXISCALL s_AddCmplxArrayParameter(void* pObj,
  -        Axis_Array* pArray, void* pSZFunct, void* pDelFunct, void* pSizeFunct,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { ((CallBase*)pObj)->addCmplxArrayParameter(pArray, pSZFunct, pDelFunct,
  -        pSizeFunct, pName, pNamespace);};
  -    static void AXISCALL s_AddBasicArrayParameter(void* pObj,
  -        Axis_Array* pArray, XSDTYPE nType, const AxisChar* pName)
  -    { ((CallBase*)pObj)->addBasicArrayParameter(pArray, nType, pName);};
  -    static void AXISCALL s_AddCmplxParameter(void* pObj, void* pObject,
  -        void* pDZFunct, void* pDelFunct, const AxisChar* pName,
  -        const AxisChar* pNamespace)
  -    { ((CallBase*)pObj)->addCmplxParameter(pObject, pDZFunct, pDelFunct, pName,
  -        pNamespace);};
  -
  -    static int AXISCALL s_GetElementAsInt(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsInt(pName, pNamespace);};
  -    static xsd__boolean AXISCALL s_GetElementAsBoolean(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsBoolean(pName, pNamespace);};
  -    static unsigned int AXISCALL s_GetElementAsUnsignedInt(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsUnsignedInt(pName, pNamespace);};
  -    static short AXISCALL s_GetElementAsShort(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsShort(pName, pNamespace);};
  -    static unsigned short AXISCALL s_GetElementAsUnsignedShort(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsUnsignedShort(pName, pNamespace);};
  -    static char AXISCALL s_GetElementAsByte(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsByte(pName, pNamespace);};
  -    static unsigned char AXISCALL s_GetElementAsUnsignedByte(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsUnsignedByte(pName, pNamespace);};
  -    static long AXISCALL s_GetElementAsLong(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsLong(pName, pNamespace);};
  -    static long AXISCALL s_GetElementAsInteger(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsInteger(pName, pNamespace);};
  -    static unsigned long AXISCALL s_GetElementAsUnsignedLong(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsUnsignedLong(pName, pNamespace);};
  -    static float AXISCALL s_GetElementAsFloat(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsFloat(pName, pNamespace);};
  -    static double AXISCALL s_GetElementAsDouble(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsDouble(pName, pNamespace);};
  -    static double AXISCALL s_GetElementAsDecimal(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsDecimal(pName, pNamespace);};
  -    static AxisChar* AXISCALL s_GetElementAsString(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsString(pName, pNamespace);};
  -    static AxisChar* AXISCALL s_GetElementAsAnyURI(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsAnyURI(pName, pNamespace);};
  -    static AxisChar* AXISCALL s_GetElementAsQName(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsQName(pName, pNamespace);};
  -    static xsd__hexBinary AXISCALL s_GetElementAsHexBinary(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsHexBinary(pName, pNamespace);};
  -    static xsd__base64Binary AXISCALL s_GetElementAsBase64Binary(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsBase64Binary(pName, pNamespace);};
  -    static struct tm AXISCALL s_GetElementAsDateTime(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsDateTime(pName, pNamespace);};
  -    static struct tm AXISCALL s_GetElementAsDate(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsDate(pName, pNamespace);};
  -    static struct tm AXISCALL s_GetElementAsTime(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsTime(pName, pNamespace);};
  -    static long AXISCALL s_GetElementAsDuration(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getElementAsDuration(pName, pNamespace);};
  -
  -    static int AXISCALL s_GetAttributeAsInt(void* pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsInt(pName, pNamespace);};
  -    static xsd__boolean AXISCALL s_GetAttributeAsBoolean(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsBoolean(pName, pNamespace);};
  -    static unsigned int AXISCALL s_GetAttributeAsUnsignedInt(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsUnsignedInt(pName, pNamespace);};
  -    static short AXISCALL s_GetAttributeAsShort(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsShort(pName, pNamespace);};
  -    static unsigned short AXISCALL s_GetAttributeAsUnsignedShort(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsUnsignedShort(pName,
  -        pNamespace);};
  -    static char AXISCALL s_GetAttributeAsByte(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsByte(pName, pNamespace);};
  -    static unsigned char AXISCALL s_GetAttributeAsUnsignedByte(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsUnsignedByte(pName,
  -        pNamespace);};
  -    static long AXISCALL s_GetAttributeAsLong(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsLong(pName, pNamespace);};
  -    static long AXISCALL s_GetAttributeAsInteger(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsInteger(pName, pNamespace);};
  -    static unsigned long AXISCALL s_GetAttributeAsUnsignedLong(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsUnsignedLong(pName,
  -        pNamespace);};
  -    static float AXISCALL s_GetAttributeAsFloat(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsFloat(pName, pNamespace);};
  -    static double AXISCALL s_GetAttributeAsDouble(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsDouble(pName, pNamespace);};
  -    static double AXISCALL s_GetAttributeAsDecimal(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsDecimal(pName, pNamespace);};
  -    static AxisChar* AXISCALL s_GetAttributeAsString(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsString(pName, pNamespace);};
  -    static AxisChar* AXISCALL s_GetAttributeAsAnyURI(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsAnyURI(pName, pNamespace);};
  -    static AxisChar* AXISCALL s_GetAttributeAsQName(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsQName(pName, pNamespace);};
  -    static xsd__hexBinary AXISCALL s_GetAttributeAsHexBinary(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsHexBinary(pName, pNamespace);};
  -    static xsd__base64Binary AXISCALL s_GetAttributeAsBase64Binary(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsBase64Binary(pName,
  -        pNamespace);};
  -    static struct tm AXISCALL s_GetAttributeAsDateTime(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsDateTime(pName, pNamespace);};
  -    static struct tm AXISCALL s_GetAttributeAsDate(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsDate(pName, pNamespace);};
  -    static struct tm AXISCALL s_GetAttributeAsTime(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsTime(pName, pNamespace);};
  -    static long AXISCALL s_GetAttributeAsDuration(void* pObj,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    { return ((CallBase*)pObj)->getAttributeAsDuration(pName, pNamespace);};
  -
  -    static Axis_Array AXISCALL s_GetCmplxArray(void* pObj, void* pDZFunct,
  -        void* pCreFunct, void* pDelFunct, void* pSizeFunct,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    {return ((CallBase*)pObj)->getCmplxArray(pDZFunct, pCreFunct, pDelFunct,
  -        pSizeFunct, pName, pNamespace);};
  -    static Axis_Array AXISCALL s_GetBasicArray(void* pObj, XSDTYPE nType,
  -        const AxisChar* pName, const AxisChar* pNamespace)
  -    {return ((CallBase*)pObj)->getBasicArray(nType, pName, pNamespace);};
  -    static void* AXISCALL s_GetCmplxObject(void* pObj, void* pDZFunct,
  -        void* pCreFunct, void* pDelFunct, const AxisChar* pName,
  -        const AxisChar* pNamespace)
  -    {return ((CallBase*)pObj)->getCmplxObject(pDZFunct, pCreFunct, pDelFunct,
  -        pName, pNamespace);};
  -
  -    static int AXISCALL s_CheckMessage(void *pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace)
  -    {return ((CallBase*)pObj)->checkMessage(pName, pNamespace);};
  -
  -    static void* AXISCALL s_CheckFault(void *pObj, const AxisChar* pName,
  -        const AxisChar* pNamespace)
  -    {return ((CallBase*)pObj)->checkFault(pName, pNamespace);};
  -
  -    /* Minimal error check */
  -    static int AXISCALL s_GetStatus(void *pObj)
  -    {return ((CallBase*)pObj)->getStatus();};
  -
  -    static AnyType* AXISCALL s_GetAnyObject(void *pObj)
  -    {return ((CallBase*)pObj)->getAnyObject();};
  -
  -    static int AXISCALL s_AddAnyObject(void *pObj, AnyType* pAnyObject)
  -    {return ((CallBase*)pObj)->addAnyObject(pAnyObject);};
  -
  -    static const AxisChar* AXISCALL s_GetNamespacePrefix(void *pObj,
  -        const AxisChar* pNamespace)
  -    {return ((CallBase*)pObj)->getNamespacePrefix(pNamespace);};
  -
  -    static HeaderBlock_C AXISCALL s_CreateHeaderBlock(void *pObj,
  -        AxisChar *pachLocalName, AxisChar *pachUri);
  -
  -    /* and populate ms_VFtable with corresponding entry */
  -    static void s_Initialize();
   };
   
   /* A separate call class object should be used by each thread */
  @@ -838,16 +440,11 @@
   
   };
   AXIS_CPP_NAMESPACE_END
  -#endif
   
  -#ifdef __cplusplus
   extern "C" { 
  -#endif
   STORAGE_CLASS_INFO void* getStubObject(AXIS_PROTOCOL_TYPE nProtocol, 
                                          AxisChar* pchEndpointURI); 
   STORAGE_CLASS_INFO void destroyStubObject(void* pCall); 
  -#ifdef __cplusplus
   } 
  -#endif
   
   #endif
  
  
  
  1.3       +0 -133    ws-axis/c/include/axis/client/Stub.hpp
  
  Index: Stub.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/client/Stub.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Stub.hpp	25 Oct 2004 15:34:41 -0000	1.2
  +++ Stub.hpp	29 Oct 2004 09:53:35 -0000	1.3
  @@ -63,69 +63,10 @@
   
   #include <axis/client/Call.hpp>
   #include <axis/server/Attribute.hpp>
  -
  -#ifdef __cplusplus
  -
   #include <vector>
   
  -AXIS_CPP_NAMESPACE_START
  -
   using namespace std;
   
  -AXIS_CPP_NAMESPACE_END
  -
  -#endif
  -
  -/**
  - * @struct StubFunctions
  - *
  - * Structure that defines the set of function pointers that correspond
  - * to the Stub base class's functions. These functions are provided to
  - * C Stubs by Axis in order to have the same functionalities as those
  - * in Stub base class.
  - * @brief Structure with function pointer definitions to provide Stub
  - *        base class's functionalities for C stubs.
  - */
  -typedef struct {
  -    void (AXISCALL* setEndpoint)(void* pObj, const char* pchEndpoint);
  -    void (AXISCALL* setTransportProperty)(void* pObj, 
  -        const char *pcKey, const char *pcValue);
  -    char* (AXISCALL* getFirstTrasportPropertyKey)(void* pObj);
  -    char* (AXISCALL* getNextTrasportPropertyKey)(void* pObj);
  -    char* (AXISCALL* getCurrentTrasportPropertyKey)(void* pObj);
  -    char* (AXISCALL* getCurrentTrasportPropertyValue)(void* pObj);
  -    void (AXISCALL* deleteCurrentTrasportProperty)(void* pObj);
  -    void (AXISCALL* deleteTrasportProperty)(void* pObj, char* pcKey, 
  -        unsigned int uiOccurance);
  -    void (AXISCALL* setHandlerProperty)(void* pObj, AxisChar* name, 
  -		void* value, int len);
  -    HeaderBlock_C (AXISCALL* createSOAPHeaderBlock)(void* pObj, 
  -        AxisChar * pachLocalName, AxisChar * pachUri);
  -    HeaderBlock_C (AXISCALL* getFirstSOAPHeaderBlock)(void* pObj);
  -    HeaderBlock_C (AXISCALL* getNextSOAPHeaderBlock)(void* pObj);
  -    HeaderBlock_C (AXISCALL* getCurrentSOAPHeaderBlock)(void* pObj);
  -    void (AXISCALL* deleteCurrentSOAPHeaderBlock)(void* pObj);
  -    void (AXISCALL* deleteSOAPHeaderBlock)(void* pObj,
  -        HeaderBlock_C hdrBlk);
  -    void (AXISCALL* setProxy)(void* pObj, const char* pcProxyHost,
  -        unsigned int uiProxyPort);
  -    void (AXISCALL* setSOAPMethodAttribute)(void* pObj,
  -        const AxisChar *pLocalname, const AxisChar *pPrefix,
  -        const AxisChar* pUri, const AxisChar *pValue);
  -    Attribute_C (AXISCALL* getFirstSOAPMethodAttribute)(void* pObj);
  -    Attribute_C (AXISCALL* getNextSOAPMethodAttribute)(void* pObj);
  -    Attribute_C (AXISCALL* getCurrentSOAPMethodAttribute)(void* pObj);
  -    void (AXISCALL* deleteCurrentSOAPMethodAttribute)(void* pObj);
  -    void (AXISCALL* deleteSOAPMethodAttribute)(void* pObj,
  -        Attribute_C Attr);
  -    void (AXISCALL* setTransportTimeout)(void* pObj, const long lSeconds);
  -       int (AXISCALL* getStatus)(void* pObj);
  -    const AxisChar* (AXISCALL* getNamespacePrefix)(void* pObj,
  -        const AxisChar* pNamespace);
  -} StubFunctions;
  -
  -#ifdef __cplusplus
  -
   /**
    * @class Stub
    *
  @@ -548,67 +489,6 @@
       */
       const AxisChar* AXISCALL getNamespacePrefix(const AxisChar* pNamespace);
   
  -  public:
  -    static StubFunctions ms_VFtable;
  -    static bool bInitialized;
  -    /* add static functions for all interface functions here */
  -    static void AXISCALL s_setEndpoint(void* pObj, const char* pchEndpoint)
  -    {((Stub*)pObj)->setEndPoint(pchEndpoint);};
  -    static void AXISCALL s_setTransportProperty(void* pObj, 
  -        const char *pcKey, const char *pcValue)
  -    {((Stub*)pObj)->setTransportProperty(pcKey, pcValue);};
  -    static char* AXISCALL s_getFirstTrasportPropertyKey(void* pObj)
  -    {return ((Stub*)pObj)->getFirstTrasportPropertyKey();};
  -    static char* AXISCALL s_getNextTrasportPropertyKey(void* pObj)
  -    {return ((Stub*)pObj)->getNextTrasportPropertyKey();};
  -    static char* AXISCALL s_getCurrentTrasportPropertyKey(void* pObj)
  -    {return ((Stub*)pObj)->getCurrentTrasportPropertyKey();};
  -    static char* AXISCALL s_getCurrentTrasportPropertyValue(void* pObj)
  -    {return ((Stub*)pObj)->getCurrentTrasportPropertyValue();};
  -    static void AXISCALL s_deleteCurrentTrasportProperty(void* pObj)
  -    {((Stub*)pObj)->deleteCurrentTrasportProperty();};
  -    static void AXISCALL s_deleteTrasportProperty(void* pObj, char* pcKey, 
  -        unsigned int uiOccurance)
  -    {((Stub*)pObj)->deleteTrasportProperty(pcKey, uiOccurance);};
  -    static void AXISCALL s_setHandlerProperty(void* pObj, AxisChar* name, 
  -		void* value, int len)
  -    {((Stub*)pObj)->setHandlerProperty(name, value, len);};
  -    static HeaderBlock_C AXISCALL s_createSOAPHeaderBlock(void* pObj, 
  -        AxisChar * pachLocalName, AxisChar * pachUri);
  -    static HeaderBlock_C AXISCALL s_getFirstSOAPHeaderBlock(void* pObj);
  -    static HeaderBlock_C AXISCALL s_getNextSOAPHeaderBlock(void* pObj);
  -    static HeaderBlock_C AXISCALL s_getCurrentSOAPHeaderBlock(void* pObj);
  -    static void AXISCALL s_deleteCurrentSOAPHeaderBlock(void* pObj)
  -    {((Stub*)pObj)->deleteCurrentSOAPHeaderBlock();};
  -    static void AXISCALL s_deleteSOAPHeaderBlock(void* pObj,
  -        HeaderBlock_C hdrBlk)
  -    {((Stub*)pObj)->deleteSOAPHeaderBlock((IHeaderBlock*)hdrBlk._object);};
  -    static void AXISCALL s_setProxy(void* pObj, const char* pcProxyHost,
  -        unsigned int uiProxyPort)
  -    {((Stub*)pObj)->setProxy(pcProxyHost, uiProxyPort);};
  -    static void AXISCALL s_setSOAPMethodAttribute(void* pObj,
  -        const AxisChar *pLocalname, const AxisChar *pPrefix,
  -        const AxisChar* pUri, const AxisChar *pValue)
  -    {((Stub*)pObj)->setSOAPMethodAttribute(pLocalname, pPrefix, pUri,
  -                                            pValue);};
  -    static Attribute_C AXISCALL s_getFirstSOAPMethodAttribute(void* pObj);
  -    static Attribute_C AXISCALL s_getNextSOAPMethodAttribute(void* pObj);
  -    static Attribute_C AXISCALL s_getCurrentSOAPMethodAttribute(void* pObj);
  -    static void AXISCALL s_deleteCurrentSOAPMethodAttribute(void* pObj)
  -    {((Stub*)pObj)->deleteCurrentSOAPMethodAttribute();};
  -    static void AXISCALL s_deleteSOAPMethodAttribute(void* pObj,
  -        Attribute_C Attr)
  -    {((Stub*)pObj)->deleteSOAPMethodAttribute((Attribute*)Attr._object);};
  -    static void AXISCALL s_setTransportTimeout(void* pObj,
  -        const long lSeconds)
  -    {((Stub*)pObj)->setTransportTimeout(lSeconds);};
  -       static int AXISCALL s_getStatus(void* pObj)
  -    {return ((Stub*)pObj)->getStatus();};
  -    static const AxisChar* AXISCALL s_getNamespacePrefix(void* pObj,
  -        const AxisChar* pNamespace)
  -    {return ((Stub*)pObj)->getNamespacePrefix(pNamespace);};
  -    static void s_Initialize();
  -
     protected:
     /**
       * Apply user set preferences to each call made on the Stub object.
  @@ -696,18 +576,5 @@
   };
   
   AXIS_CPP_NAMESPACE_END
  -
  -#endif
  -
  -typedef struct { 
  -    void* _object; /* this will be C++ Call Object */
  -    CallFunctions* _functions; /* this is the static function table */
  -    void* _stub_object; /* the stub object */
  -    StubFunctions* _stub_functions; /* this is the static function table */
  -} Call_C;
  -
  -#ifndef __cplusplus
  -typedef Call_C Call; 
  -#endif
   
   #endif /* !defined(_STUB_H____OF_AXIS_INCLUDED_) */
  
  
  
  1.77      +0 -5      ws-axis/c/src/engine/Axis.cpp
  
  Index: Axis.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/Axis.cpp,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- Axis.cpp	26 Oct 2004 10:21:59 -0000	1.76
  +++ Axis.cpp	29 Oct 2004 09:53:35 -0000	1.77
  @@ -254,11 +254,6 @@
       TypeMapping::initialize ();
       URIMapping::initialize ();
       SoapFault::initialize ();
  -
  -
  -#ifdef AXIS_CLIENT_LIB
  -    CallBase::s_Initialize ();
  -#endif
       IWrapperSoapDeSerializer::s_Initialize ();
       IWrapperSoapSerializer::s_Initialize ();
       IMessageData::s_Initialize ();
  
  
  
  1.65      +0 -83     ws-axis/c/src/engine/client/Call.cpp
  
  Index: Call.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/client/Call.cpp,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- Call.cpp	26 Oct 2004 10:22:00 -0000	1.64
  +++ Call.cpp	29 Oct 2004 09:53:35 -0000	1.65
  @@ -45,7 +45,6 @@
   AXIS_CPP_NAMESPACE_USE
   
   bool CallBase::bInitialized = false;
  -CallFunctions CallBase::ms_VFtable;
   
   Call::Call ()
   :m_pcEndPointUri(NULL), m_strProxyHost(""), m_uiProxyPort(0), m_bUseProxy(false), m_bModuleInitialized(false)
  @@ -662,85 +661,3 @@
       return m_pIWSSZ->getNamespacePrefix(pNamespace);
   }
   
  -HeaderBlock_C CallBase::s_CreateHeaderBlock(void *pObj, 
  -    AxisChar *pachLocalName, AxisChar *pachUri)
  -{
  -	HeaderBlock_C blk;
  -	blk._functions = &(IHeaderBlock::ms_VFtable);
  -	blk._object = ((CallBase*)pObj)->createHeaderBlock(pachLocalName,
  -		pachUri);
  -	return blk;
  -}
  -
  -void CallBase::s_Initialize()
  -{	
  -	if (bInitialized) return;
  -	bInitialized = true;
  -	ms_VFtable.setSOAPVersion = s_SetSOAPVersion;
  -	ms_VFtable.setTransportProperty = s_SetTransportProperty;
  -	ms_VFtable.setHandlerProperty = s_SetHandlerProperty;
  -	ms_VFtable.setProtocol = s_SetProtocol;
  -	ms_VFtable.initialize = s_InitializeCall;
  -	ms_VFtable.invoke = s_Invoke;
  -	ms_VFtable.unInitialize = s_UnInitialize;
  -	ms_VFtable.setOperation = s_SetOperation;
  -	ms_VFtable.setEndpointURI = s_SetEndpointURI;
  -	ms_VFtable.addParameter = s_AddParameter;
  -	ms_VFtable.addCmplxArrayParameter = s_AddCmplxArrayParameter;
  -	ms_VFtable.addBasicArrayParameter = s_AddBasicArrayParameter;
  -	ms_VFtable.addCmplxParameter = s_AddCmplxParameter;
  -	ms_VFtable.getCmplxArray = s_GetCmplxArray;
  -	ms_VFtable.getBasicArray = s_GetBasicArray;
  -	ms_VFtable.getCmplxObject = s_GetCmplxObject;
  -	ms_VFtable.getElementAsInt = s_GetElementAsInt;
  -	ms_VFtable.getElementAsBoolean = s_GetElementAsBoolean;
  -	ms_VFtable.getElementAsUnsignedInt = s_GetElementAsUnsignedInt;
  -	ms_VFtable.getElementAsShort = s_GetElementAsShort;
  -	ms_VFtable.getElementAsUnsignedShort = s_GetElementAsUnsignedShort;
  -	ms_VFtable.getElementAsByte = s_GetElementAsByte;
  -	ms_VFtable.getElementAsUnsignedByte = s_GetElementAsUnsignedByte;
  -	ms_VFtable.getElementAsLong = s_GetElementAsLong;
  -	ms_VFtable.getElementAsInteger = s_GetElementAsInteger;
  -	ms_VFtable.getElementAsUnsignedLong = s_GetElementAsUnsignedLong;
  -	ms_VFtable.getElementAsFloat = s_GetElementAsFloat;
  -	ms_VFtable.getElementAsDouble = s_GetElementAsDouble;
  -	ms_VFtable.getElementAsDecimal = s_GetElementAsDecimal;
  -	ms_VFtable.getElementAsString = s_GetElementAsString;
  -	ms_VFtable.getElementAsAnyURI = s_GetElementAsAnyURI;
  -	ms_VFtable.getElementAsQName = s_GetElementAsQName;
  -	ms_VFtable.getElementAsHexBinary = s_GetElementAsHexBinary;
  -	ms_VFtable.getElementAsBase64Binary = s_GetElementAsBase64Binary;
  -	ms_VFtable.getElementAsDateTime = s_GetElementAsDateTime;
  -	ms_VFtable.getElementAsDate = s_GetElementAsDate;
  -	ms_VFtable.getElementAsTime = s_GetElementAsTime;
  -	ms_VFtable.getElementAsDuration = s_GetElementAsDuration;
  -	ms_VFtable.getAttributeAsInt = s_GetAttributeAsInt;
  -	ms_VFtable.getAttributeAsBoolean = s_GetAttributeAsBoolean;
  -	ms_VFtable.getAttributeAsUnsignedInt = s_GetAttributeAsUnsignedInt;
  -	ms_VFtable.getAttributeAsShort = s_GetAttributeAsShort;
  -	ms_VFtable.getAttributeAsUnsignedShort = s_GetAttributeAsUnsignedShort;
  -	ms_VFtable.getAttributeAsByte = s_GetAttributeAsByte;
  -	ms_VFtable.getAttributeAsUnsignedByte = s_GetAttributeAsUnsignedByte;
  -	ms_VFtable.getAttributeAsLong = s_GetAttributeAsLong;
  -	ms_VFtable.getAttributeAsInteger = s_GetAttributeAsInteger;
  -	ms_VFtable.getAttributeAsUnsignedLong = s_GetAttributeAsUnsignedLong;
  -	ms_VFtable.getAttributeAsFloat = s_GetAttributeAsFloat;
  -	ms_VFtable.getAttributeAsDouble = s_GetAttributeAsDouble;
  -	ms_VFtable.getAttributeAsDecimal = s_GetAttributeAsDecimal;
  -	ms_VFtable.getAttributeAsString = s_GetAttributeAsString;
  -	ms_VFtable.getAttributeAsAnyURI = s_GetAttributeAsAnyURI;
  -	ms_VFtable.getAttributeAsQName = s_GetAttributeAsQName;
  -	ms_VFtable.getAttributeAsHexBinary = s_GetAttributeAsHexBinary;
  -	ms_VFtable.getAttributeAsBase64Binary = s_GetAttributeAsBase64Binary;
  -	ms_VFtable.getAttributeAsDateTime = s_GetAttributeAsDateTime;
  -	ms_VFtable.getAttributeAsDate = s_GetAttributeAsDate;
  -	ms_VFtable.getAttributeAsTime = s_GetAttributeAsTime;
  -	ms_VFtable.getAttributeAsDuration = s_GetAttributeAsDuration;
  -	ms_VFtable.checkMessage = s_CheckMessage;
  -	ms_VFtable.checkFault = s_CheckFault;
  -	ms_VFtable.getStatus = s_GetStatus;
  -	ms_VFtable.getAnyObject = s_GetAnyObject;
  -	ms_VFtable.addAnyObject = s_AddAnyObject;
  -    ms_VFtable.getNamespacePrefix = s_GetNamespacePrefix;
  -    ms_VFtable.createHeaderBlock = s_CreateHeaderBlock;
  -}
  
  
  
  1.20      +1 -109    ws-axis/c/src/engine/client/Stub.cpp
  
  Index: Stub.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/client/Stub.cpp,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Stub.cpp	26 Oct 2004 10:22:00 -0000	1.19
  +++ Stub.cpp	29 Oct 2004 09:53:35 -0000	1.20
  @@ -43,8 +43,7 @@
   #include <axis/server/AxisWrapperAPI.hpp>
   #include "../../soap/SoapSerializer.h"
   
  -StubFunctions Stub::ms_VFtable;
  -bool Stub::bInitialized = false;
  +AXIS_CPP_NAMESPACE_USE
   
   Stub::Stub(const char *pcEndPointUri, AXIS_PROTOCOL_TYPE eProtocol) : m_lTimeoutSeconds(0)
   {
  @@ -416,112 +415,5 @@
   const AxisChar* Stub::getNamespacePrefix(const AxisChar* pNamespace)
   {
       return m_pCall->getNamespacePrefix(pNamespace);
  -}
  -
  -/* global function to be used in C stubs */
  -extern "C" void* getStubObject (AXIS_PROTOCOL_TYPE nProtocol, 
  -    AxisChar* pchEndpointURI)
  -{
  -    Call_C* pCall = (Call_C*) malloc (sizeof (Call_C));
  -    pCall->_object = new Call ();
  -    pCall->_functions = &Call::ms_VFtable;
  -    ((Call*) pCall->_object)->setProtocol (nProtocol);
  -    ((Call*) pCall->_object)->setEndpointURI (pchEndpointURI);
  -    return pCall;
  -}
  -
  -extern "C" void destroyStubObject (void* pCall)
  -{
  -    Call* pObject = (Call*) ((Call_C*)pCall)->_object;
  -    delete pObject;
  -    free (pCall);
  -}
  -
  -HeaderBlock_C Stub::s_createSOAPHeaderBlock(void* pObj, 
  -    AxisChar * pachLocalName, AxisChar * pachUri)
  -{
  -	HeaderBlock_C blk;
  -	blk._functions = &(IHeaderBlock::ms_VFtable);
  -	blk._object = ((Stub*)pObj)->createSOAPHeaderBlock(pachLocalName, pachUri);
  -	return blk;
  -}
  -
  -HeaderBlock_C Stub::s_getFirstSOAPHeaderBlock(void* pObj)
  -{
  -	HeaderBlock_C blk;
  -	blk._functions = &(IHeaderBlock::ms_VFtable);
  -	blk._object = ((Stub*)pObj)->getFirstSOAPHeaderBlock();
  -	return blk;
  -}
  -
  -HeaderBlock_C Stub::s_getNextSOAPHeaderBlock(void* pObj)
  -{
  -	HeaderBlock_C blk;
  -	blk._functions = &(IHeaderBlock::ms_VFtable);
  -	blk._object = ((Stub*)pObj)->getNextSOAPHeaderBlock();
  -	return blk;
  -}
  -
  -HeaderBlock_C Stub::s_getCurrentSOAPHeaderBlock(void* pObj)
  -{
  -	HeaderBlock_C blk;
  -	blk._functions = &(IHeaderBlock::ms_VFtable);
  -	blk._object = ((Stub*)pObj)->getCurrentSOAPHeaderBlock();
  -	return blk;
  -}
  -
  -Attribute_C Stub::s_getFirstSOAPMethodAttribute(void* pObj)
  -{
  -	Attribute_C attr;
  -	attr._functions = &(Attribute::ms_VFtable);
  -	attr._object = ((Stub*)pObj)->getFirstSOAPMethodAttribute();
  -	return attr;
  -}
  -
  -Attribute_C Stub::s_getNextSOAPMethodAttribute(void* pObj)
  -{
  -	Attribute_C attr;
  -	attr._functions = &(Attribute::ms_VFtable);
  -	attr._object = ((Stub*)pObj)->getNextSOAPMethodAttribute();
  -	return attr;
  -}
  -
  -Attribute_C Stub::s_getCurrentSOAPMethodAttribute(void* pObj)
  -{
  -	Attribute_C attr;
  -	attr._functions = &(Attribute::ms_VFtable);
  -	attr._object = ((Stub*)pObj)->getCurrentSOAPMethodAttribute();
  -	return attr;
  -}
  -
  -void Stub::s_Initialize()
  -{	
  -	if (bInitialized) return;
  -	bInitialized = true;
  -	ms_VFtable.setEndpoint = s_setEndpoint;
  -	ms_VFtable.setTransportProperty = s_setTransportProperty;
  -	ms_VFtable.getFirstTrasportPropertyKey = s_getFirstTrasportPropertyKey;
  -	ms_VFtable.getNextTrasportPropertyKey = s_getNextTrasportPropertyKey;
  -	ms_VFtable.getCurrentTrasportPropertyKey = s_getCurrentTrasportPropertyKey;
  -	ms_VFtable.getCurrentTrasportPropertyValue = s_getCurrentTrasportPropertyValue;
  -	ms_VFtable.deleteCurrentTrasportProperty = s_deleteCurrentTrasportProperty;
  -	ms_VFtable.deleteTrasportProperty = s_deleteTrasportProperty;
  -	ms_VFtable.setHandlerProperty = s_setHandlerProperty;
  -	ms_VFtable.createSOAPHeaderBlock = s_createSOAPHeaderBlock;
  -	ms_VFtable.getFirstSOAPHeaderBlock = s_getFirstSOAPHeaderBlock;
  -	ms_VFtable.getNextSOAPHeaderBlock = s_getNextSOAPHeaderBlock;
  -	ms_VFtable.getCurrentSOAPHeaderBlock = s_getCurrentSOAPHeaderBlock;
  -	ms_VFtable.deleteCurrentSOAPHeaderBlock = s_deleteCurrentSOAPHeaderBlock;
  -	ms_VFtable.deleteSOAPHeaderBlock = s_deleteSOAPHeaderBlock;
  -	ms_VFtable.setProxy = s_setProxy;
  -	ms_VFtable.setSOAPMethodAttribute = s_setSOAPMethodAttribute;
  -	ms_VFtable.getFirstSOAPMethodAttribute = s_getFirstSOAPMethodAttribute;
  -	ms_VFtable.getNextSOAPMethodAttribute = s_getNextSOAPMethodAttribute;
  -	ms_VFtable.getCurrentSOAPMethodAttribute = s_getCurrentSOAPMethodAttribute;
  -	ms_VFtable.deleteCurrentSOAPMethodAttribute = s_deleteCurrentSOAPMethodAttribute;
  -	ms_VFtable.deleteSOAPMethodAttribute = s_deleteSOAPMethodAttribute;
  -	ms_VFtable.setTransportTimeout = s_setTransportTimeout;
  -	ms_VFtable.getStatus = s_getStatus;
  -	ms_VFtable.getNamespacePrefix = s_getNamespacePrefix;
   }
   
  
  
  

Mime
View raw message