This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes problem with apache axis ,, Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "problem with apache axis ,," Watch "problem with apache axis ,," New topic
Author

problem with apache axis ,,

gayathri santhanagopalan
Greenhorn

Joined: Oct 29, 2007
Posts: 1
When we did the testing of webservices for webfocus webservices. I faced some unusual errors. The error comes like



"- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

org.xml.sax.SAXParseException: The element type "init" must be terminated by the matching end-tag "</init>".

AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: org.xml.sax.SAXParseException: The element type "init" must be terminated by the matching end-tag "</init>".

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}stackTrace rg.xml.sax.SAXParseException: The element type "init" must be terminated by the matching end-tag "</init>".

at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)"



pls tell me why this error comes and how to debug them
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Axis 1.x requires the installation of the JavaBeans Activation Framework (JAF) to support attachments.

You can use axis' happyaxis page to determive whether you installed JAF correctly for Axis.


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
sasank ch
Greenhorn

Joined: Nov 07, 2007
Posts: 25
Did you put activation.jar and mail.jar in the classpath???
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: problem with apache axis ,,
 
Similar Threads
i have written code for dom but output given from the exception caught in the code
FileNotFoundException
WSDL Validation
cannot restart tomcat
Apache Tomcat 5.5 under Debian Etch - Fatal Error