none
Client WCF Connecting to Axis Web Service over https and certificate RRS feed

  • Pregunta

  • Can anybody help me with this error:

    The content type text/xml;charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes :

    I can't to know what is de config Apache Axis Web Service

    I Wrote then client Service over framework 3.5 WCF c#

    this is my config:


    <system.serviceModel>
    <behaviors>
    <endpointBehaviors>
    <behavior name="ClientCertificateBehavior">
    <clientCredentials>
    <clientCertificate
    x509FindType="FindBySubjectName"
    storeName="My"
    findValue="thecert"
    storeLocation="CurrentUser"/>
    </clientCredentials>
    </behavior>
    </endpointBehaviors>
    </behaviors>

    <bindings>
    <wsHttpBinding>
    <binding name="Binding1">
    <security mode="Transport">
    <transport clientCredentialType="Certificate" />
    </security>
    </binding>
    </wsHttpBinding>
    </bindings>

    <client>
    <endpoint address="https://serveraxis/services/service" <!--change for private -->
    behaviorConfiguration="ClientCertificateBehavior"
    binding="wsHttpBinding"
    bindingConfiguration="Binding1" contract="theservice.Interface"
    name="endpointname" />
    </client>
    </system.serviceModel>

    viernes, 24 de septiembre de 2010 15:58