service

Difference asp.net web service and Ihttphandler

Simple task like make AJAX request , pass one parameter and return result, can be done with Web Service and IHttpHandler, so where is the difference ? ...

How to reuse a (Delphi) OLE server with a second client?

I wrote an OLE automation server (using Delphi). I usually start the OLE server manually and use it as a normal application. From time to time I start a client, which automatically connect to the existing OLE Server. When I terminate the client, the server does not terminate (at least when it was started manually before the client) but...

How to code hosting of the WF with WC 3.5 ReciveActivity in Windows Service (XP)?

I created a small VS solution that includes WF with WCF ReceiveActivity project (using basicHttpBinding) and a number of plain C# services. They all work perfectly when tested from VS 2008 using WCFTestClient. I deployed them into a single Windows Service. All but WF service work fine. I spent 6 hours browsing, but didn’t find a solu...

Debugging successful but service not working after installation.

I used the following piece of code in the service to debug the service successfully by running the service as a console application and verified everything works fine.But later when I installed the service and started it as a windows application the service is running as indicated by the services console but it is not doing the job it ha...

Web Service using Axis 2: Complex type or simple type parameters?

The question is a specialization of: http://stackoverflow.com/questions/403058/oo-style-parameters-vs-type-parameters What if you want to define a Web Service operation? To have parameters beeing passed as complex types like this public String insertPerson(Person person); seems pretty cool since you're able to change the definition...

running a php task every 24 hours

Hi, I have some functions that use curl to pull information off a couple of sites and insert them into my database. I was just wondering what is the best way to go about executing this task every 24 hours? I am running off windows now, but will probably switch to linux once I am live (if that makes a difference). I am working inside sy...

Can Delphi 2009 build web service that returns a DataSet?

In the sample Delphi web service tutorials I've read, they tend to build a web service that returns a simple string or integer, e.g. http://blogs.codegear.com/pawelglowacki/2008/12/18/38624 However, I read it's possible in .NET to build a web service that returns a DataSet or even an object. Is this possible in Delphi 2009, and if so w...

web service slowdown

Hi, I have a web service slowdown. My (web) service is in gsoap & managed C++. It's not IIS/apache hosted, but speaks xml. My client is in .NET The service computation time is light (<0.1s to prepare reply). I expect the service to be smooth, fast and have good availability. I have about 100 clients, response time is 1s mandatory. Clien...

What is the best way of working with Services in a VB.NET application?

I'm using VB 9 (VS2008). I would like to know how to do the control Windows Services through an Windows Forms application. I want to know: How to determine the status of a service? How to change the Startup type of the service? How to start, stop, pause and resume a service? Thank you! ...

Is there a way to allow a Windows service (unmanaged c++) to write files on a shared network folder?

I tried running the service in the "Local System" : didn't work. I tried running the service in an account having rights on the network shared folder : didn't work. Do I have to create a standalone application for this and launch this application as a user with rights on the network shared folder? Thanks, Nic ...

Web service client (.NET 2008), exception handling?

I have a standard (?) web service client solution in .net 2008 = classes created by wsdl.exe tool after downloading the wsdl-file from web service I'm using. I then just call the method of this automatically created class that inherits System.Web.Services.Protocols.SoapHttpClientProtocol and its' invoke method. which I have tested a lot ...

.Net Web service Encrypt Decrypt Dataset

Does anyone know of examples which show how to encrypt a dataset at the client side and send it over to a web service and have it decrypted there? Another question: What i need to do is a send hundreds of rows of data from a client to a web service and have the web service update the database with these records. I can't think of any o...

Android Activity with no GUI

Hello, I have created a activity that is only meant to be launched from a link (using a intent filter.) I do not want this activity to have a GUI - I just want it to start a service and put a notification in the bar. I have tried to put the intent filter for the link in my service, but that does not work. Is there a better thing to do th...

ASP.NET web application architecture design advice

Hello everyone, previously my ASP.NET web application connects to a database directly using ADO.NET. Now I want to change it to 3 layers, ASP.NET layer, middle web service layer and backend database layer. I think there is benefit that I could abstract data source to ASP.NET front layer, loosely coupled and reduce potential security ris...

How to find default crawling account for all shared service providers in MOSS

what is the best way to find which are the default crawling accounts used for crawling for all the shared service providers in a Farm in MOSS i would prefer if any one can tell me using Shared Service Provider Database ...

Can't see my service in administrative tools -> Services

I have a service I have developed myself in C# and it includes an msi installation package. When I install this on my own computer I can see it (and start/stop it) in administrative tools -> Services but on another (very similar) machine I can't. I don't really care that much about whether I can see it there but somehow I'd like to be ab...

timeout for asynchronous web service call in C#

Hello everyone, I am using C# and created a proxy from a ASP.Net asmx Web Service at client side, by using Add Web Reference... feature of VSTS 2008. And I am using the asynchronous method call model (i.e. call the AsyncXXX method, which will return immediately) and handles the complete event (I add event handler to handle the complete...

WCF service on root of IIS host

How would I set up a WCF service hosted in IIS on the root of the domain? i.e. http://www.example.com instead of http://www.example.com/Service1.svc/ I can't figure out how to get rid of the service filename. ...

Set Programatically a Windows Service Log on to Local System Account with Desktop interact.

Hello Everyone :) I have a Windows service built which is being installed by .NET 2.0's installutil /i command. It installs the service as with the following Account and Password: NT AUTHORITY\LocalService running my service with net start brings a Error 5: Access Denied Message. To remove it I've had to open up services.msc...

Is there a good Google Sites competitor?

A client of ours is a membership organization and they are looking for functionality that seems closely aligned with Google Sites capabilities. They want a system where their members can have a content managed site of their own that one or more admins can create by submitting a simple form. The member organization could then add/remo...