ASP.NET - Problema al subir WFC Test Client

 
Vista:

Problema al subir WFC Test Client

Publicado por Jesus Gomes (5 intervenciones) el 14/07/2015 02:14:55
Buenos dias y buentas noches.


Actualmente tengo un extraño problema en ASP.net frame 4.5 C# programando un servicio WCF

Por alguna razón de la noche a la mañana sin explicación, cuando ejecuto el servicio el wcf test Client me indica el siguiente error


Error: Cannot obtain Metadata from http://localhost:7119/ApuestaService.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address. For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error URI: http://localhost:7119/ApuestaService.svc Los metadatos contienen una referencia que no se puede resolver: 'http://localhost:7119/ApuestaService.svc'. El tipo de contenido application/soap+xml; charset=utf-8 no era compatible con el servicio http://localhost:7119/ApuestaService.svc. Es posible que los enlaces del cliente y el servicio no coincidan. Error en el servidor remoto: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'..HTTP GET Error URI: http://localhost:7119/ApuestaService.svc Error al descargar 'http://localhost:7119/ApuestaService.svc'. El servidor ha cometido una infracci¢n de protocolo. Section=ResponseHeader Detail=CR debe ir seguido de LF

También este problema me ocurren ahora con otros proyectos de servicio WCF que he creado y que si me funcionaban perfectamente

Pienso que es algo en mi maquina que cambio con alguna actualización o algún proceso ejecutado por el programa de limpieza tuneup utilities.


---------------------estes es mi web config--------------------------------

aclaro: que este web config es similiar a los otros servicios que he hecho y que corrian bien.

<?xml version="1.0"?>
<configuration>

<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
<add key="DBConnectionString" value="Data Source=CONSULTOR\SQLEXPRESS; Initial Catalog=betluck;User ID=sa;Password=consultor" />
<add key="LineaSpread" value="1"/>
<add key="LineaMoney" value="2"/>
<add key="LineaTotal" value="3"/>
<add key="LineaTotalEquipo" value="4"/>
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5"/>
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="ApuestasBehavior">
<!-- To avoid disclosing metadata information, set the values below to false before deployment -->
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" policyVersion="Policy12"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />

<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_ICommonService1" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://ms21.ddns.net/CommonService/CommonService.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_ICommonService1" contract="CommonService.ICommonService"
name="BasicHttpBinding_ICommonService1" />
</client>

</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<!--
To browse web app root directory during debugging, set the value below to true.
Set to false before deployment to avoid disclosing web app folder information.
-->
<directoryBrowse enabled="true"/>
</system.webServer>


</configuration>



--------------------------------------------------------------------------------------------------------------------------

por favor ayudarme por que ando urgido por una solicion
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder