ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nit...@apache.org
Subject cvs commit: ws-axis/c/samples/server/interoptests/base AxisServiceException.hpp InteropTestPortType.hpp InteropTestPortTypeWrapper.hpp SOAPStruct.hpp SOAPStruct_Array.hpp InteropTestPortType.cpp AxisServiceException.h InteropTestPortType.h InteropTestPortTypeWrapper.h SOAPStruct.h SOAPStruct_Array.h
Date Tue, 22 Feb 2005 03:54:52 GMT
nithya      2005/02/21 19:54:52

  Modified:    c/samples/server/interoptests/base InteropTestPortType.cpp
  Added:       c/samples/server/interoptests/base AxisServiceException.hpp
                        InteropTestPortType.hpp
                        InteropTestPortTypeWrapper.hpp SOAPStruct.hpp
                        SOAPStruct_Array.hpp
  Removed:     c/samples/server/interoptests/base AxisServiceException.h
                        InteropTestPortType.h InteropTestPortTypeWrapper.h
                        SOAPStruct.h SOAPStruct_Array.h
  Log:
  
  
  Revision  Changes    Path
  1.6       +1 -1      ws-axis/c/samples/server/interoptests/base/InteropTestPortType.cpp
  
  Index: InteropTestPortType.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/server/interoptests/base/InteropTestPortType.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- InteropTestPortType.cpp	16 Aug 2004 06:14:20 -0000	1.5
  +++ InteropTestPortType.cpp	22 Feb 2005 03:54:52 -0000	1.6
  @@ -3,7 +3,7 @@
    * This file contains definitions of the web service
    */
   
  -#include "InteropTestPortType.h"
  +#include "InteropTestPortType.hpp"
   
   
   InteropTestPortType::InteropTestPortType()
  
  
  
  1.1                  ws-axis/c/samples/server/interoptests/base/AxisServiceException.hpp
  
  Index: AxisServiceException.hpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains an Exception class of the web service.
   */
  
  #if !defined(__AXISSERVICEEXCEPTION_EXCEPTION_H__INCLUDED_)
  #define __AXISSERVICEEXCEPTION_EXCEPTION_H__INCLUDED_
  
  #include <string>
  #include <exception>
  #include <axis/AxisException.hpp>
  #include <axis/ISoapFault.hpp>
  using namespace std;
  AXIS_CPP_NAMESPACE_USE 
  
  class AxisServiceException: public AxisException
  {
  public:
  	STORAGE_CLASS_INFO AxisServiceException();
  	STORAGE_CLASS_INFO AxisServiceException(ISoapFault* pFault);
  	STORAGE_CLASS_INFO AxisServiceException(int iExceptionCode);
  	STORAGE_CLASS_INFO AxisServiceException(exception* e);
  	STORAGE_CLASS_INFO AxisServiceException(exception* e, int iExceptionCode);
  	STORAGE_CLASS_INFO AxisServiceException(string sMessage);
  	STORAGE_CLASS_INFO virtual ~AxisServiceException() throw();
  	STORAGE_CLASS_INFO const char* what() throw();
  	STORAGE_CLASS_INFO const int getExceptionCode();
  	STORAGE_CLASS_INFO const string getMessage(exception* e);
  	STORAGE_CLASS_INFO const string getMessage(int iExceptionCode);
  	STORAGE_CLASS_INFO const ISoapFault* getFault();
  
  private:
  	 void processException(exception* e);
  	 void processException(ISoapFault* pFault);
  	 void processException(exception* e, int iExceptionCode);
  	 void processException(int iExceptionCode);
  	 string m_sMessage;
  	 int m_iExceptionCode;
  	 ISoapFault* m_pISoapFault;
  
  };
  
  #endif /* !defined(__AXISSERVICEEXCEPTION_EXCEPTION_H__INCLUDED_)*/
  
  
  
  1.1                  ws-axis/c/samples/server/interoptests/base/InteropTestPortType.hpp
  
  Index: InteropTestPortType.hpp
  ===================================================================
  /*
   * This is the Service Class genarated by the tool WSDL2Ws
   * InteropTestPortType.hpp: interface for the InteropTestPortTypeclass.
   *
   */
  #if !defined(__INTEROPTESTPORTTYPE_SERVERSKELETON_H__INCLUDED_)
  #define __INTEROPTESTPORTTYPE_SERVERSKELETON_H__INCLUDED_
  
  #include <axis/AxisUserAPI.hpp>
  #include "AxisServiceException.hpp" 
  
  #include "SOAPStruct_Array.hpp"
  #include "SOAPStruct.hpp"
  
  class InteropTestPortType 
  {
  	public:
  		InteropTestPortType();
  	public:
  		virtual ~InteropTestPortType();
  	public: 
  		void onFault();
  		void init();
  		void fini();
  		xsd__string echoString(xsd__string Value0);
  		xsd__string_Array echoStringArray(xsd__string_Array Value0);
  		xsd__int echoInteger(xsd__int Value0);
  		xsd__int_Array echoIntegerArray(xsd__int_Array Value0);
  		xsd__float echoFloat(xsd__float Value0);
  		xsd__float_Array echoFloatArray(xsd__float_Array Value0);
  		SOAPStruct* echoStruct(SOAPStruct* Value0);
  		SOAPStruct_Array echoStructArray(SOAPStruct_Array Value0);
  		void echoVoid();
  		xsd__base64Binary echoBase64(xsd__base64Binary Value0);
  		xsd__dateTime echoDate(xsd__dateTime Value0);
  		xsd__hexBinary echoHexBinary(xsd__hexBinary Value0);
  		xsd__decimal echoDecimal(xsd__decimal Value0);
  		xsd__boolean echoBoolean(xsd__boolean Value0);
  };
  
  #endif /* !defined(__INTEROPTESTPORTTYPE_SERVERSKELETON_H__INCLUDED_)*/
  
  
  
  1.1                  ws-axis/c/samples/server/interoptests/base/InteropTestPortTypeWrapper.hpp
  
  Index: InteropTestPortTypeWrapper.hpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains Web Service Wrapper declarations
   */
  
  #if !defined(__INTEROPTESTPORTTYPEWRAPPER_SERVERWRAPPER_H__INCLUDED_)
  #define __INTEROPTESTPORTTYPEWRAPPER_SERVERWRAPPER_H__INCLUDED_
  
  #include "InteropTestPortType.hpp"
  #include <axis/server/WrapperClassHandler.hpp>
  #include <axis/IMessageData.hpp>
  #include <axis/GDefine.hpp>
  #include <axis/AxisWrapperAPI.hpp>
  #include "AxisServiceException.hpp" 
  AXIS_CPP_NAMESPACE_USE 
  
  class InteropTestPortTypeWrapper : public WrapperClassHandler
  {
  private:/* Actual web service object*/
  	InteropTestPortType *pWs;
  public:
  	InteropTestPortTypeWrapper();
  public:
  	virtual ~InteropTestPortTypeWrapper();
  public:/*implementation of WrapperClassHandler interface*/
  	int AXISCALL invoke(void* pMsg);
  	void AXISCALL onFault(void* pMsg);
  	int AXISCALL init();
  	int AXISCALL fini();
  	AXIS_BINDING_STYLE AXISCALL getBindingStyle(){return RPC_ENCODED;};
  private:/*Methods corresponding to the web service methods*/
  	int echoString(void* pMsg);
  	int echoStringArray(void* pMsg);
  	int echoInteger(void* pMsg);
  	int echoIntegerArray(void* pMsg);
  	int echoFloat(void* pMsg);
  	int echoFloatArray(void* pMsg);
  	int echoStruct(void* pMsg);
  	int echoStructArray(void* pMsg);
  	int echoVoid(void* pMsg);
  	int echoBase64(void* pMsg);
  	int echoDate(void* pMsg);
  	int echoHexBinary(void* pMsg);
  	int echoDecimal(void* pMsg);
  	int echoBoolean(void* pMsg);
  };
  
  #endif /* !defined(__INTEROPTESTPORTTYPEWRAPPER_SERVERWRAPPER_H__INCLUDED_)*/
  
  
  
  1.1                  ws-axis/c/samples/server/interoptests/base/SOAPStruct.hpp
  
  Index: SOAPStruct.hpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains functions to manipulate complex type SOAPStruct
   */
  
  #if !defined(__SOAPSTRUCT_PARAM_H__INCLUDED_)
  #define __SOAPSTRUCT_PARAM_H__INCLUDED_
  
  #include <axis/AxisUserAPI.hpp>
  AXIS_CPP_NAMESPACE_USE 
  
  /*Local name and the URI for the type*/
  static const char* Axis_URI_SOAPStruct = "http://soapinterop.org/xsd";
  static const char* Axis_TypeName_SOAPStruct = "SOAPStruct";
  
  class SOAPStruct
  {
  public:
  	xsd__string varString;
  	xsd__int varInt;
  	xsd__float varFloat;
  	SOAPStruct();
  	virtual ~SOAPStruct();
  };
  
  #endif /* !defined(__SOAPSTRUCT_PARAM_H__INCLUDED_)*/
  
  
  
  1.1                  ws-axis/c/samples/server/interoptests/base/SOAPStruct_Array.hpp
  
  Index: SOAPStruct_Array.hpp
  ===================================================================
  /*
   * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
   * This file contains functions to manipulate complex type SOAPStruct_Array
   */
  
  #if !defined(__SOAPSTRUCT_ARRAY_ARRAY_H__INCLUDED_)
  #define __SOAPSTRUCT_ARRAY_ARRAY_H__INCLUDED_
  
  class SOAPStruct;
  
  typedef struct SOAPStruct_ArrayTag
  {
  	SOAPStruct* m_Array;
  	int m_Size;
  } SOAPStruct_Array;
  
  #endif /* !defined(__SOAPSTRUCT_ARRAY_ARRAY_H__INCLUDED_)*/
  
  
  

Mime
View raw message