Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2004

Tip: Looking for answers? Try searching our database.

Webservices - POST and GET do not work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Wiewel - 30 Apr 2004 08:58 GMT
Hi there,

I wrote a simple Webservice, which works fine on my local(!) machine. I can
send data to this service via SOAP, GET and POST.

When transfering this service to another webserver, only SOAP seems to be
available. POST and GET do not show up in the WDSL file.

What's that? Any ideas?

Thanks a lot in advance,
Mark
Mark Wiewel - 30 Apr 2004 10:04 GMT
> I wrote a simple Webservice, which works fine on my local(!) machine. I can
> send data to this service via SOAP, GET and POST.
[quoted text clipped - 3 lines]
>
> What's that? Any ideas?

I found the answer by myself:

You need to add the following lines to your web.config:

   <webServices>

        <protocols>
           <add name="HttpGet"/>
           <add name="HttpPost"/>
        </protocols>

   </webServices>

Otherwise GET and POST just work on the local machine only!

Cheers,
Mark

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.