Olá, boa noite!
Estou tentando executar o seguinte comando:
C:\Ambiente Devs\Servidores\wildfly-8.2.0.Final\bin>wsconsume.bat -k -n -o C:\Ambiente Devs\Workspace\Projetos_Estudos\WebservicesJAX-WS_Alura\estoquews-web\src C:\Ambiente Devs\Workspace\Projetos_Estudos\WebservicesJAX-WS_Alura\estoquews-web\src\EstoqueWSServiceCap5.wsdl
Para que sejam gerada as classes a partir do WSDL passado, entretanto recebo o seguinte erro de log:
Could not find log4j.xml configuration, logging to console.
Loading FrontEnd jaxws ... Loading DataBinding jaxb ... wsdl2java -exsh false -d C:\Ambiente -verbose -allowElementReferences file:/C:/A mbiente%20Devs/Servidores/wildfly-8.2.0.Final/bin/Devs/Workspace/Projetos_Estudo s/WebservicesJAX-WS_Alura/estoquews-web/src wsdl2java - Apache CXF 2.7.13
JBWS024002: Failed to invoke org.apache.cxf.tools.wsdlto.WSDLToJava org.apache.cxf.tools.common.ToolException: org.apache.cxf.wsdl11.WSDLRuntimeExce ption: Fail to create wsdl definition file:/C:/Ambiente%20Devs/Servidores/wildfl y-8.2.0.Final/bin/Devs/Workspace/Projetos_Estudos/WebservicesJAX-WS_Alura/estoqu ews-web/src: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Am biente%20Devs/Servidores/wildfly-8.2.0.Final/bin/Devs/Workspace/Projetos_Estudos /WebservicesJAX-WS_Alura/estoquews-web/src'.: java.io.FileNotFoundException: C:\ Ambiente Devs\Servidores\wildfly-8.2.0.Final\bin\Devs\Workspace\Projetos_Estudos \WebservicesJAX-WS_Alura\estoquews-web\src (O sistema não pode encontrar o camin ho especificado) at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon tainer.java:420) at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.ja va:103) at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113) at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl .java:301) at org.jboss.ws.tools.cmd.WSConsume.importServices(WSConsume.java:289) at org.jboss.ws.tools.cmd.WSConsume.mainInternal(WSConsume.java:106) at org.jboss.ws.tools.cmd.WSConsume.main(WSConsume.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.modules.Module.run(Module.java:312) at org.jboss.modules.Main.main(Main.java:460) Caused by: org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create wsdl defin ition file:/C:/Ambiente%20Devs/Servidores/wildfly-8.2.0.Final/bin/Devs/Workspace /Projetos_Estudos/WebservicesJAX-WS_Alura/estoquews-web/src: WSDLException: faul tCode=PARSER_ERROR: Problem parsing 'file:/C:/Ambiente%20Devs/Servidores/wildfly -8.2.0.Final/bin/Devs/Workspace/Projetos_Estudos/WebservicesJAX-WS_Alura/estoque ws-web/src'.: java.io.FileNotFoundException: C:\Ambiente Devs\Servidores\wildfly -8.2.0.Final\bin\Devs\Workspace\Projetos_Estudos\WebservicesJAX-WS_Alura\estoque ws-web\src (O sistema não pode encontrar o caminho especificado) at org.apache.cxf.wsdl11.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionB uilder.java:97) at org.apache.cxf.wsdl11.WSDLDefinitionBuilder.build(WSDLDefinitionBuild er.java:69) at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuil der.build(JAXWSDefinitionBuilder.java:83) at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuil der.build(JAXWSDefinitionBuilder.java:60) at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJav aContainer.java:198) at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon tainer.java:164) at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon tainer.java:412) ... 12 more Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Prob lem parsing 'file:/C:/Ambiente%20Devs/Servidores/wildfly-8.2.0.Final/bin/Devs/Wo rkspace/Projetos_Estudos/WebservicesJAX-WS_Alura/estoquews-web/src'.: java.io.Fi leNotFoundException: C:\Ambiente Devs\Servidores\wildfly-8.2.0.Final\bin\Devs\Wo rkspace\Projetos_Estudos\WebservicesJAX-WS_Alura\estoquews-web\src (O sistema nã o pode encontrar o caminho especificado) at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2198)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2390) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2422) at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl. java:263) at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.j ava:206) at org.apache.cxf.wsdl11.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionB uilder.java:78) ... 18 more Caused by: java.io.FileNotFoundException: C:\Ambiente Devs\Servidores\wildfly-8. 2.0.Final\bin\Devs\Workspace\Projetos_Estudos\WebservicesJAX-WS_Alura\estoquews- web\src (O sistema não pode encontrar o caminho especificado) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.(FileInputStream.java:138) at java.io.FileInputStream.(FileInputStream.java:93) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection .java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon nection.java:188) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So urce) 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 com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2188)
... 23 moreC:\Ambiente Devs\Servidores\wildfly-8.2.0.Final\bin>
Poderiam me dar um suporte por favor? Obrigado.
Att, Alessandro Mesquita