aspose file tools*
The moose likes Web Services and the fly likes Axis Parser Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Parser Error" Watch "Axis Parser Error" New topic
Author

Axis Parser Error

Matt Hoffman
Ranch Hand

Joined: Jun 03, 2004
Posts: 83
I am getting the following error when I click on the WSDL link for a service in AXIS. This is the URL that spawns this: http://localhost:8080/axis/services/HelloService?wsdl. Any ideas would be GREATLY appreciated!

AXIS error
Sorry, something seems to have gone wrong... here are the details:

Fault - ; nested exception is:
WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: can't declare any more prefixes in this context: java.lang.IllegalStateException: can't declare any more prefixes in this context
Matt Hoffman
Ranch Hand

Joined: Jun 03, 2004
Posts: 83
How do I force Axis to use Xerces instead of Crimson?
Matt Hoffman
Ranch Hand

Joined: Jun 03, 2004
Posts: 83
I figured this out.

You must make a endoresed directory in your JAVA_HOME\lib dirfectory and put the Xerces jars in there. Then you have to change the catalina.xml file to put to this directory and restart tomcat.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis Parser Error