views:

1206

answers:

1

I want to access one of my web service methods via HTTP GET, I've seen it done before but I can't figure out how to allow this access protocol on a VS2008 web service project.

I guess you have to change the web.config file but not sure what to.

Does anyone know?

+4  A: 

In your Web.config:

<configuration>
    <system.web>
        <webServices>
            <protocols>
                <add name="HttpGet"/>
            </protocols>
        </webServices>
    </system.web>
</configuration>
RandomEngy
Worked a treat thanks!!
Jon