Olá Pessoal,
Estou tentando consumir um WebService desenvolvido em Java, cujo endereço é "http://201.91.17.44:8080/tbw/services/WSEntrada?wsdl", e esta ocorrendo o seguinte erro:
--------------------------------------------------------- Internet Explorer 8
Detalhes dos erros da página da Web
Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C; .NET4.0E)
Carimbo de data/hora: Tue, 27 Nov 2012 18:33:43 UTC
Mensagem: Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid. Check InnerException for exception details. em System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
em Dbc.Global.UISilverlight.WS.PMOurinhos.WSEntradaService.nfdEntradaCompletedEventArgs.get_Result()
em Dbc.Global.UISilverlight.View.Faturamento.FFT10NotaServico.proxy_nfdEntradaCompleted(Object sender, nfdEntradaCompletedEventArgs e)
em Dbc.Global.UISilverlight.WS.PMOurinhos.WSEntradaService.WSEntradaClient.OnnfdEntradaCompleted(Object state)
Linha: 1
Caractere: 1
Código: 0
URI: http://localhost/Global/Default.aspx
---------------------------------------------------------
O WebService foi adicionado no Service Reference.
Segue o método onde estou usando o WebService
private void EnviarNFSEletronica(string cnpj, string senha, sting inscrMunicipal, string xmlNfs)
{
var proxy = new WS.PMOurinhos.WSEntradaService.WSEntradaClient();
proxy.nfdEntradaCompleted += new EventHandler<WS.PMOurinhos.WSEntradaService.nfdEntradaCompletedEventArgs>(proxy_nfdEntradaCompleted);
proxy.nfdEntradaAsync(cnpj, senha, inscrMunicipal, xmlNfs);
}
grato,
Pedro Palma