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%\commons-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.java: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$FragmentContentDispatcher.dispatch(Unknown
Source)
     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
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:482)
     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.activation.DataHandler-and-javax.mail.internet.MimeMultipart%29-tp14657183p14657183.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to