Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

Stub.h

Go to the documentation of this file.
00001 /*
00002  *   Copyright 2003-2004 The Apache Software Foundation.
00003  *
00004  *   Licensed under the Apache License, Version 2.0 (the "License");
00005  *   you may not use this file except in compliance with the License.
00006  *   You may obtain a copy of the License at
00007  *
00008  *       http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  *   Unless required by applicable law or agreed to in writing, software
00011  *   distributed under the License is distributed on an "AS IS" BASIS,
00012  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  *   See the License for the specific language governing permissions and
00014  *   limitations under the License.
00015  *
00016  */
00017 
00026 /*
00027  * Revision 1.1  2004/05/31 samisa
00028  * Added setProxy
00029  */
00030 
00031 /*
00032  * Revision 1.2  2004/05/31 roshan
00033  * Added calling conventions
00034  */
00035 
00036 /*
00037  * Revision 1.3  2004/06/01 roshan
00038  * Added setSOAPMethodAttribute
00039  */
00040 
00041 /*
00042  * Revision 1.4  2004/06/08 samisa
00043  * Added setTransportTimeout
00044  */
00045 
00046 /*
00047  * Revision 1.5  2004/06/10 samisa
00048  * Added doxygen comments to help autobuild API docs
00049  */
00050 
00051 /*
00052  * Revision 1.6  2004/06/13 roshan
00053  * Added doxygen comments to help autobuild API docs
00054  */
00055 
00056 /*
00057  * Revision 1.13  2004/06/13 susantha
00058  * Added support for writing C web services and handlers
00059  */
00060 
00061 #if !defined(_STUB_H____OF_AXIS_INCLUDED_)
00062 #define _STUB_H____OF_AXIS_INCLUDED_
00063 
00064 #include <axis/client/Call.h>
00065 
00066 #ifdef __cplusplus
00067 #include <vector>
00068 #endif
00069 
00080 typedef struct {
00081     void (AXISCALL* setEndpoint)(void* pObj, const char* pchEndpoint);
00082     void (AXISCALL* setTransportProperty)(void* pObj, 
00083         const char *pcKey, const char *pcValue);
00084     char* (AXISCALL* getFirstTrasportPropertyKey)(void* pObj);
00085     char* (AXISCALL* getNextTrasportPropertyKey)(void* pObj);
00086     char* (AXISCALL* getCurrentTrasportPropertyKey)(void* pObj);
00087     char* (AXISCALL* getCurrentTrasportPropertyValue)(void* pObj);
00088     void (AXISCALL* deleteCurrentTrasportProperty)(void* pObj);
00089     void (AXISCALL* deleteTrasportProperty)(void* pObj, char* pcKey, 
00090         unsigned int uiOccurance);
00091     HeaderBlock_C (AXISCALL* createSOAPHeaderBlock)(void* pObj, 
00092         AxisChar * pachLocalName, AxisChar * pachUri);
00093     HeaderBlock_C (AXISCALL* getFirstSOAPHeaderBlock)(void* pObj);
00094     HeaderBlock_C (AXISCALL* getNextSOAPHeaderBlock)(void* pObj);
00095     HeaderBlock_C (AXISCALL* getCurrentSOAPHeaderBlock)(void* pObj);
00096     void (AXISCALL* deleteCurrentSOAPHeaderBlock)(void* pObj);
00097     void (AXISCALL* deleteSOAPHeaderBlock)(void* pObj,
00098         HeaderBlock_C hdrBlk);
00099     void (AXISCALL* setProxy)(void* pObj, const char* pcProxyHost,
00100         unsigned int uiProxyPort);
00101     void (AXISCALL* setSOAPMethodAttribute)(void* pObj,
00102         const AxisChar *pLocalname, const AxisChar *pPrefix,
00103         const AxisChar* pUri, const AxisChar *pValue);
00104     Attribute_C (AXISCALL* getFirstSOAPMethodAttribute)(void* pObj);
00105     Attribute_C (AXISCALL* getNextSOAPMethodAttribute)(void* pObj);
00106     Attribute_C (AXISCALL* getCurrentSOAPMethodAttribute)(void* pObj);
00107     void (AXISCALL* deleteCurrentSOAPMethodAttribute)(void* pObj);
00108     void (AXISCALL* deleteSOAPMethodAttribute)(void* pObj,
00109         Attribute_C Attr);
00110     void (AXISCALL* setTransportTimeout)(void* pObj, const long lSeconds);
00111        int (AXISCALL* getStatus)(void* pObj);
00112     const AxisChar* (AXISCALL* getNamespacePrefix)(void* pObj,
00113         const AxisChar* pNamespace);
00114 } StubFunctions;
00115 
00116 #ifdef __cplusplus
00117 
00133 class STORAGE_CLASS_INFO Stub
00134 {
00135   public:
00145     Stub(const char *pcEndPointURI, AXIS_PROTOCOL_TYPE eProtocol);
00146 
00152 
00161 
00185 
00196 
00210 
00228 
00248 
00254 
00274 
00336 
00348 
00362 
00381 
00387 
00408 
00416 
00425 
00435 
00446 
00460 
00479 
00485 
00506 
00516 
00520 
00524 
00530 
00591 
00597 
00603 
00609 
00615 
00621 
00626 
00631 
00636 
00641 
00646 
00651 
00656 
00661 
00666 
00674 
00675 
00676 
00677 

Generated on Tue Jun 29 09:27:57 2004 for AxisC++ by doxygen1.2.18