You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ba...@apache.org on 2004/04/21 10:49:30 UTC

cvs commit: ws-axis/c/include/axis/server IHandlerSoapSerializer.h IWrapperSoapSerializer.h IWrapperSoapDeSerializer.h

baudyjy     2004/04/21 01:49:30

  Modified:    c/include/axis/client Call.h
               c/include/axis/server IHandlerSoapSerializer.h
                        IWrapperSoapSerializer.h IWrapperSoapDeSerializer.h
  Log:
  First review of IWrapperSoap[De]Serializer Interface.
  
  Revision  Changes    Path
  1.8       +2 -2      ws-axis/c/include/axis/client/Call.h
  
  Index: Call.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/client/Call.h,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Call.h	19 Apr 2004 09:52:54 -0000	1.7
  +++ Call.h	21 Apr 2004 08:49:30 -0000	1.8
  @@ -559,8 +559,8 @@
   	   So they do not belong to this object and are not created or deleted 
   	 */
   	MessageData* m_pMsgData;
  -	IWrapperSoapSerializer* m_pIWSSZ;
  -	IWrapperSoapDeSerializer* m_pIWSDZ;
  +	IHandlerSoapSerializer* m_pIWSSZ;
  +	IHandlerSoapDeSerializer* m_pIWSDZ;
   	/* 
   	   m_Soap contains transport related information and function pointers to manipulate
   	   transport layer.
  
  
  
  1.5       +6 -0      ws-axis/c/include/axis/server/IHandlerSoapSerializer.h
  
  Index: IHandlerSoapSerializer.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/server/IHandlerSoapSerializer.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- IHandlerSoapSerializer.h	24 Mar 2004 06:57:29 -0000	1.4
  +++ IHandlerSoapSerializer.h	21 Apr 2004 08:49:30 -0000	1.5
  @@ -64,6 +64,7 @@
   #define AFX_IHANDLERSOAPSERIALIZER_H__DE308D72_BC3E_407A_9252_649D0399C90F__INCLUDED_
   
   #include "IWrapperSoapSerializer.h"
  +#include "SoapHeader.h"
   class IHeaderBlock;
   /**
       @class IHandlerSoapSerializer
  @@ -78,7 +79,12 @@
   public:		
   	virtual ~IHandlerSoapSerializer() {};
   	virtual IHeaderBlock* createHeaderBlock()=0;
  +	virtual IHeaderBlock*  createHeaderBlock(AxisChar *pachLocalName, AxisChar *pachPrefix, AxisChar *pachUri)=0;	
   	virtual int AXISCALL AddHeaderBlock(IHeaderBlock* pBlk)=0;
  +	virtual int setSoapHeader(SoapHeader* pSoapHeader)=0;
  +	virtual	int setSoapVersion(SOAP_VERSION)=0;
  +	
  +	
   	/**
   	 * A handler may get the entire soap body and encrypt/compress it and encode
   	 * to either base64Binary or hexBinary before sending to the trasport. So any
  
  
  
  1.10      +7 -13     ws-axis/c/include/axis/server/IWrapperSoapSerializer.h
  
  Index: IWrapperSoapSerializer.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/server/IWrapperSoapSerializer.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- IWrapperSoapSerializer.h	19 Apr 2004 09:53:55 -0000	1.9
  +++ IWrapperSoapSerializer.h	21 Apr 2004 08:49:30 -0000	1.10
  @@ -68,8 +68,6 @@
   #include "AxisUserAPI.h"
   #include "TypeMapping.h"
   #include "ISoapSerializer.h"
  -#include "SoapHeader.h"
  -#include "IHeaderBlock.h"
   #include "WSDDDefines.h"
   #include "Packet.h"
   
  @@ -140,17 +138,13 @@
   	virtual void AXISCALL SerializeEndElementOfType(const AxisChar* pName)=0;
   
   	/* Externalization of serializer API */
  -	virtual int AXISCALL SetOutputStream(const Ax_soapstream* pStream)=0;
  -	virtual void AXISCALL MarkEndOfStream()=0;	
  -	virtual	int AXISCALL Init()=0;	
  -	virtual IHeaderBlock* AXISCALL createHeaderBlock()=0;
  -	virtual	int AXISCALL setSoapVersion(SOAP_VERSION)=0;
  -	virtual int AXISCALL setSoapHeader(SoapHeader* pSoapHeader)=0;
  -	virtual IHeaderBlock* AXISCALL createHeaderBlock(AxisChar *pachLocalName, AxisChar *pachPrefix, AxisChar *pachUri)=0;	
  -	virtual PROVIDERTYPE AXISCALL GetCurrentProviderType()=0;
  -	virtual void AXISCALL SetCurrentProviderType(PROVIDERTYPE nType)=0;	
  -	virtual void AXISCALL SetStyle(AXIS_BINDING_STYLE nStyle)=0;
  -	virtual AXIS_BINDING_STYLE AXISCALL GetStyle()=0;
  +	virtual int SetOutputStream(const Ax_soapstream* pStream)=0;
  +	virtual void MarkEndOfStream()=0;	
  +	virtual	int Init()=0;	
  +	virtual PROVIDERTYPE GetCurrentProviderType()=0;
  +	virtual void SetCurrentProviderType(PROVIDERTYPE nType)=0;	
  +	virtual void SetStyle(AXIS_BINDING_STYLE nStyle)=0;
  +	virtual AXIS_BINDING_STYLE GetStyle()=0;
   
   	/* following stuff is needed to provide the interface for C web services */
   public:
  
  
  
  1.11      +7 -7      ws-axis/c/include/axis/server/IWrapperSoapDeSerializer.h
  
  Index: IWrapperSoapDeSerializer.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/server/IWrapperSoapDeSerializer.h,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- IWrapperSoapDeSerializer.h	19 Apr 2004 09:53:55 -0000	1.10
  +++ IWrapperSoapDeSerializer.h	21 Apr 2004 08:49:30 -0000	1.11
  @@ -211,14 +211,14 @@
   	virtual int AXISCALL GetStatus()=0;
   	
   	/* Externalization of deserializer API */
  -	virtual int AXISCALL SetInputStream(const Ax_soapstream* pInputStream)=0;
  -	virtual int AXISCALL GetVersion()=0;
  -	virtual int AXISCALL GetHeader()=0;
  -	virtual	int AXISCALL Init()=0;
  -	virtual PROVIDERTYPE AXISCALL GetCurrentProviderType()=0;
  -	virtual void AXISCALL SetCurrentProviderType(PROVIDERTYPE nType)=0;	
  -	virtual void AXISCALL SetStyle(AXIS_BINDING_STYLE nStyle)=0;
  +	virtual int SetInputStream(const Ax_soapstream* pInputStream)=0;
  +	virtual	int Init()=0;
  +	virtual PROVIDERTYPE GetCurrentProviderType()=0;
  +	virtual void SetCurrentProviderType(PROVIDERTYPE nType)=0;	
   	virtual AXIS_BINDING_STYLE AXISCALL GetStyle()=0;	
  +	virtual void SetStyle(AXIS_BINDING_STYLE nStyle)=0;
  +	virtual int GetVersion()=0;
  +	virtual int GetHeader()=0;	
   	    	
   
   	/* following stuff is needed to provide the interface for C web services */