Can't get WCF service's operations list with Web Service Studio client

Total Post:134


 1455  View(s)
Rate this:

I've created a simple WCF service hosted by ASP.NET web site:

public interface IPaymentNotificationReceiver
    void InvoiceProcessed(string invoiceId);
public class PaymentNotificationReceiver : IPaymentNotificationReceiver
    public void InvoiceProcessed(string invoiceId)
        Logger.Write("'InvoiceProcessed' method was called with InvoiceId='" +
            invoiceId + "'");
      behaviorConfiguration =
      <endpoint address="" binding="wsHttpBinding"
          <dns value="localhost"/>
      <endpoint address="mex" binding="mexHttpBinding"
      <behavior name="NotificationService.PaymentNotificationReceiverBehavior">
        <!-- To avoid disclosing metadata information, set the value below
          to false and remove the metadata endpoint above before deployment
        <serviceMetadata httpGetEnabled="true"/>
        <!-- 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="true"/>

I can add references to this service as to WCF service, as to WebService. WcfTestClient application successfully recognized service and its methods.

But "Web Service Studio" ( can't get a list of operations... Why? How to diagnose/resolve that?

  1. Re: Can't get WCF service's operations list with Web Service Studio client

    Hi tanuj, 

    The problem was in endpoint binding configuration. To be accessible from WebService it should be 'basicHttpBinding'.

    <endpoint address=""          

      Modified On Apr-05-2018 04:08:01 AM


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.