We have a .net asmx web service that gets called from javascript (using ASP.Net AJAX), and requires access to Session.
[WebMethod(true)]
public string DoSomethingOnTheServer() { }
We're running into the problem of session being locked on a read/write request. Is there any way to mark a web service method as requiring read-only access...
Hi,
I am trying to call Java webservices developed using JAX-WS 2.1.4 from php but it doesnt seem to work as expected. All the parameter values being passed to the method has been intrepreted as "null" value, but i am passing the proper values from php side.
Can anyone please help me on this?
Thanks,
Mani
...
Hi there,
is it possible to call a webservice that accepts 5 string parameters without sending via json? (is this recommended) I have created a webservice with a method that accepts 5 string params.. and i have my jquery
$.ajax({
type: "POST",
url: "Service.aspx/CreateClient",
...
Hi there,
I managed to setup a simple webmethod which i called from jquery and sure enough it returns ... then i added parameters on the method and added the params to jquery but it errors with
Message":"Invalid JSON primitive: one.","StackTrace":"
my signature on my webmethod is like so
[WebMethod]
public static str...
Duplicate:
http://stackoverflow.com/questions/717657/is-it-possible-to-run-an-executable-from-a-web-service
Hi
I have Webservice, and I want to run exe file through this Webservice
the Webservice and the exe file are on same computer
How can I do it ?
thank's in advance
...
We are a small team with one ASP.NET web developer and one ColdFusion developer. Neither of us knows the other's environment. I wrote an ASMX webservice using Visual Studio 2005 and a web application project in Visual Studio 2008 that successfully consumes the web service. But now we are trying to have my ColdFusion colleague consume the...
I am looking for a free service (providing a web service or a database that gets updated regularly) that will allow me to retrieve the Geolocations (Long/Lat) for Country/Prov/City.
Yahoo & Google's API's are unacceptable as they limit the total amount of requests DAILY.
...
I have a Windows Service which performs a certain function, and then needs to send that information off to a webservice for processing. The webservice is hosted by a remote web application. I am trying to ascertain the best way to call the webservice(s) as each web application might be only 2.0, or 3.5 etc. In my windows service, I am de...
I'm going nuts with this one and can't find any decent information ANYWHERE ..
There is lots of info around about connecting to SharePoint 3.0 Web Services with WCF and Ntlm impersonation. However, when the client accessing the SharePoint services is remote to the SharePoint network and needs to authenticate, how does one best configure...
Well, I'm barely beginning to get involved in this subject.
I've found this pretty detailed tutorial, but it seems a little outdated.
Besides I guess that in Java 6 Metro is the way to go (am I right???)
What are the frameworks, books and online resources to to investigate/read?
Edit:
Another pretty good tutorial, with Metro's WSIT i...
Hi,
I've a simple question, for you, that I just can't seem to get my head around.
The situation is the following:
We create and send a request to a web service, using WSE 3.
The web service is written in Java.
Most of the things are fine, but I can't seem to have an impact on the ContentType of either the WebResuest or WebResponse...
I'm having a tough time trying to find clear and concise examples of how one would implement a service-based authentication scheme using tokens. As far as I can tell, the basic steps are as follows:
Client requests username/password from user
Client passes username/password to identity provider
Provider checks username/password and se...
Using the SQL Server Reporting Services Web Service, how can I determine the permissions of a particular domain user for a particular report? The user in question is not the user that is accessing the Web Service.
I am accessing the Web Service using a domain service account (lets say MYDOMAIN\SSRSAdmin) that has full permissions in SS...
I have a .net 3.5 aspx place with a method tagged with the [WebMethod] tag. I'm calling this with jQuery, sending JSON in both directions. This all works great. My question is, what does [ScriptMethod] do when applied to a function? I've tried this and it seems to yield the same result. Are ScriptMethods and WebMethods identical and inte...
Hi,
I am writing a test web service, and noticed a strange corner case. If you include two slashes after the port, the method will be called anyway for localhost, localhost:80, 127.0.0.1, and 127.0.0.1:80. But if I try it on the web server I'm developing on (port 55731), it fails.
localhost.Service1 s = new localhost.Service1();
st...
I have a web project for which I need to run a command when a specific URL is requested, but that command requires root privileges.
The project is served with a Python process (Django), of course running it with root privileges is not an option.
The command's parameters are hardcoded making it impossible to inject anything and it's a r...
I'm looking for guidance on good practices when it comes to return errors from a REST API. I'm working on a new API so I can take it any direction right now. My content type is XML at the moment, but I plan to support JSON in future.
I am now adding some error cases, like for instance a client attempts to add a new resource but has exce...
Background
I have created ASMX web services in the past and have been able to access the service from the web browser and Ajax GET requests using the address convention: MyService.asmx/MyMethod?Param=xxx
I just got started using WCF and created a new web service in my ASP.NET project. It creates a file with the .svc extension such as My...
Not sure of the best way of achieving something...
We've got a number of web services running on asp.net v3.5 on a couple of web servers. They all talk nicely to each other and to the public internet.
Now we'd like to keep some of these web services 'private' ie make them not available to the public internet, whilst leaving others acc...
A variety of delphi demos I've built today with Delphi 2009 (update 3/4 applied) all seem to result in the client of any localhost web service I try to consume returning an "xml document must have a top level element" error
This includes, for example, even a demo as simple as
http://blogs.embarcadero.com/pawelglowacki/2008/12/18/38624
...