Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3221382
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:52:10+00:00 2026-05-17T15:52:10+00:00

I have a simple WCF 4.0 service with some simple methods and a property

  • 0

I have a simple WCF 4.0 service with some simple methods and a property with a getter that returns List. The service works fine when connected to programatically. The getter is decorated as are the other methods on the Interface that define the service contract.

My next move is to make the service accessible via the IE web browser so server/deployment admins can do a “smoketest” after service installation.

This works currently:

http://localhost/myservice.svc?wsdl 

But I need to take things further and get this to work:

http://localhost/myservice.svc/SmokeTest

and have results show in the browser, SmokeTest is the property with a getter that does stuff and returns the List I want to show in the browser.

So far I can’t figure out what my config should look like. All help appreciated.

This is all I have in the web.config for the service. The endpoint is myservice.svc:

  <behaviors>
  <serviceBehaviors>
    <behavior >
      <serviceMetadata httpGetEnabled="true" />
      <serviceDebug includeExceptionDetailInFaults="true"/>
    </behavior>
  </serviceBehaviors>
</behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> 
    <services>
        <service name="myservice.worker"  >
            <endpoint address="" binding="basicHttpBinding" contract="myservice.IServicio" />
        </service>
    </services>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:52:11+00:00Added an answer on May 17, 2026 at 3:52 pm

    related question, an explanation of what can and can’t be done:

    Invoking WCF services through a browser

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a very simple WCF service, that worked fine (code below), then
Using Visual Studio 2010, I have written a simple WCF service and some integration
I have a simple WCF service: public Order[] GetOrdersByStatus(int statusid) { OrderService os =
I have created a simple wcf service which used the WCF Service Library template.
I have a wcf client that before doing some complicated interactions with the wcf
I have a WCF service that uses the entity framework to retrieve records from
I have simple WCF Service Application (based on this tutorial : Getting Started ).
I've got a simple WCF service that lets clients/consumer applications log in by providing
Should simple JavaBeans that have only simple getters and setters be unit tested?? What
I have a simple webform that will allow unauthenticated users to input their information,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.