Boa tarde,
Estou com um certo problema ao consumir um serviço web. O webservice (axis 1.2) funciona corretamente(testado pelo soapUI), porem ao consumir via cliente(JAX-WS 2.2) o mesmo efetiva o serviço porem não apresenta o retorno.
Alguem ja passou por isso? tem alguma dica para que possa testar?
try { // Call Web Service Operation
br.gov.mapa.sisbov.servicosweb.WsSISBOVService service = new br.gov.mapa.sisbov.servicosweb.WsSISBOVService();
br.gov.mapa.sisbov.servicosweb.WsSISBOV port = service.getWsSISBOV();
// TODO initialize WS operation arguments here
java.lang.String usuario = "xxx";
java.lang.String senha = "xxx";
java.lang.String numeroSisbovAnimal = "105500123456789";
long tipoDesligamento = 1;
// TODO process result here
br.gov.mapa.sisbov.servicosweb.retorno.RetornoDesligamentoAnimal result = port.informarDesligamentoAnimal(usuario, senha, numeroSisbovAnimal, tipoDesligamento);
System.out.println("Result = "+result.getIdTransacao());
System.out.println("Result = "+result.getStatus());
} catch (Exception ex) {
ex.printStackTrace();
}
Obrigado pela atenção.
EDIT<
Apresentou somente estes avisos
[WARNING] src-resolve: Cannot resolve the name 'tns3:ObjetoPersistente' to a(n) 'type definition' component.
line 1578 of file:/D:/JavaApplication15/xml-resources/web-service-references/WsSISBOV_1/wsdl/sisbov.agricultura.gov.br/sisbov_ws_prd/services/WsSISBOV.wsdl#types?schema2
[WARNING] src-resolve: Cannot resolve the name 'impl:ArrayOf_xsd_string' to a(n) 'type definition' component.
line 1573 of file:/D:/JavaApplication15/xml-resources/web-service-references/WsSISBOV_1/wsdl/sisbov.agricultura.gov.br/sisbov_ws_prd/services/WsSISBOV.wsdl#types?schema2
[WARNING] src-resolve: Cannot resolve the name 'tns1:RetornoRecuperarTabela' to a(n) 'type definition' component.
line 24 of file:/D:/JavaApplication15/xml-resources/web-service-references/WsSISBOV_1/wsdl/sisbov.agricultura.gov.br/sisbov_ws_prd/services/WsSISBOV.wsdl#types?schema1
[WARNING] src-resolve: Cannot resolve the name 'tns4:TipoMorteCausa' to a(n) 'type definition' component.
line 77 of file:/D:/JavaApplication15/xml-resources/web-service-references/WsSISBOV_1/wsdl/sisbov.agricultura.gov.br/sisbov_ws_prd/services/WsSISBOV.wsdl#types?schema1
[WARNING] src-resolve: Cannot resolve the name 'tns5:CheckListItemDTO' to a(n) 'type definition' component.
line 1163 of file:/D:/JavaApplication15/xml-resources/web-service-references/WsSISBOV_1/wsdl/sisbov.agricultura.gov.br/sisbov_ws_prd/services/WsSISBOV.wsdl#types?schema1