service

GnuPG and CreateProcess in Delphi Service

Hi! Trying to use GnuPG with Delphi (Win32). I need to sign some file with such console command: "C:\Program Files\GNU\GnuPG\gpg.exe" -a -u Alex --passphrase secretpassword --yes --clearsign -o C:\Result.asc C:\InputFile.txt First I created normal VCL Forms App and used CreateProcess function, everything was OK, but when I transfer...

How to capture standard error output from a Windows service?

I have an application that makes use of the Mozilla LDAP library. We're diagnosing a problem involving the LDAP library failing to make a connection to the server. I'm attempting to get additional information from the LDAP library by tossing a debug version of the lib in with the application and enabling debug using ldap_set_opt. Unfortu...

searching for a WSDL or updated xml with finance information

Hi i have to create a line chart with finance information like the one in this site http://finance.yahoo.com/ but i need information of all the countries is there a place where i can get this information updated as a web service or xml ? ...

Why doesn't StreamWriter work in a Windows Service?

Hi community, I have this simple code that records appends a log to a text file: public static void RecordToFile(string filename, Log log) { TextWriter textWriter = new StreamWriter(Constants.APP_PATH + "\\" + filename, true); textWriter.WriteLine(log.ToString()); textWriter....

php5 soap client in wsdl mode how to access different svc endpoint than the one specified in the wsdl

I´m a newbie to soap with php5... I need to use a wsdl provided by a third party company, where, for testing purposes I´m supposed to use a different access address location for the service I´m needing, than the one specified in the wsdl document. Is there any way I can create my soap client in wsdl mode, and override the specified add...

How can I write to a custom event log from my ASMX web service running as network service?

I have a ASMX web services running as 'network service'. I want to be able to write to a custom event log every time a web service is called (and when errors happen). I have created a new event log (MyLog) using the following code running as admin on a Windows server 2008 machine: if (!EventLog.SourceExists(APPLICATIONN...

start service with out invoking uac

I have noticed some applications (like steam) are able to start/stop services as a normal user with out invoking the uac control. Does any one know how to do it? OS: Vista/Win 7 Visual Studio 2005 C++ . Edit: I was playing around with the steam service last night trying to work out how it is different. If i put my service exe where th...

Controlling windows services via the web?

Hi, I've been thinking of a piece of software and wondering if it exists ... a quick scout around on google indicates that it doesn't. Here's our problem, we have a bunch of global services that run at various international locations. We need to globally control these services, for example a global bounce (something that occurs every w...

how to authenticate into google account service from web application for using google data

Can some body please tell me the way to access the google service such as the user feed items in google reader through the web application using username and password. I do not want the user to authenticate. I want the solution in ASP.net. There is already a solution avaible in Python at http://dalelane.co.uk/blog/?p=303 But I do not ...

webservice client - No write method for property

Hi, when I execute a webservice client - generated by Apache Axis (2) - for usage of a webservice (published with xFire including Aegis configurations) I only have got the following error: No write method for property {http://service.company.com}elements in class ... at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFault...

How would I run a java process as a Windows Server 2003 service?

I'm looking for the best way to run a java app as a Windows Server 2003 service. What are my options, and what's the basic general process for going about doing this? Thanks much. ...

Java Utility Class vs. Service

What's the difference in Java between a utility class (a class with static methods) and a Service class (a class with public methods that provides a "service"). For example, one can argue that a cryptographic object (providing methods to encrypt, decrypt, hash or get a salt value) is a Service provider, but many group this functionality...

how to configure a rails app (redmine) to run as a service on windows?

I'm using redmine as a ticket manager, and I'd like to configure it to be run automatically when windows starts up. How can I configure it to be run as a service? -- Just asked the question to document it, I hope somebody may find it useful... ...

Service not fully stopped after ServiceController.Stop()

ServiceController serviceController = new ServiceController(someService); serviceController.Stop(); serviceController.WaitForStopped(); DoSomething(); SomeService works on a sqlserver file. DoSomething() wants to copy that SQL file. If SomeService isn't closed fully it will throw an error because the database file is still locked. In t...

Android Loading listview items from service results in hang

Hello, In my Android application, I have a ListActivity. This ListActivity uses a SimpleAdapter that I fill with items from my service. So, in my code, I do: MySuperCoolService.Binder serviceBinder = null; private ServiceConnection serviceConnection = new ServiceConnection() { public void onServiceConnected(ComponentName classN...

Connect PHP code to Java backend

I am implementing a website using PHP for the front end and a Java service as the back end. The two parts are as follows: PHP front end listens to http requests and interacts with the database. The Java back end run continuously and responds to calls from the front end. More specifically, the back end is a daemon that connects and ma...

illegal XML characters /Axis

Hello, I've developped a web service and deployed it with Axis. All is running very well but I've a problem when I consume the service using a String containing a non printable character (such as ETX, FS,..). I have the following error: exception: java.lang.IllegalArgumentException: The char '0x1c' after '....' is not a valid XML char...

Starting a Windows service in an interactive session

A colleague has a batch script program which needs to to run on a Windows Server in console mode, so that it has access to a Windows interactive session. The server is rebooted at regular intervals automatically (there's an unrelated closed-source application that runs on this machine that we have no control over). After a reboot he want...

Registering a service on the .net service bus

How can I programmatically be able to create a feed and add entries on the .NET Service bus reistry? I have a set of asmx and wcf services which I would want to be discoverable using the service registry capability of the .Net Servcie bus. Has anybody tried this one? ...

How to tell if method is called from Windows Service in .Net (managed) code

How can I tell if a method I am writing in managed code is being call from an interactive app vs a windows service? ...