You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by su...@apache.org on 2004/01/07 12:21:17 UTC

cvs commit: ws-axis/c/vc/client/samples/interoptests/doclitbase doclitbase.dsp

susantha    2004/01/07 03:21:17

  Modified:    c/include/axis/common Tag: CWrapperSupport
                        IHandlerSoapDeSerializer.h IHandlerSoapSerializer.h
                        IWrapperSoapDeSerializer.h
               c/include/axis/soap Tag: CWrapperSupport SoapDeSerializer.h
                        SoapSerializer.h
               c/src/client/samples/interoptests/doclitbase Tag:
                        CWrapperSupport SOAPStruct.cpp SOAPStruct.h
               c/src/engine Tag: CWrapperSupport ServerAxisEngine.cpp
               c/src/server/samples/interoptests/doclitbase Tag:
                        CWrapperSupport SOAPStruct.cpp SOAPStruct.h
               c/src/soap Tag: CWrapperSupport SoapDeSerializer.cpp
                        SoapSerializer.cpp
               c/src/wsdl/org/apache/axis/wsdl/wsdl2ws Tag: CWrapperSupport
                        SourceWriterFactory.java WSDL2Ws.java
                        WebServiceGenaratorFactory.java
               c/vc/client/samples/interoptests/doclitbase Tag:
                        CWrapperSupport doclitbase.dsp
  Added:       c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal Tag:
                        CWrapperSupport AllParamWriter.java
                        ArrayParamWriter.java BasicFileWriter.java
                        BeanParamWriter.java CFileWriter.java CUtils.java
                        ClassLoader.java ClientStubHeaderWriter.java
                        ClientStubWrapperWriter.java ClientStubWriter.java
                        HeaderFileWriter.java ParamCFileWriter.java
                        ParamWriter.java ParmHeaderFileWriter.java
                        ServiceWriter.java WrapHeaderWriter.java
                        WrapWriter.java
               c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal Tag:
                        CWrapperSupport AllParamWriter.java
                        ArrayParamWriter.java BasicFileWriter.java
                        BeanParamWriter.java CPPClassWriter.java
                        CPPUtils.java ClassLoader.java
                        ClientStubHeaderWriter.java ClientStubWriter.java
                        HeaderFileWriter.java ParamCPPFileWriter.java
                        ParamWriter.java ParmHeaderFileWriter.java
                        ServiceHeaderWriter.java ServiceWriter.java
                        WrapHeaderWriter.java WrapWriter.java
               c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/doclit Tag:
                        CWrapperSupport DocLitWebServiceGenarator.java
  Log:
  Added interface functions to Serializer/Deserializer API function pointer table
  exposed to C web services and clients.
  Added few function prototypes to Serializer/Deserializer to be used in handlers
  WSDL2WS tool improvement to generate Document/literal style web services and clients
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.4.3   +16 -0     ws-axis/c/include/axis/common/IHandlerSoapDeSerializer.h
  
  Index: IHandlerSoapDeSerializer.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/common/IHandlerSoapDeSerializer.h,v
  retrieving revision 1.1.4.2
  retrieving revision 1.1.4.3
  diff -u -r1.1.4.2 -r1.1.4.3
  --- IHandlerSoapDeSerializer.h	5 Jan 2004 13:22:34 -0000	1.1.4.2
  +++ IHandlerSoapDeSerializer.h	7 Jan 2004 11:21:14 -0000	1.1.4.3
  @@ -68,11 +68,27 @@
   #define AFX_IHANDLERSOAPDESERIALIZER_H__EAD744F9_FEB3_4885_9510_D7BAD8C5AD1C__INCLUDED_
   
   #include "../common/IWrapperSoapDeSerializer.h"
  +#include "../common/IHeaderBlock.h"
  +#include "../common/AxisUserAPI.h"
   
   class IHandlerSoapDeSerializer : public IWrapperSoapDeSerializer
   {
   public:
   	virtual ~IHandlerSoapDeSerializer() {};
  +	virtual int AXISCALL AddHeaderBlock(IHeaderBlock* pBlk)=0;
  +	/**
  +	 * The soap body may be encrypted/compressed and a handler in the request message 
  +	 * path may decode and then decrypt and/or decompress whole soap body and set the
  +	 * XML to the Deserializer. In such a case a handler will use following functions 
  +	 * to get soap body and set back the XML. If this process goes throgh several
  +	 * handlers the intermediate binary data (unencrypted/uncompressed body) may be kept 
  +	 * in the IMessageData until it is converted to XML. A handler usually converts it 
  +	 * to XML and use SetNewSoapBody(..) function to set the new SoapBody back to the 
  +	 * Deserializer.
  +	 */
  +	virtual xsd__hexBinary AXISCALL GetBodyAsHexBinary()=0;
  +	virtual xsd__base64Binary AXISCALL GetBodyAsBase64Binary()=0;
  +	virtual int AXISCALL SetNewSoapBody(AxisChar* pNewSoapBody)=0;
   };
   
   #endif // !defined(AFX_IHANDLERSOAPDESERIALIZER_H__EAD744F9_FEB3_4885_9510_D7BAD8C5AD1C__INCLUDED_)
  
  
  
  1.1.4.2   +11 -0     ws-axis/c/include/axis/common/IHandlerSoapSerializer.h
  
  Index: IHandlerSoapSerializer.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/common/IHandlerSoapSerializer.h,v
  retrieving revision 1.1.4.1
  retrieving revision 1.1.4.2
  diff -u -r1.1.4.1 -r1.1.4.2
  --- IHandlerSoapSerializer.h	8 Nov 2003 13:27:57 -0000	1.1.4.1
  +++ IHandlerSoapSerializer.h	7 Jan 2004 11:21:14 -0000	1.1.4.2
  @@ -77,6 +77,17 @@
   public:		
   	virtual ~IHandlerSoapSerializer() {};
   	virtual IHeaderBlock* createHeaderBlock()=0;
  +	virtual int AXISCALL AddHeaderBlock(IHeaderBlock* pBlk)=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
  +	 * handler in the response message path may use following functions to get the
  +	 * entire soap body / set encrypted and/or compressed and then encoded soap body
  +	 * back to the Serializer
  +	 */
  +	virtual int AXISCALL SetBodyAsHexBinary(xsd__hexBinary body)=0;
  +	virtual int AXISCALL SetBodyAsBase64Binary(xsd__base64Binary body)=0;
  +	virtual const AxisChar* AXISCALL GetBodyAsString()=0;
   };
   
   #endif // !defined(AFX_IHANDLERSOAPSERIALIZER_H__DE308D72_BC3E_407A_9252_649D0399C90F__INCLUDED_)
  
  
  
  1.2.4.6   +138 -4    ws-axis/c/include/axis/common/IWrapperSoapDeSerializer.h
  
  Index: IWrapperSoapDeSerializer.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/common/IWrapperSoapDeSerializer.h,v
  retrieving revision 1.2.4.5
  retrieving revision 1.2.4.6
  diff -u -r1.2.4.5 -r1.2.4.6
  --- IWrapperSoapDeSerializer.h	5 Jan 2004 04:03:49 -0000	1.2.4.5
  +++ IWrapperSoapDeSerializer.h	7 Jan 2004 11:21:14 -0000	1.2.4.6
  @@ -103,7 +103,7 @@
   	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__base64Binary (AXISCALL* GetElementAsHexBinary)(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);
  @@ -151,7 +151,6 @@
   	virtual ~IWrapperSoapDeSerializer(){};
   
   	virtual int AXISCALL CheckMessageBody(const AxisChar* pName, const AxisChar* pNamespace)=0;
  -
   	/* Method used by wrappers to get a deserialized Array of complex types */
   	virtual Axis_Array AXISCALL GetCmplxArray(void* pDZFunct, void* pCreFunct, void* pDelFunct, void* pSizeFunct, const AxisChar* pName, const AxisChar* pNamespace)=0;
   	/* Method used by wrappers to get a deserialized Array of basic types */
  @@ -208,17 +207,152 @@
   	/* following stuff is needed to provide the interface for C web services */
   public:
   	static IWrapperSoapDeSerializerFunctions ms_VFtable;
  +	static int AXISCALL s_CheckMessageBody(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{return ((IWrapperSoapDeSerializer*)pObj)->CheckMessageBody(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 ((IWrapperSoapDeSerializer*)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 ((IWrapperSoapDeSerializer*)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 ((IWrapperSoapDeSerializer*)pObj)->GetCmplxObject(pDZFunct, pCreFunct, pDelFunct, pName, pNamespace);};
   	static int AXISCALL s_GetElementAsInt(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
   	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsInt(pName, pNamespace);};
  -	static unsigned int AXISCALL s_GetElementAsUnsignedInt(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	static xsd__boolean AXISCALL s_GetElementAsBoolean(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsBoolean(pName, pNamespace);};
  +    static unsigned int AXISCALL s_GetElementAsUnsignedInt(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
   	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsUnsignedInt(pName, pNamespace);};
  -	static short AXISCALL s_GetElementAsShort(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +    static short AXISCALL s_GetElementAsShort(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
   	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsShort(pName, pNamespace);};
  +    static unsigned short AXISCALL s_GetElementAsUnsignedShort(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsUnsignedShort(pName, pNamespace);};
  +    static char AXISCALL s_GetElementAsByte(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsByte(pName, pNamespace);};
  +    static unsigned char AXISCALL s_GetElementAsUnsignedByte(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsUnsignedByte(pName, pNamespace);};
  +    static long AXISCALL s_GetElementAsLong(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsLong(pName, pNamespace);};
  +    static long AXISCALL s_GetElementAsInteger(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsInteger(pName, pNamespace);};
  +    static unsigned long AXISCALL s_GetElementAsUnsignedLong(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsUnsignedLong(pName, pNamespace);};
  +	static float AXISCALL s_GetElementAsFloat(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsFloat(pName, pNamespace);};
  +    static double AXISCALL s_GetElementAsDouble(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsDouble(pName, pNamespace);};
  +    static double AXISCALL s_GetElementAsDecimal(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsDouble(pName, pNamespace);};
  +	static AxisChar* AXISCALL s_GetElementAsString(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsString(pName, pNamespace);};
  +    static AxisChar* AXISCALL s_GetElementAsAnyURI(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsAnyURI(pName, pNamespace);};
  +    static AxisChar* AXISCALL s_GetElementAsQName(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsQName(pName, pNamespace);};
  +	static xsd__hexBinary AXISCALL s_GetElementAsHexBinary(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsHexBinary(pName, pNamespace);};
  +	static xsd__base64Binary AXISCALL s_GetElementAsBase64Binary(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsBase64Binary(pName, pNamespace);};
  +    static struct tm AXISCALL s_GetElementAsDateTime(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsDateTime(pName, pNamespace);};
  +    static struct tm AXISCALL s_GetElementAsDate(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsDate(pName, pNamespace);};
  +    static struct tm AXISCALL s_GetElementAsTime(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsTime(pName, pNamespace);};
  +    static long AXISCALL s_GetElementAsDuration(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetElementAsDuration(pName, pNamespace);};
  +	static int AXISCALL s_GetAttributeAsInt(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsInt(pName, pNamespace);};
  +	static xsd__boolean AXISCALL s_GetAttributeAsBoolean(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsBoolean(pName, pNamespace);};
  +    static unsigned int AXISCALL s_GetAttributeAsUnsignedInt(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsUnsignedInt(pName, pNamespace);};
  +    static short AXISCALL s_GetAttributeAsShort(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsShort(pName, pNamespace);};
  +    static unsigned short AXISCALL s_GetAttributeAsUnsignedShort(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsUnsignedShort(pName, pNamespace);};
  +    static char AXISCALL s_GetAttributeAsByte(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsByte(pName, pNamespace);};
  +    static unsigned char AXISCALL s_GetAttributeAsUnsignedByte(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsUnsignedByte(pName, pNamespace);};
  +    static long AXISCALL s_GetAttributeAsLong(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsLong(pName, pNamespace);};
  +    static long AXISCALL s_GetAttributeAsInteger(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsInteger(pName, pNamespace);};
  +    static unsigned long AXISCALL s_GetAttributeAsUnsignedLong(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsUnsignedLong(pName, pNamespace);};
  +	static float AXISCALL s_GetAttributeAsFloat(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsFloat(pName, pNamespace);};
  +    static double AXISCALL s_GetAttributeAsDouble(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsDouble(pName, pNamespace);};
  +    static double AXISCALL s_GetAttributeAsDecimal(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsDecimal(pName, pNamespace);};
  +	static AxisChar* AXISCALL s_GetAttributeAsString(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsString(pName, pNamespace);};
  +    static AxisChar* AXISCALL s_GetAttributeAsAnyURI(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsAnyURI(pName, pNamespace);};
  +    static AxisChar* AXISCALL s_GetAttributeAsQName(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsQName(pName, pNamespace);};
  +	static xsd__hexBinary AXISCALL s_GetAttributeAsHexBinary(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsHexBinary(pName, pNamespace);};
  +	static xsd__base64Binary AXISCALL s_GetAttributeAsBase64Binary(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsBase64Binary(pName, pNamespace);};
  +    static struct tm AXISCALL s_GetAttributeAsDateTime(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsDateTime(pName, pNamespace);};
  +    static struct tm AXISCALL s_GetAttributeAsDate(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsDate(pName, pNamespace);};
  +    static struct tm AXISCALL s_GetAttributeAsTime(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsTime(pName, pNamespace);};
  +    static long AXISCALL s_GetAttributeAsDuration(void* pObj, const AxisChar* pName, const AxisChar* pNamespace)
  +	{ return ((IWrapperSoapDeSerializer*)pObj)->GetAttributeAsDuration(pName, pNamespace);};
   	static void s_Initialize()
   	{
  +		ms_VFtable.CheckMessageBody = s_CheckMessageBody;
  +		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;
   	}
   };
   #endif
  
  
  
  No                   revision
  No                   revision
  1.2.4.9   +18 -4     ws-axis/c/include/axis/soap/SoapDeSerializer.h
  
  Index: SoapDeSerializer.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/soap/SoapDeSerializer.h,v
  retrieving revision 1.2.4.8
  retrieving revision 1.2.4.9
  diff -u -r1.2.4.8 -r1.2.4.9
  --- SoapDeSerializer.h	5 Jan 2004 13:22:34 -0000	1.2.4.8
  +++ SoapDeSerializer.h	7 Jan 2004 11:21:15 -0000	1.2.4.9
  @@ -69,6 +69,7 @@
   
   #include <axis/common/IHandlerSoapDeSerializer.h>
   #include <axis/soap/SoapEnvVersions.h>
  +#include <axis/soap/HeaderBlock.h>
   
   #ifdef USE_EXPAT_PARSER
   #include "SoapParserExpat.h"
  @@ -108,15 +109,28 @@
   
   private:
   	int AXISCALL GetArraySize(const AnyElement* pElement);
  +	int GetBody();
   public:
  -	int GetVersion();
   	int Init();
  +	int GetVersion();
  +	SoapEnvelope* GetEnvelope();
  +	int GetHeader();
  +	/*
  +	 * Methods to manipulate entire body when the body is compressed or encrypted 
  +	 * These functions are provided for handlers to manipulate entire soap body.
  +	 */
  +	xsd__hexBinary AXISCALL GetBodyAsHexBinary();
  +	xsd__base64Binary AXISCALL GetBodyAsBase64Binary();
  +	int AXISCALL SetNewSoapBody(AxisChar* pNewSoapBody);
  +	bool IsAnyMustUnderstandHeadersLeft();
   	SoapFault* GetFault();
   	int AXISCALL CheckMessageBody(const AxisChar* pName, const AxisChar* pNamespace);
  -	int GetBody();
  -	int GetHeader();
  +	/* to get any header blocks left in the Deserializer */
  +	HeaderBlock* GetHeaderBlock();
  +	/* to add a header block to the Deserializer. Probably a handler */
  +	int AXISCALL AddHeaderBlock(IHeaderBlock* pBlk);
  +	/* to get a named header blcok from the Deserializer */
   	IHeaderBlock* GetHeaderBlock(const AxisChar* pName, const AxisChar* pNamespace);
  -	SoapEnvelope* GetEnvelope();
   	int SetInputStream(const Ax_soapstream* pInputStream);
   	SoapDeSerializer();
   	virtual ~SoapDeSerializer();
  
  
  
  1.3.4.9   +5 -0      ws-axis/c/include/axis/soap/SoapSerializer.h
  
  Index: SoapSerializer.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/soap/SoapSerializer.h,v
  retrieving revision 1.3.4.8
  retrieving revision 1.3.4.9
  diff -u -r1.3.4.8 -r1.3.4.9
  --- SoapSerializer.h	5 Jan 2004 04:03:49 -0000	1.3.4.8
  +++ SoapSerializer.h	7 Jan 2004 11:21:15 -0000	1.3.4.9
  @@ -156,12 +156,17 @@
   	BasicTypeSerializer m_BTSZ;
   	const Ax_soapstream* m_pOutputStream;
   public:
  +	/* to add a header block to the Serializer. Probably by a handler */
  +	int AXISCALL AddHeaderBlock(IHeaderBlock* pBlk);
   	int AXISCALL AddOutputParam(const AxisChar* pchName, void* pValue, XSDTYPE type);
   	int AXISCALL SerializeAsElement(const AxisChar* pchName, void* pValue, XSDTYPE type);
   	int AXISCALL SerializeAsAttribute(const AxisChar* pName, const AxisChar* pNamespace, void* pValue, XSDTYPE type);
   	void AXISCALL Serialize(const char* pFirst, ...);
   	void SetStyle(AXIS_BINDING_STYLE nStyle){ m_nStyle = nStyle; m_BTSZ.SetStyle(nStyle);};
   	AXIS_BINDING_STYLE GetStyle(){return m_nStyle;};
  +	int AXISCALL SetBodyAsHexBinary(xsd__hexBinary body);
  +	int AXISCALL SetBodyAsBase64Binary(xsd__base64Binary body);
  +	const AxisChar* AXISCALL GetBodyAsString();
   };
   
   #endif // !defined(AFX_SOAPSERIALIZER_H__C37229AD_BD54_430D_9619_E4574CF95334__INCLUDED_)
  
  
  
  No                   revision
  No                   revision
  1.1.2.2   +21 -1     ws-axis/c/src/client/samples/interoptests/doclitbase/Attic/SOAPStruct.cpp
  
  Index: SOAPStruct.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/client/samples/interoptests/doclitbase/Attic/SOAPStruct.cpp,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- SOAPStruct.cpp	5 Jan 2004 13:22:34 -0000	1.1.2.1
  +++ SOAPStruct.cpp	7 Jan 2004 11:21:15 -0000	1.1.2.2
  @@ -30,8 +30,22 @@
   }
   void* Axis_Create_SOAPStruct(void* pObj, bool bArray = false, int nSize=0)
   {
  +
   	if (bArray && (nSize > 0))
  -		return realloc(pObj, sizeof(SOAPStruct)*nSize);
  +	{
  +		if (pObj)
  +		{
  +			SOAPStruct* pNew = new SOAPStruct[nSize];
  +			memcpy(pNew, pObj, sizeof(SOAPStruct)*nSize/2);
  +			memset(pObj, 0, sizeof(SOAPStruct)*nSize/2);
  +			delete [] ((SOAPStruct*)pObj);
  +			return pNew;
  +		}
  +		else
  +		{
  +			return new SOAPStruct[nSize];
  +		}
  +	}
   	else
   		return new SOAPStruct;
   }
  @@ -40,6 +54,12 @@
   {
   	delete varString;
   }
  +
  +SOAPStruct::SOAPStruct()
  +{
  +	varString = 0;
  +}
  +
   /////////////////////////////////////////////////////////////////////////////
   // This static method delete a SOAPStruct type of object
   //////////////////////////////////////////////////////////////////////
  
  
  
  1.1.2.2   +1 -0      ws-axis/c/src/client/samples/interoptests/doclitbase/Attic/SOAPStruct.h
  
  Index: SOAPStruct.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/client/samples/interoptests/doclitbase/Attic/SOAPStruct.h,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- SOAPStruct.h	5 Jan 2004 13:22:34 -0000	1.1.2.1
  +++ SOAPStruct.h	7 Jan 2004 11:21:15 -0000	1.1.2.2
  @@ -19,6 +19,7 @@
   	AxisChar* varString;
   	int varInt;
   	float varFloat;
  +	SOAPStruct();
   	~SOAPStruct();
   };
   
  
  
  
  No                   revision
  No                   revision
  1.10.4.5  +40 -5     ws-axis/c/src/engine/ServerAxisEngine.cpp
  
  Index: ServerAxisEngine.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/ServerAxisEngine.cpp,v
  retrieving revision 1.10.4.4
  retrieving revision 1.10.4.5
  diff -u -r1.10.4.4 -r1.10.4.5
  --- ServerAxisEngine.cpp	1 Jan 2004 04:48:52 -0000	1.10.4.4
  +++ ServerAxisEngine.cpp	7 Jan 2004 11:21:15 -0000	1.10.4.5
  @@ -182,14 +182,39 @@
   			  m_pSZ->setSoapFault(SoapFault::getSoapFault(SF_COULDNOTLOADHDL));
   			  break; //do .. while(0)
   			}
  -
  -			//and handlers may add headers to the Serializer.
  -			//Invoke all handlers including the webservice
  -			//in case of failure coresponding stream fault message will be set
  +			/**
  +			 * Let Deserializer parse the header section so that handlers can use them. 
  +			 * Each handler should remove the header block targetted to it
  +			 * and handlers may add header blocks to the DeSerializer and Serializer
  +			 * irrespective of whether it is request message path or response path.
  +			 * A header may be added to the Deserializer ONLY IF there is a CAN BE
  +			 * a handler in this soap processor to handle it.
  +			 */
  +			if (AXIS_SUCCESS != m_pDZ->GetHeader())
  +			{
  +				m_pSZ->setSoapFault(SoapFault::getSoapFault(SF_SOAPCONTENTERROR));
  +				break; //do .. while(0)				
  +			}
  +			/**
  +			 * Invoke all handlers including the webservice
  +			 * in case of failure coresponding stream fault message will be set
  +			 */
   			Status = Invoke(m_pMsgData); //we generate response in the same way even if this has failed
   		}
   		while(0);
  -		//Serialize
  +		/**
  +		 * Get any header blocks unprocessed (left) in the Deserializer and add them to the Serializer
  +		 * They may be headers targetted to next soap processors
  +		 */
  +		HeaderBlock* pHderBlk = NULL;
  +		while(true)
  +		{
  +			/* following function gets a header block from Deserializer irrespective of any thing */
  +			pHderBlk = m_pDZ->GetHeaderBlock();
  +			/* add it to the Serializer */
  +			if (pHderBlk) m_pSZ->AddHeaderBlock(pHderBlk);
  +			else break;
  +		}
   		m_pSZ->SetOutputStream(stream);
   
   		//Pool back the Service specific handlers
  @@ -266,6 +291,16 @@
   		}
   		AXISTRACE1("AFTER invoke service specific request handlers");
   		level++; //AE_SERH
  +		/*
  +		 * Before processing the soap body check whether there is any header blocks
  +		 * with mustUnderstand attribute left unprocessed in the Deserializer. If so
  +		 * return a soap fault.
  +		 */
  +		if (m_pDZ->IsAnyMustUnderstandHeadersLeft())
  +		{
  +			m_pSZ->setSoapFault(SoapFault::getSoapFault(SF_MUST_UNDERSTAND));
  +			break; //do .. while (0)
  +		}
   		//call actual web service handler
   		if (m_pWebService)
   		{
  
  
  
  No                   revision
  No                   revision
  1.1.2.2   +19 -14    ws-axis/c/src/server/samples/interoptests/doclitbase/Attic/SOAPStruct.cpp
  
  Index: SOAPStruct.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/server/samples/interoptests/doclitbase/Attic/SOAPStruct.cpp,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- SOAPStruct.cpp	5 Jan 2004 13:22:35 -0000	1.1.2.1
  +++ SOAPStruct.cpp	7 Jan 2004 11:21:15 -0000	1.1.2.2
  @@ -12,22 +12,9 @@
   //////////////////////////////////////////////////////////////////////
   int Axis_Serialize_SOAPStruct(SOAPStruct* param, IWrapperSoapSerializer* pSZ, bool bArray = false)
   {
  -	if (bArray)
  -	{
  -		pSZ->Serialize("<", Axis_TypeName_SOAPStruct, ">", NULL);
  -	}
  -	else
  -	{
  -		const AxisChar* sPrefix = pSZ->GetNamespacePrefix(Axis_URI_SOAPStruct);
  -		pSZ->Serialize("<", Axis_TypeName_SOAPStruct, " xsi:type=\"", sPrefix, ":",
  -			Axis_TypeName_SOAPStruct, "\" xmlns:", sPrefix, "=\"",
  -			Axis_URI_SOAPStruct, "\">", NULL);
  -	}
  -
   	pSZ->SerializeAsElement("varString", (void*)&(param->varString), XSD_STRING);
   	pSZ->SerializeAsElement("varInt", (void*)&(param->varInt), XSD_INT);
   	pSZ->SerializeAsElement("varFloat", (void*)&(param->varFloat), XSD_FLOAT);
  -	pSZ->Serialize("</", Axis_TypeName_SOAPStruct, ">", NULL);
   	return AXIS_SUCCESS;
   }
   
  @@ -44,7 +31,20 @@
   void* Axis_Create_SOAPStruct(void* pObj, bool bArray = false, int nSize=0)
   {
   	if (bArray && (nSize > 0))
  -		return new SOAPStruct[nSize];
  +	{
  +		if (pObj)
  +		{
  +			SOAPStruct* pNew = new SOAPStruct[nSize];
  +			memcpy(pNew, pObj, sizeof(SOAPStruct)*nSize/2);
  +			memset(pObj, 0, sizeof(SOAPStruct)*nSize/2);
  +			delete [] ((SOAPStruct*)pObj);
  +			return pNew;
  +		}
  +		else
  +		{
  +			return new SOAPStruct[nSize];
  +		}
  +	}
   	else
   		return new SOAPStruct;
   }
  @@ -52,6 +52,11 @@
   SOAPStruct::~SOAPStruct()
   {
   	delete varString;
  +}
  +
  +SOAPStruct::SOAPStruct()
  +{
  +	varString = 0;
   }
   /////////////////////////////////////////////////////////////////////////////
   // This static method delete a SOAPStruct type of object
  
  
  
  1.1.2.2   +1 -0      ws-axis/c/src/server/samples/interoptests/doclitbase/Attic/SOAPStruct.h
  
  Index: SOAPStruct.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/server/samples/interoptests/doclitbase/Attic/SOAPStruct.h,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- SOAPStruct.h	5 Jan 2004 13:22:35 -0000	1.1.2.1
  +++ SOAPStruct.h	7 Jan 2004 11:21:15 -0000	1.1.2.2
  @@ -20,6 +20,7 @@
   	int varInt;
   	float varFloat;
   	~SOAPStruct();
  +	SOAPStruct();
   };
   
   #endif // !defined(__SOAPSTRUCT_PARAM_H__INCLUDED_)
  
  
  
  No                   revision
  No                   revision
  1.17.4.14 +80 -45    ws-axis/c/src/soap/SoapDeSerializer.cpp
  
  Index: SoapDeSerializer.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/SoapDeSerializer.cpp,v
  retrieving revision 1.17.4.13
  retrieving revision 1.17.4.14
  diff -u -r1.17.4.13 -r1.17.4.14
  --- SoapDeSerializer.cpp	5 Jan 2004 13:22:36 -0000	1.17.4.13
  +++ SoapDeSerializer.cpp	7 Jan 2004 11:21:15 -0000	1.17.4.14
  @@ -77,7 +77,7 @@
   
   #include <axis/common/AxisTrace.h>
   
  -#define INITIAL_ARRAY_SIZE 4
  +#define INITIAL_ARRAY_SIZE 1
   
   //////////////////////////////////////////////////////////////////////
   // Construction/Destruction
  @@ -166,7 +166,7 @@
   {
   	if (m_pHeader) return m_nStatus;
   	m_pNode = m_pParser->Next();
  -	if (!m_pNode) {
  +	if (!m_pNode) { /* this means a SOAP error */
   		m_nStatus = AXIS_FAIL;
   		return m_nStatus;
   	}
  @@ -183,34 +183,17 @@
   int SoapDeSerializer::GetBody()
   {
       AXISTRACE1("SoapDeSerializer::GetBody");
  -	while (true)
  +	if (!m_pNode) m_pNode = m_pParser->Next(); /* previous header searching may have left a node unidentified */
  +	if (m_pNode) 
   	{
  -		if (!m_pNode) m_pNode = m_pParser->Next(); /* previous header searching may have left a node unidentified */
  -		if (!m_pNode) {
  -			m_nStatus = AXIS_FAIL;
  -			return AXIS_FAIL;
  -		}
   		if ((START_ELEMENT == m_pNode->m_type) && (0 == strcmp(m_pNode->m_pchNameOrValue, SoapKeywordMapping::Map(m_nSoapVersion).pchWords[SKW_BODY])))
   		{
   			/* Set any attributes/namspaces to the SoapBody object */
   			m_pNode = NULL; /*This is to indicate that node is identified and used */
   			return AXIS_SUCCESS;
   		}
  -		else /* probably there are un-processed soap headers. So check for "mustUnderstand" attribute in those headers */
  -		{
  -			/*TODO: parse until <Body> tag is found. If a "mustUnderstand" attribute found
  -			{
  -				m_nStatus = AXIS_MUSTUNDERSTAND_IGNORED;
  -				return NULL;
  -			}
  -			else
  -			{
  -				leave the <Body> element un-identified state
  -			}
  -			*/
  -			m_pNode = NULL;
  -		}
   	}
  +	m_nStatus = AXIS_FAIL;
   	return AXIS_FAIL;
   }
   
  @@ -321,9 +304,13 @@
   					m_pNode = m_pParser->Next(); /* wrapper node without type info  Ex: <phonenumbers>*/
   				if (0 == strcmp(pName, m_pNode->m_pchNameOrValue))
   				{
  +					m_pNode = NULL; /* recognized and used the node */
   					pItem = reinterpret_cast<void*>(ptrval+nIndex*itemsize);
   					if (AXIS_SUCCESS == ((AXIS_DESERIALIZE_FUNCT)pDZFunct)(pItem, this))
  +					{
  +						m_pParser->Next(); /* skip end element of the array item */
   						continue;
  +					}
   				}
   				else
   				{
  @@ -713,7 +700,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -954,7 +941,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1000,7 +987,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1046,7 +1033,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1092,7 +1079,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1138,7 +1125,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1184,7 +1171,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1230,7 +1217,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1276,7 +1263,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1322,7 +1309,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1368,7 +1355,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1414,7 +1401,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1460,7 +1447,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1506,7 +1493,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1552,7 +1539,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1598,7 +1585,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1644,7 +1631,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1690,7 +1677,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1752,7 +1739,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1798,7 +1785,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1844,7 +1831,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1890,7 +1877,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -1936,7 +1923,7 @@
   		}
   		else
   		{
  -			/* error: unexpected element */
  +			m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
   		}
   	}
   	m_nStatus = AXIS_FAIL; /* unexpected SOAP stream */
  @@ -2063,4 +2050,52 @@
   	}
   	pArray->m_Array = NULL;
   	pArray->m_Size = 0;
  +}
  +
  +/**
  + * Used by the Axis Engine to get any left header blocks in the deserializer even after
  + * the completion of message path. Then those headers will be added to the serializer
  + * because they are probably headers targetted to nex soap processors.
  + */
  +HeaderBlock* SoapDeSerializer::GetHeaderBlock()
  +{
  +	if (!m_pHeader) return NULL;
  +	/*TODO : get a header block left in the m_pHeader (remove it from there) and return */
  +	return NULL;
  +}
  +/**
  + * Used probably by a handler to add a header block to the Deserializer. Probably to be 
  + * used by a subsequent handler in the request message path 
  + */
  +int AXISCALL SoapDeSerializer::AddHeaderBlock(IHeaderBlock* pBlk)
  +{
  +	if (!m_pHeader) m_pHeader = new SoapHeader();
  +	m_pHeader->addHeaderBlock((HeaderBlock*)pBlk);
  +	return AXIS_SUCCESS;
  +}
  +
  +xsd__hexBinary SoapDeSerializer::GetBodyAsHexBinary()
  +{
  +	/*TODO*/
  +	xsd__hexBinary hb;
  +	return hb;
  +}
  +
  +xsd__base64Binary SoapDeSerializer::GetBodyAsBase64Binary()
  +{
  +	/*TODO*/
  +	xsd__base64Binary bb;
  +	return bb;
  +}
  +
  +int SoapDeSerializer::SetNewSoapBody(AxisChar* pNewSoapBody)
  +{
  +	/*TODO*/
  +	return 0;
  +}
  +
  +bool SoapDeSerializer::IsAnyMustUnderstandHeadersLeft()
  +{
  +	/*TODO*/
  +	return false;
   }
  
  
  
  1.30.4.11 +35 -1     ws-axis/c/src/soap/SoapSerializer.cpp
  
  Index: SoapSerializer.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/SoapSerializer.cpp,v
  retrieving revision 1.30.4.10
  retrieving revision 1.30.4.11
  diff -u -r1.30.4.10 -r1.30.4.11
  --- SoapSerializer.cpp	5 Jan 2004 04:03:51 -0000	1.30.4.10
  +++ SoapSerializer.cpp	7 Jan 2004 11:21:15 -0000	1.30.4.11
  @@ -661,6 +661,41 @@
   }
   
   /**
  + * Used probably by a handler to add a header block to the Serializer. 
  + */
  +int SoapSerializer::AddHeaderBlock(IHeaderBlock* pBlk)
  +{
  +	if (m_pSoapEnvelope)
  +	{
  +		if(!m_pSoapEnvelope->m_pSoapHeader) m_pSoapEnvelope->m_pSoapHeader = new SoapHeader();
  +	}
  +	else /* error : by this time there should be an envelope */
  +	{
  +		return AXIS_FAIL;
  +	}
  +	m_pSoapEnvelope->m_pSoapHeader->addHeaderBlock((HeaderBlock*)pBlk);
  +	return AXIS_SUCCESS;
  +}
  +
  +int SoapSerializer::SetBodyAsHexBinary(xsd__hexBinary body)
  +{
  +	/*TODO*/
  +	return AXIS_SUCCESS;
  +}
  +
  +int SoapSerializer::SetBodyAsBase64Binary(xsd__base64Binary body)
  +{
  +	/*TODO*/	
  +	return AXIS_SUCCESS;
  +}
  +
  +const AxisChar* SoapSerializer::GetBodyAsString()
  +{
  +	/*TODO*/	
  +	return NULL;
  +}
  +
  +/**
    * Callback function that should be called by the transport module to release a buffer passed to it by a Serializer. 
    * @param 
    *		buffer - Same buffer passed to transport by calling transport's AXIS_MODULE_CALLBACK_SEND_MESSAGE_BYTES 
  @@ -677,6 +712,5 @@
   	char *pChar = const_cast<char*>(buffer);
   	pChar[0] = '\0'; /* set nul */ 
   }
  -
   
   
  
  
  
  No                   revision
  No                   revision
  1.3.4.3   +69 -32    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/SourceWriterFactory.java
  
  Index: SourceWriterFactory.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/SourceWriterFactory.java,v
  retrieving revision 1.3.4.2
  retrieving revision 1.3.4.3
  diff -u -r1.3.4.2 -r1.3.4.3
  --- SourceWriterFactory.java	15 Nov 2003 12:25:54 -0000	1.3.4.2
  +++ SourceWriterFactory.java	7 Jan 2004 11:21:15 -0000	1.3.4.3
  @@ -63,38 +63,75 @@
    */
   public class SourceWriterFactory {
   	public static SourceWriter createSourceWriter(int genaratorType,WebServiceContext wscontext)throws WrapperFault{
  -		//C++
  -		if(genaratorType == WrapperConstants.GENERATOR_PARAM_CPP_ALL)
  -			return new org.apache.axis.wsdl.wsdl2ws.cpp.AllParamWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_CPP)
  -			return new org.apache.axis.wsdl.wsdl2ws.cpp.WrapWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_HPP)
  -			return new org.apache.axis.wsdl.wsdl2ws.cpp.WrapHeaderWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_CPP)
  -			return new org.apache.axis.wsdl.wsdl2ws.cpp.ServiceWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_HPP)
  -			return new org.apache.axis.wsdl.wsdl2ws.cpp.ServiceHeaderWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_CLASSLOADER_CPP)
  -			return new org.apache.axis.wsdl.wsdl2ws.cpp.ClassLoader(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_HPP)
  -			return new org.apache.axis.wsdl.wsdl2ws.cpp.ClientStubHeaderWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_CPP)
  -			return new org.apache.axis.wsdl.wsdl2ws.cpp.ClientStubWriter(wscontext);	
  -		//C
  -		else if(genaratorType == WrapperConstants.GENERATOR_PARAM_C_ALL)
  -			return new org.apache.axis.wsdl.wsdl2ws.c.AllParamWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_C)
  -			return new org.apache.axis.wsdl.wsdl2ws.c.WrapWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_H)
  -			return new org.apache.axis.wsdl.wsdl2ws.c.WrapHeaderWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_C)
  -			return new org.apache.axis.wsdl.wsdl2ws.c.ServiceWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_CLASSLOADER_C)
  -			return new org.apache.axis.wsdl.wsdl2ws.c.ClassLoader(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_H)
  -			return new org.apache.axis.wsdl.wsdl2ws.c.ClientStubHeaderWriter(wscontext);
  -		else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_C)
  -			return new org.apache.axis.wsdl.wsdl2ws.c.ClientStubWriter(wscontext);	
  +		if("rpc".equals(wscontext.getWrapInfo().getWrapperStyle())){
  +			//C++
  +			if(genaratorType == WrapperConstants.GENERATOR_PARAM_CPP_ALL)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.AllParamWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_CPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.WrapWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_HPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.WrapHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_CPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.ServiceWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_HPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.ServiceHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLASSLOADER_CPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.ClassLoader(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_HPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.ClientStubHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_CPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.ClientStubWriter(wscontext);	
  +			//C
  +			else if(genaratorType == WrapperConstants.GENERATOR_PARAM_C_ALL)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.AllParamWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_C)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.WrapWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_H)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.WrapHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_C)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.ServiceWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLASSLOADER_C)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.ClassLoader(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_H)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.ClientStubHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_C)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.ClientStubWriter(wscontext);	
  +			throw new WrapperFault("Source writer type not found");		
  +		}		
  +		else if ("document".equals(wscontext.getWrapInfo().getWrapperStyle())){
  +			if(genaratorType == WrapperConstants.GENERATOR_PARAM_CPP_ALL)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.literal.AllParamWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_CPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.literal.WrapWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_HPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.literal.WrapHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_CPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.literal.ServiceWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_HPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.literal.ServiceHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLASSLOADER_CPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.literal.ClassLoader(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_HPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.literal.ClientStubHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_CPP)
  +				return new org.apache.axis.wsdl.wsdl2ws.cpp.literal.ClientStubWriter(wscontext);	
  +			//C
  +			else if(genaratorType == WrapperConstants.GENERATOR_PARAM_C_ALL)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.literal.AllParamWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_C)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.literal.WrapWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_WRAPPER_H)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.literal.WrapHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_SERVICE_C)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.literal.ServiceWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLASSLOADER_C)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.literal.ClassLoader(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_H)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.literal.ClientStubHeaderWriter(wscontext);
  +			else if(genaratorType == WrapperConstants.GENERATOR_CLIENT_STUB_C)
  +				return new org.apache.axis.wsdl.wsdl2ws.c.literal.ClientStubWriter(wscontext);	
  +			throw new WrapperFault("Source writer type not found");				
  +		}
   		throw new WrapperFault("Source writer type not found");				
   	}
   }
  
  
  
  1.7.4.4   +0 -2      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
  
  Index: WSDL2Ws.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java,v
  retrieving revision 1.7.4.3
  retrieving revision 1.7.4.4
  diff -u -r1.7.4.3 -r1.7.4.4
  --- WSDL2Ws.java	24 Dec 2003 11:30:22 -0000	1.7.4.3
  +++ WSDL2Ws.java	7 Jan 2004 11:21:15 -0000	1.7.4.4
  @@ -380,8 +380,6 @@
   			//type is a inbild type or a already created type
   			return typedata;  
   		}
  -
  -					
   		System.out.println(
   			"############## the type found =" + type.getQName());
   		typedata =
  
  
  
  1.1.4.1   +6 -3      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WebServiceGenaratorFactory.java
  
  Index: WebServiceGenaratorFactory.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WebServiceGenaratorFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.1.4.1
  diff -u -r1.1 -r1.1.4.1
  --- WebServiceGenaratorFactory.java	19 Sep 2003 14:25:50 -0000	1.1
  +++ WebServiceGenaratorFactory.java	7 Jan 2004 11:21:15 -0000	1.1.4.1
  @@ -58,7 +58,7 @@
   
   import org.apache.axis.wsdl.wsdl2ws.info.WebServiceContext;
   import org.apache.axis.wsdl.wsdl2ws.rpc.RPCWebServiceGenarator;
  -
  +import org.apache.axis.wsdl.wsdl2ws.doclit.DocLitWebServiceGenarator;
   /**
    * Create the concreate WebService Genarator depends on the options.
    * @author Srinath Perera (hemapani@opensource.lk)
  @@ -67,7 +67,10 @@
   public class WebServiceGenaratorFactory {
   	public static WebServiceGenarator createWebServiceGenarator(WebServiceContext wscontext){
   		if(wscontext.getWrapInfo().getWrapperStyle() == WrapperConstants.STYLE_RPC)
  -			return new 	RPCWebServiceGenarator(wscontext);											
  -		return null;
  +			return new 	RPCWebServiceGenarator(wscontext);	
  +		else if(wscontext.getWrapInfo().getWrapperStyle() == WrapperConstants.STYLE_DOCUMENT)										
  +			return new 	DocLitWebServiceGenarator(wscontext);
  +		else	
  +			return null;
   	}
   }
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +108 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/AllParamWriter.java
  
  
  
  
  1.1.2.1   +143 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ArrayParamWriter.java
  
  
  
  
  1.1.2.1   +81 -0     ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/BasicFileWriter.java
  
  
  
  
  1.1.2.1   +323 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/BeanParamWriter.java
  
  
  
  
  1.1.2.1   +97 -0     ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/CFileWriter.java
  
  
  
  
  1.1.2.1   +190 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/CUtils.java
  
  
  
  
  1.1.2.1   +144 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ClassLoader.java
  
  
  
  
  1.1.2.1   +190 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ClientStubHeaderWriter.java
  
  
  
  
  1.1.2.1   +175 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ClientStubWrapperWriter.java
  
  
  
  
  1.1.2.1   +355 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ClientStubWriter.java
  
  
  
  
  1.1.2.1   +101 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/HeaderFileWriter.java
  
  
  
  
  1.1.2.1   +116 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ParamCFileWriter.java
  
  
  
  
  1.1.2.1   +197 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ParamWriter.java
  
  
  
  
  1.1.2.1   +157 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ParmHeaderFileWriter.java
  
  
  
  
  1.1.2.1   +167 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/ServiceWriter.java
  
  
  
  
  1.1.2.1   +135 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/WrapHeaderWriter.java
  
  
  
  
  1.1.2.1   +379 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/Attic/WrapWriter.java
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +106 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/AllParamWriter.java
  
  
  
  
  1.1.2.1   +138 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ArrayParamWriter.java
  
  
  
  
  1.1.2.1   +83 -0     ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/BasicFileWriter.java
  
  
  
  
  1.1.2.1   +299 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/BeanParamWriter.java
  
  
  
  
  1.1.2.1   +103 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/CPPClassWriter.java
  
  
  
  
  1.1.2.1   +215 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/CPPUtils.java
  
  
  
  
  1.1.2.1   +138 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ClassLoader.java
  
  
  
  
  1.1.2.1   +210 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ClientStubHeaderWriter.java
  
  
  
  
  1.1.2.1   +364 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ClientStubWriter.java
  
  
  
  
  1.1.2.1   +106 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/HeaderFileWriter.java
  
  
  
  
  1.1.2.1   +120 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ParamCPPFileWriter.java
  
  
  
  
  1.1.2.1   +195 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ParamWriter.java
  
  
  
  
  1.1.2.1   +177 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ParmHeaderFileWriter.java
  
  
  
  
  1.1.2.1   +204 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ServiceHeaderWriter.java
  
  
  
  
  1.1.2.1   +175 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/ServiceWriter.java
  
  
  
  
  1.1.2.1   +174 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/WrapHeaderWriter.java
  
  
  
  
  1.1.2.1   +340 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/Attic/WrapWriter.java
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +117 -0    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/doclit/Attic/DocLitWebServiceGenarator.java
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.2   +5 -5      ws-axis/c/vc/client/samples/interoptests/doclitbase/Attic/doclitbase.dsp
  
  Index: doclitbase.dsp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/vc/client/samples/interoptests/doclitbase/Attic/doclitbase.dsp,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- doclitbase.dsp	5 Jan 2004 13:22:36 -0000	1.1.2.1
  +++ doclitbase.dsp	7 Jan 2004 11:21:16 -0000	1.1.2.2
  @@ -41,14 +41,14 @@
   # PROP Intermediate_Dir "Release"
   # PROP Target_Dir ""
   # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
  -# ADD CPP /nologo /W3 /GX /O2 /I "../../../../../include" /I "C:\Expat-1.95.7\Source\lib" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
  +# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../../../../include" /I "C:\Expat-1.95.7\Source\lib" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
   # ADD BASE RSC /l 0x409 /d "NDEBUG"
   # ADD RSC /l 0x409 /d "NDEBUG"
   BSC32=bscmake.exe
   # ADD BASE BSC32 /nologo
   # ADD BSC32 /nologo
   LINK32=link.exe
  -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
  +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
   # ADD LINK32 Common.lib Soap.lib wsdd.lib Engine.lib client.lib Ws2_32.lib libexpat.lib xml.lib /nologo /subsystem:console /machine:I386 /libpath:"../../../../../lib/axis" /libpath:"C:\Expat-1.95.7\Libs"
   
   !ELSEIF  "$(CFG)" == "doclitbase - Win32 Debug"
  @@ -63,15 +63,15 @@
   # PROP Output_Dir "Debug"
   # PROP Intermediate_Dir "Debug"
   # PROP Target_Dir ""
  -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ  /c
  -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../../../include" /I "C:\Expat-1.95.7\Source\lib" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ  /c
  +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
  +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../../../../include" /I "C:\Expat-1.95.7\Source\lib" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
   # ADD BASE RSC /l 0x409 /d "_DEBUG"
   # ADD RSC /l 0x409 /d "_DEBUG"
   BSC32=bscmake.exe
   # ADD BASE BSC32 /nologo
   # ADD BSC32 /nologo
   LINK32=link.exe
  -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
  +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
   # ADD LINK32 Common_D.lib Soap_D.lib wsdd_D.lib Engine_D.lib client_D.lib Ws2_32.lib libexpat.lib xml_D.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"../../../../../lib/axis" /libpath:"C:\Expat-1.95.7\Source\lib\Debug"
   
   !ENDIF