OneTrueError and the WCF test client

Asked By 0 points N/A Posted on -
qa-featured

Hi there,

I have this error with WCF Test Clien and I have started a new proxy server, I have restored to the defauld configuration and also I have refreshed the service. Nothing seems like to work on my PC after the updates made on my Windows 8 to Windows 8.1. Can anyone help me please to fix this error ? What could be the cause ?

Thank you !

Microsoft WCF Test Client

Filed to invoke the service. Possible causes: The service is offline or inaccessible: the client-side configuration does not match the proxy: the existing proxy is invalid. Refer to the stack trace for more detail. You can try recover t=by starting a new proxy, restoring to default configuration, or refreshing the servce.

Error Details

We failed to process your request.

You can use http://onetrueerror.com/feedback/4gB9HyOci0yPtBUN4n44kA/to provide details about what you did.

Use report id ‘4gB9HyOci0yPtBun4N44kA’ in any further contact with us.

SHARE
Answered By 590495 points N/A #179908

OneTrueError and the WCF test client

qa-featured

When using Microsoft WCF Test Client and you can discover and access the service and create proxy or stubs, this means the service is available. It will work properly if you add the service reference like in the following:

<system.serviceModel>
        <bindings>
            <netTcpBinding>
                <binding name="NetTcpBinding_IService1" />
            </netTcpBinding>
        </bindings>
        <client>
            <endpoint address="net.tcp://127.0.0.1/service/" binding="netTcpBinding"
                bindingConfiguration="NetTcpBinding_IService1" contract="ServiceReference1.IService1"
                name="NetTcpBinding_IService1">
                <identity>
                    <userPrincipalName value="……." />
                </identity>
            </endpoint>
        </client>
    </system.serviceModel>

Since the error indicates the current proxy is not valid or the client-side configuration doesn’t match the proxy, you should follow what the error says. Start a new proxy by adding the service reference. And then in service reference, just put the service address and click Go then it will automatically create a new proxy for you. See if this fixes the problem.

If the problem continues, enable the WCF tracing to find what causes it.

Related Questions