Click here to Skip to main content
Click here to Skip to main content

Tagged as

How to enable the remote test page(invoke button) for webservice in live environment?

, 15 Jan 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
Enabling remote test page(invoke button) for webservice in live environment.
After deploying your web services on live server, if you navigate to service.asmx file, it will display all supported function links, when you click one of these links it will redirect to meta data information page but test page (with invoke button) will not appear.
For enabling remote web service test page, just add HttpPost/HttpGet protocol in the webServices section of your web.config. By default, this option is disabled to increase the security in live environment, but you can enable it in web.config as follows for debugging the deployed web services.
       <add name="HttpGet"/>
       <add name="HttpPost"/>

Please rollback these settings after testing/debugging your deployed web services on live server.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Architect FE
India India
.Net Software Architect,I primarily work on ASP.NET, WPF and WCF. I have good experience on designing robust application. I love listening to music.
Follow on   Twitter

Comments and Discussions

QuestionNothing Happended PinmemberMember 832538913-Aug-13 21:14 
Generalrollback these settings Pinmemberlunky17-Jan-11 8:50 
GeneralRe: rollback these settings PinmemberQuipmentN17-Jan-11 21:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150123.1 | Last Updated 16 Jan 2011
Article Copyright 2011 by techbird
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid