Erro SOAP vindo de .NET
eduamaral75 Jun 1, 2015 4:13 PMPessoal, boa tarde.
Estou usando Mod Cluster como Front e Wildfly 8.2 como Back. Alguém já passou por esta situação?
O problema ocorre quando o WEB SERVICE chega via aplicação .NET.
Obs.: Enviando o SOAP diretamente para o Wilfly não acontece o problema. Agora quando o WSDL chega via Mod Cluster, a falha abaixo aparece.
Abaixo log do Wildfly
2015-06-01 11:48:59,145 ERROR [9] (ValidSignerNET.ServicePAD:235) - Erro na assinatura System.ServiceModel.ProtocolException: O tipo de conteúdo text/html; charset=iso-8859-1 da mensagem de resposta não corresponde ao tipo de conteúdo da ligação (text/xml; charset=utf-8). Se estiver usando um codificador personalizado, verifique se o método IsContentTypeSupported está implementado corretamente. Os primeiros 644 bytes da resposta foram: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p> <hr> <address>Apache/2.2.15 (CentOS) Server at dev-autenticacao2.validcertificadora.com.br Port 443</address> </body></html> '. ---> System.Net.WebException: O servidor remoto retornou um erro: (500) Erro Interno do Servidor. em System.Net.HttpWebRequest.GetResponse() em System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- Fim do rastreamento de pilha de exceções internas ---
Server stack trace:
em System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding) em System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) em System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) em System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) em System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) em System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) em System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) em System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)