I have a scenario where my application is going to be publishing services that are consumed by both PC's and mobile devices, and I have a HTTPModule that I want to only perform work on only the mobile requests. So I thought the best way of doing this was to point the mobile requests to a different file extension and have the HTTPModule ...
I have a fat VB.NET Winform client that is using the an old asmx style web service. Very often, when I perform query that takes a while or pass a large amt of data to a web service in a dataset, I get the subject error.
The error seems to occur in < 1 min, which is far less than the web service timeout value that I have set or the timeo...
Hi. I got .asmx a web service on my app. I need to call a method from an other app to get statistics from my app. I need it to return XML. the call to the webmethod is done with javascript soap.
EDIT
I got the web service working. I can execute code and return a string but it stops there. When I try to pass parameters into the method i...
I have ASMX services for my web application that I would only like available to the same application.
Is there a way for the web service to only be accessible by the same application, such as relative/absolute path restrictions?
...
Problem:
(Solution at the end)
I got a Silverlight App with-in a Web Project
Web
Silverlight
The web contains a service:
[WebService(Namespace = "svChat")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
//[S...
We have a .NET 3.5 Web Service (not WCF) running under IIS. It must use identity impersonate="true" and Integrated Windows authentication in order to authenticate to third-party software. In addition, it connects to a SQL Server database using ADO.NET and SQL Server Authentication (specifying a fixed User ID and Password in the connectio...
I've got a website which contains the profile of users. I am now working on a mobile app and I would like to access the profile details from via the app. My idea is to simply create a webservice which returns the relevant fields (some of which might be password protected). How can I ensure that the web service is being request only by my...
I want to run a web service method with parameters and get method return value back using JQuery.
ie.
client :
var result = dosomething(var p1, var p2, var p3 ....);
when do something accesses WebService with
dosomewebservice(int p1,int p2, string p3) { return "something" };
result == "something";
...
I've created a web service using Visual Studio ( 2005 - I know I'm old school ) and it all compiles fine but when it opens I get warned thus:
This web service does not conform to WS-I Basic Profile v1.1.
And furthermore:
This web service is using http://tempuri.org/ as its default namespace.
Which would be fine except my serv...
Hi,
I'he got wcf service for wcf straming. I works.
But I must integrate it with our webserice.
is there any way, to have webmethod like this:
[webmethod]
public Stream GetStream(string path)
{
return Iservice.GetStream(path);
}
I service is a class which I copy from WCF service to my asmx.
And is there any way to integrate App....
Hi,
I have an ASP.NET application which talks to a third-party SOAP web service. My application uses an ASMX client proxy (i.e. System.Web.Services.Protocols.SoapHttpClientProtocol). The third-party service uses WCF, although I don't expect that makes much difference.
I should note that we're using .NET 3.5 SP1.
We haven't customised ...
I have a webservice method FetchNumber() that fetches a number from a database and then returns it to the caller. But just before it returns the number to the caller, it needs to send this number to another service so instantiates and runs the BackgroundWorker whose job is to send this number to another service.
public class FetchingNum...
I am sure this is an easy question however I am not finding the solution. I want to save the XML files posted to my .NET Web Service. I am sure it is just a simple method call when the service is invoked but I am not finding it. I would like to save the full XML posted to the service
Any help would be greatly appreciated. Thank you in a...
Hi there.
I have the following jQuery ajax call setup:
function Testing() {
var result = '';
$.ajax({
url: 'BookingUtils.asmx/GetNonBookableSlots',
dataType: 'text',
error: function(error) {
alert('GetNonBookableSlots Error');
},
success: function(d...
Excuse the title, but it's best I just explain the problem.
I have 2 projects in my solution
A Class Library
A Web Application, which consists of a web service (asmx).
the web service has code sitting in the app_code folder, with a file [webservicename].cs
Inside the webservice code behind class, I have a web method here is a sam...
This question is related to: http://stackoverflow.com/questions/784918/asmx-web-service-slow-first-request.
I inherited a proxy to a legacy ASMX Service. Basically as the post above states, the first call performance is literally 10 times slower than the subsequent calls. I went ahead and turned on ‘Generate serialization assembly' on...
I'm trying to write a function that can call a webmethod from a webserive given the method's name and URL of the webservice. I've found some code on a blog that does this just fine except for one detail. It requires that the request XML be provided as well. The goal here is to get the request XML template from the webservice itself. I'm ...
Is it possible in my RegisterRoutes method in global.asax, to map some routes to an asmx?
Ideally I would like to do something like:
routes.MapPageRoute("ServiceSearchCats", "services/search/cats", "~/Services/Search.asmx/Cats");
(and therefore my endpoint for the service becomes "http://mydomain.com/services/search/cats", instead of...
Hi,
I have a client (created using ASMX "Add Web Reference"). The service is WCF. The signature of the methods varies for the client and the Service. I get some unwanted parameteres to the method.
Note: I have used IsRequired = true for DataMember.
Service: [OperationContract]
int GetInt();
Client: proxy.GetInt(out...
Hi,
Hi, I have a client winforms which creates xml-s with objects. Once a month I get this xml-s and save theirs in my database(a lot of columns, and fields).
Now, I want to get this reports more often and omit serialization and deserialization.
I'm only interested in Microsoft technology so if is it impossible to sync sql ce(in my ...