Amigos do GUJ espero que vcs possam me ajudar.
Preciso desenvolver um WebService com Axis + TomCat. Já configurei todas as variáveis de ambiente e Classpath
quando tento gerar o WSDL pelo WSDL2Java gera o seguinte erro.
eu ecrevo no prompt: C:> java org.apache.axis.wsdl.WSDL2Java http://localhost:8080/axis/Hello.jws?wsdl
lembrando que o arquivo Hello.jws encontra-se na pasta webapps\axis\Hello.jws
ai obtenho o seguinte erro:
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
java.io.FileNotFoundException: http://localhost:8080/axis/Hello.jws?wsdl
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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(Unknown Source)
não sei o que estou fazendo de errado
Alguem poderia me ajudar ? Desde já agradeço.