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 pr...@apache.org on 2006/03/02 15:24:52 UTC
svn commit: r382390 - in /webservices/axis/trunk/c/src/xml/xerces:
XMLParserXerces.cpp XMLParserXerces.h
Author: prestonf
Date: Thu Mar 2 06:24:51 2006
New Revision: 382390
URL: http://svn.apache.org/viewcvs?rev=382390&view=rev
Log:
Hi All,
Had to take out the HTTPTransportException code as this does not work on Linux (haven't had a chance to find out why). Causes the following exception...
Exception : DLOPEN FAILED in loading parser library Failed to load parser within server engine:
Error Message='Success' Error Code='0'
Load lib error='/home/axistest/test_P/wscc-1.1.0-Linux/lib/libaxis_xmlparser.so: undefined symbol: _ZTI22HTTPTransportException'
Modified:
webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp
webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h
Modified: webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp?rev=382390&r1=382389&r2=382390&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp (original)
+++ webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp Thu Mar 2 06:24:51 2006
@@ -84,9 +84,13 @@
if( !m_bFirstParsed)
{
- try
- {
m_pParser->parseFirst( *m_pInputSource, m_ScanToken);
+/*
+ Try this again at some point in the future. At the moment it works on
+ Windows, but Linux as a problem...
+ try
+ {
+ m_pParser->parseFirst( *m_pInputSource, m_ScanToken);
}
catch( const XMLException& toCatch)
{
@@ -120,7 +124,7 @@
throw AxisParseException( CLIENT_SOAP_CONTENT_NOT_SOAP, pErrorMsg);
}
-
+*/
m_bFirstParsed = true;
}
Modified: webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h?rev=382390&r1=382389&r2=382390&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h (original)
+++ webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h Thu Mar 2 06:24:51 2006
@@ -36,8 +36,11 @@
#include <xercesc/framework/XMLPScanToken.hpp>
#include "SoapInputSource.h"
#include "../AxisParseException.h"
-
+/*
+Try this again at some point in the future. At the moment it works on
+Windows, but Linux as a problem...
#include "../../transport/axis3/HTTPTransportException.hpp"
+*/
XERCES_CPP_NAMESPACE_USE