axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lilan...@apache.org
Subject cvs commit: xml-axis/contrib/Axis-C++/src/Message SOAPMessage.cpp SOAPFaultElement.cpp RPCElement.cpp MessageElement.hpp
Date Thu, 29 Aug 2002 07:42:41 GMT
lilantha    2002/08/29 00:42:41

  Modified:    contrib/Axis-C++/src/Message SOAPMessage.cpp
                        SOAPFaultElement.cpp RPCElement.cpp
                        MessageElement.hpp
  Log:
  Fix URL for current changes
  
  Revision  Changes    Path
  1.3       +14 -3     xml-axis/contrib/Axis-C++/src/Message/SOAPMessage.cpp
  
  Index: SOAPMessage.cpp
  ===================================================================
  RCS file: /home/cvs/xml-axis/contrib/Axis-C++/src/Message/SOAPMessage.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SOAPMessage.cpp	3 Jun 2002 04:23:54 -0000	1.2
  +++ SOAPMessage.cpp	29 Aug 2002 07:42:40 -0000	1.3
  @@ -112,11 +112,22 @@
   void SOAPMessage::Serialize(TypeMappingRegistry* p_TypMapper)
   {
   	XmlWriter writer;
  -	XMLSerializer serilizer(writer);
  +	XMLSerializer *serilizer = new XMLSerializer(writer);
   
  -	serilizer.SetTypeMappingRegistry(p_TypMapper);
  -	m_envMsg.Serialize(serilizer);
  +	serilizer->SetTypeMappingRegistry(p_TypMapper);
  +	m_envMsg.Serialize(*serilizer);
   	m_Msg = writer.str();
  +
  +	
  +
  +	try
  +	{
  +		delete serilizer;
  +	}
  +	catch(...)
  +	{
  +		std::cout << "Error on parser termination..." << std::endl;
  +	}
   
   #ifdef _DEBUG
   	std::cout << writer.str();
  
  
  
  1.3       +1 -1      xml-axis/contrib/Axis-C++/src/Message/SOAPFaultElement.cpp
  
  Index: SOAPFaultElement.cpp
  ===================================================================
  RCS file: /home/cvs/xml-axis/contrib/Axis-C++/src/Message/SOAPFaultElement.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SOAPFaultElement.cpp	3 Jun 2002 04:23:54 -0000	1.2
  +++ SOAPFaultElement.cpp	29 Aug 2002 07:42:40 -0000	1.3
  @@ -68,7 +68,7 @@
   #include "XMLDeSerializer.hpp"
   #include "XMLSerializer.hpp"
   #include "AxisException.hpp"
  -#include <dom/DOM_Element.hpp>
  +#include <xercesc/dom/DOM_Element.hpp>
   
   
   
  
  
  
  1.3       +1 -1      xml-axis/contrib/Axis-C++/src/Message/RPCElement.cpp
  
  Index: RPCElement.cpp
  ===================================================================
  RCS file: /home/cvs/xml-axis/contrib/Axis-C++/src/Message/RPCElement.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RPCElement.cpp	3 Jun 2002 04:23:54 -0000	1.2
  +++ RPCElement.cpp	29 Aug 2002 07:42:40 -0000	1.3
  @@ -68,7 +68,7 @@
   #include "XMLSerializer.hpp"
   #include "XMLDeSerializer.hpp"
   #include "AxisException.hpp"
  -#include <dom/DOM_Element.hpp>
  +#include <xercesc/dom/DOM_Element.hpp>
   #include <cstdio>
   
   
  
  
  
  1.3       +2 -2      xml-axis/contrib/Axis-C++/src/Message/MessageElement.hpp
  
  Index: MessageElement.hpp
  ===================================================================
  RCS file: /home/cvs/xml-axis/contrib/Axis-C++/src/Message/MessageElement.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MessageElement.hpp	3 Jun 2002 04:23:54 -0000	1.2
  +++ MessageElement.hpp	29 Aug 2002 07:42:40 -0000	1.3
  @@ -67,8 +67,8 @@
   #define _AXIS_MESSAGEELEMENT_HPP
   
   #include "AttList.hpp"
  -#include <dom/DOM_Node.hpp>
  -#include <dom/DOM_Element.hpp>
  +#include <xercesc/dom/DOM_Node.hpp>
  +#include <xercesc/dom/DOM_Element.hpp>
   
   
   class XMLSerializer;
  
  
  

Mime
View raw message