Hello, I want to help.
I am developing an application using *Apache CXF version 3.0.4 *where we automatically generating some STUBS from a WSDL URL. The moment squeegee the following command: *wsdl2java -p br.com.mv.ws -keep -verbose -clientjar 187_45_245_217_recepcionarLoteRps.jar http://187.45.245.217/ws_nfse/nfseservice.svc?wsdl* the framework processes and gives the following error:

Caused by: java.io.FileNotFoundException: C:\Users\DIEGO~1.ALM\AppData\Local\Temp\cxf-tmp-467961\nfseservice.svc?wsdl=wsdl0 (A sintaxe do nome do arquivo, do nome do diretório ou do rótulo do volume está incorreta)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:165)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.generateLocalWSDL(WSDLToJavaContainer.java:848)

/*I wonder if there is a way to change the file name at runtime?*/

Thanks And See You Next Time
--

Atenciosamente,

*Diego Marinho Almeida*
Desenvolvimento - Núcleo ERP - MV2000 - Transmissor NFS-e
MV | Recife - PE - Brasil -
+55 (81) 3972.7000 | ramal 81798
Skype - diego.almeida-mv

img001

Reply via email to