eu tenho um endpoint http://localhost:6000 que redireciona para um webservice. Gerei os stubs com o jax-ws wsconsume usando o wsdl que vai ser redirecionado ex. http://localhost:8080/contexto/meuWS?wsdl. Depois editei o stub gerado e tirei onde tem o endereco do wsdl e botei http://localhost:6000. Entao qdo vou executar da erro
É possível eu fazer o cliente sem chamar diretamente o wsdl ? Com o php foi possível fazer, agora tenho que fazer no java...
Exception in thread "main" com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.
java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:6000
java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:6000?wsdl
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:172)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:144)
at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:263)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:226)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:174)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
at javax.xml.ws.Service.<init>(Service.java:56)
at br.pessoa.ws.client.PessoaWSService.<init>(PessoaWSService.java:46)
at br.pessoa.ws.client.Teste.main(Teste.java:58)
