WCF identity when moving from dev to prod. environment

Posted by Anders Abel on Stack Overflow See other posts from Stack Overflow or by Anders Abel
Published on 2010-04-27T06:38:00Z Indexed on 2010/04/27 6:43 UTC
Read the original article Hit count: 417

Filed under:
|
|
|

I have a web service developed with WCF. In the development environment the endpoint has the following identity section under the endpoint configuration.

<identity>
    <dns value="myservice.devdomain.local" />
</identity>

myservice.devdomain.local is the dns name used to reach the development version of the service.

The binding used is:

<basicHttpBinding>
    <binding name ="myBinding">
        <security mode ="TransportCredentialOnly">
            <transport clientCredentialType="Windows"/>
        </security>
    </binding>
</basicHttpBinding>

I am about to put this into production. The binding will be the same, but the address will be a new production address myservice.proddomain.local. I have planned to change the dns value in the configuration to myservice.proddomain.local in the production environment. However this MSDN article on WCF Identity makes me worried about the impact on the clients when I change the identity.

There are two clients - one .NET and one Java using this service. Both of those have been developed against the dev instance of the service. The idea is to just reconfigure the endpoint used by the clients, without reloading the WSDL. But if the identity is somehow part of the WSDL and the identity changes when deploying to prod that might not work.

Will the new identity in the prod version cause issues for the clients that were developed using the dev wsdl? Do the Java and the .NET clients handle this differently?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about web-services