axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Lizhao" <lizhao.c...@tellabs.com>
Subject RE: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)
Date Mon, 07 Jan 2008 02:13:04 GMT
Hi, Ajay,

It seems has nothing to do with the warning of "Unable to find required
classes", maybe you should check whether your wsdl file is valid or not?

Best Regards!

 

Lizhao Chen

 

86-021-50800850-8395

-----Original Message-----
From: msg2ajay [mailto:msg2ajay@gmail.com] 
Sent: Monday, January 07, 2008 09:48 AM
To: axis-user@ws.apache.org
Subject: Unable to find required classes (javax.activation.DataHandler
and javax.mail.internet.MimeMultipart)


hello,
        i am using axis1.4 lib to generate stub and wrapper class files
for
webService. i have set classpath in Environment Variables as 

[CODE]
%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\comm
ons-logging-1.0.4.jar;
%AXIS_LIB%\saaj.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_
LIB%\log4j-1.2.8.jar;
%AXIS_LIB%\xml-apis-1.3.03.jar;%AXIS_LIB%\xercesImpl-2.8.1.jar;%AXIS_LIB
%\wsdl4j-1.5.1.jar;
%AXIS_LIB%\activation.jar
[/CODE]

but whin i try to run with java as below

[CODE]
java -cp %AXISCLASSPATH% org.apache.axis.wsdl.WSDL2Java
http://10.1.3.90/wbds/service.asmx
[/CODE]

 ERROR:

>java -cp %AXISCLASSPATH% org.apache.axis.wsdl.WSDL2Java
http://10.1.3.90/wbds/service.asmx
nable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment suppo
is disabled.
.xml.sax.SAXException: Fatal Error:
URI=http://10.1.3.90/wbds/service.asmx
Line=61: The element type "br" must be ter
ated by the matching end-tag "</br>".
     at
org.apache.axis.utils.XMLUtils$ParserErrorHandler.fatalError(XMLUtils.ja
va:740)
     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)
     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown
Source)
     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn
Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
     at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
     at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:4
82)
     at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
     at java.lang.Thread.run(Thread.java:595)


Can any bady show some way out here.

ThanQ,
Ajay



-- 
View this message in context:
http://www.nabble.com/Unable-to-find-required-classes-%28javax.activatio
n.DataHandler-and-javax.mail.internet.MimeMultipart%29-tp14657183p146571
83.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message