Just started to use Axis, had the same problem as:

http://marc.theaimsgroup.com/?t=104307942200003&r=1&w=2
subject: Bug/Wierdness in reading config file after class update

I am using Resin 2.1.7 on linux with Axis1.1_rc1

happyaxis.jsp reports...
XML Parser:
com.caucho.xml.parsers.XmlSAXParserFactory$XmlSAXParser  
XML ParserLocation:     /usr/local/resin-ee-2.1.7/lib/resin.jar

I found that when the server-config.wsdd generated with Resin's Xml
Libraries it generates the following root tag.

<deployment xmlns:="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";
xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:="http://www.w3.org/2000/xmlns/";>

There are 2 xmlns: attributes in the tag. I removed one, everything works
fine.


You can also avoid this problem by using apache's xerces.

XML Parser:             org.apache.xerces.jaxp.SAXParserImpl  
XML ParserLocation:     /usr/local/jlib/xerces-2_3_0/xercesImpl.jar

The following is generated:

<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

Reply via email to