Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Calling Webservice from ASP using httpGet now breaks calls from .Netcode

Reply
Thread Tools

Calling Webservice from ASP using httpGet now breaks calls from .Netcode

 
 
Guabble
Guest
Posts: n/a
 
      01-31-2008
Hi, I have got a web service (in .net 1.1) that I call using SSL.
It works fine.

I then get a requirement to access the service using ASP, so I write
code doing an HttpGet to access it. This works fine, however only
after I stick the following in the web.config file (as httpget is not
included by default for asp.net 1.1). Note the ASP code was accessing
the service using HTTP not HTTPS, so I'm not sure if they accessed it
using https if it would fail.

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

This then breaks access for my existing site. What have I done
wrong?

I thought perhaps it was because I need to state the SOAP protocol so
I stuck in
<add name="HttpSoap"/> into the protocol section, but to no
avail.

I bet its something silly, but as I'm not very familiar with web
services I am stuck! Any suggestions?

cheers

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I disable HttpGet and HttpPost access to my asmx webservice? Maxwell2006 ASP .Net 1 03-31-2006 06:33 AM
Accessing webservice through HTTPGET Alex Nitulescu ASP .Net 2 02-14-2005 04:24 AM
Using HttpGet from a C# application sport160@gmail.com ASP .Net Web Services 0 01-25-2005 12:06 AM
Handling Exception in Web Services when using HttpGet protocol. Sherif ElMetainy ASP .Net 1 05-25-2004 07:19 PM
Webservice HttpGet Disabled on 1.1 Framework? Todd ASP .Net Web Services 1 02-11-2004 04:45 AM



Advertisments