Plugin JAX-WS Netbean

1 resposta
E

Pessoal, to com um problema que não consigo resolver por nada.
Fiz o projeto NF-e no Netbeans versao 6.5.1.
Utilizei o JAX-WS do plugin que ja vem no Netbeans.
Rodei o projeto e funciono tudo, consulta, envio, cancelamento e etc.
Gerei o .jar do projeto com suas pastas.
Porem, qdo vou colocar nas maquinas o projeto, ele nao consegue se conectar no webservice.
Detalhe, em computadores que tenham o netbeans instalado nao ocorre o erro.

Com o erro: com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of Inacc
essibleWSDLException.

java.io.IOException: Server returned HTTP response code: 400 for URL: https://ho
mologacao.nfe.fazenda.sp.gov.br/nfeweb/services/nfestatusservico.asmx
java.io.IOException: Server returned HTTP response code: 400 for URL: https://ho
mologacao.nfe.fazenda.sp.gov.br/nfeweb/services/nfestatusservico.asmx?wsdl

at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Runt
imeWSDLParser.java:161)

at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWS

DLParser.java:133)

at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceD

elegate.java:254)

at com.sun.xml.internal.ws.client.WSServiceDelegate.(WSServiceDele

gate.java:217)

at com.sun.xml.internal.ws.client.WSServiceDelegate.(WSServiceDele

gate.java:165)

at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Provid

erImpl.java:93)

at javax.xml.ws.Service.(Service.java:56)

at br.inf.portalfiscal.nfe.wsdl.nfestatusservico.NfeStatusServico.

(NfeStatusServico.java:44)

at br.com.peoplesolutions.nfeservice.xmlbind.StatusServico.consultaStatu

sServico(StatusServico.java:137)

at br.com.peoplesolutions.nfeservice.thread.StatusServicoThread.run(Stat

usServicoThread.java:26)

at java.lang.Thread.run(Thread.java:619)

1 Resposta

Adelar

Olá,
não é problema de proxy? Pode ser que o plugin pegue as configurações do netbeans, que pode já estar corretamente configurado.

Att.

Criado 18 de junho de 2010
Ultima resposta 18 de jun. de 2010
Respostas 1
Participantes 2