Take the 2-minute tour ×

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 false and remove the metadata endpoint above before deployment 
        <serviceMetadata httpGetEnabled="true"/>
          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" (http://webservicestudio.codeplex.com/) can't get a list of operations... Why? How to diagnose/resolve that?

P.S. I work under VS 2008 using .NET 3.5

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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

<endpoint address="" 
share|improve this answer
You should move this into your question, or accept this as the answer so it moves to the top. –  casperOne Jan 21 '11 at 19:48
as it is actual 'solution' I would like to keep it in answers section. I will be able to accept it as a 'accepted answer' in two days after question was created (stackoverflow restriction for accepting own answers) –  Budda Jan 21 '11 at 22:22

You probably have to give it the specific WSDL/MEX url, not just the url of the service. I imagine that VS.NET does some "sniffing" (checking your url + "?wsdl" or something of the sort) to try and find the endpoint, assuming it is exposed.

share|improve this answer
I've tried both clean service address and address with "?wsdl" suffix - both don't work –  Budda Jan 21 '11 at 17:19

Your Answer


