You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Samisa Abeysinghe <sa...@yahoo.com> on 2004/04/06 06:23:48 UTC

Getting current CVS code working with Xerces Parser

Hi All,
   I was trying to get the Axis C++ working with the Xerces XML Parser on Linux platform.

   I had to do the following changes.

1. Add to configure.ac the following to use Xerces parser
CPPFLAGS="-Wall -Wshadow -DUSE_XERCES_PARSER"
LDFLAGS="-s -L$AXISCPP_HOME/lib/xercesc -lxerces-c -lstdc++"

2. Fix compiler error
in file src/soap/SoapParserXerces.h #include "../xml/Qname.h" to #include "../xml/QName.h"
(note n --> N; Linux is case sensitive)

3. In src/soap/Makefile.am
   3.1 Replace SoapParserExpat.cpp with SoapParserXerces.cpp  
   3.2 Add XercesHandler.cpp on top of SoapParserXerces.cpp
   3.3 Add SoapInputSource.cpp on top of XercesHandler.cpp
   3.4 Add SoapBinInputStream.cpp on top of SoapInputSource.cpp

4. In src/wsdd/Makefile.am
   4.1 Replace WSDDDocumentExpat.cpp with WSDDDocumentXerces.cpp 

Plese fix the compiler error in CVS code.
Is it possible to automate steps 3 and 4 somehow so that users do not have to edit Makefile.am
files? 

Thanks,
Samisa...


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/