Calling webservice from javascript

Tech-Archive recommends: Fix windows errors by optimizing your registry




Hi All,

I need to call our .net webservice from javascript to check for a value
periodically over a period of time. After doing some initial coding, we found
that, to call a webservice from javascript httpGet must be enabled in the web
service config file. But Microsoft says by default this httpGet protocol is
disabled for security reasons.

Now, is there a way to call a webservice (pass a parameter and get a value
returned) from javascript with out enabling httpGet?

As Microsoft says disable the httpget for production, what are the security
holes involved in this design?

Is the whole idea of calling webservice from javascript is a flaw?
.



Relevant Pages

  • Re: howto Webservice on IE Mac client
    ... Why can you not just do an HTTP / GET from Javascript? ... The url endpoint would be an ASPX page, that maybe, front-ends the existing ... interface on the webservice. ... and MSXML to invoke a webservice. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Problem calling webservice from onUnLoad function?
    ... The javascript executes, and I get into the webservice every time (I placed ... > public void Log ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: JavaScriptConverter for Bitmaps
    ... I can do it using using the src set to the webservice but IE only makes 2 ... bitmap to string, then send the string. ... javascript can create a new Imageand set its ... document.getElementById.src = obj; ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: howto Webservice on IE Mac client
    ... I have a page with javascript that's currently communicating with our web ... > I've never tried invoking a webservice from IE on the MAC. ... > browser invokes a web form, which in turn invokes the webservice ... > being able to invoke webservices, handle SOAP faults, etc. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: webpart classresources error!
    ... But I am calling webservice from javascript through LoadWebService method(in ... javascript file in this wpresources folder. ...
    (microsoft.public.sharepoint.portalserver.development)