Hi,
I am developing and application service and I want users to be able to query programatically (the service would then return back any data requested). My working plan now is to use ActiveX controls, but i have been told they are out of date. I was wondering what would be some more recent/platform-independent solutions out there? (I d...
I am in need of some guidance of how to carry out a specific task I need to perform...
I have a database table that contains requests made by users for excel spreadsheets.
In that table there is a status column which indicates the step the request is in.
I need to write a service of some sort that will be able to keep checking the sta...
Hi,
I'm getting confused re the range of options for development & deploying some simple code & UI to both Windows & Mac. Can anyone assist re a good direction here. I do like Ruby, however if it makes sense to move away from this (e.g. java, c#) then so be it. Which development option would people suggest for this?
REQUIREMENTS
...
Requirement - I have a periodic task I want to run in a Windows environment for my application. It will have a simple interface that allow some basic configuration (for example, URLs and how often to run it). I want it to run every X hours (configurable) when the machine is running.
Question - Do I just create an application with a ...
I have a few services that are being consumed by clients within a secure zone. I've been asked to protect these services typically against development clients mistakenly connecting to the wrong service.
The idea was to pre-shared key (like a guid) which is set in the config for both the client and the service host. Whenever The client t...
Hi Guys,
I have a .Net app that i install and set to run at Startup. The installer also creates a user that has write permissions to the appropriate application folders and registry sections, preventing the currently running user from modifying the restricted areas.
However, i am unable to figure out how to run the application under a ...
Here is the code to get Desktop path on Windows Vista.
import pythoncom
import win32com.client
pythoncom.CoInitialize()
shell = win32com.client.Dispatch("WScript.Shell")
desktop_path = shell.SpecialFolders("Desktop")
Code works fine when I tried on python interpreter but its not working when I execute the same code from Python scrip...
I have a C# .NET service that runs as DOMAIN\username on a windows server and it needs to access a network share \\share\export docs$\.
If I'm logged into the machine (as DOMAIN\username) I can see the share and I have even mapped it to X: and tried to use that. I set the path in app.config (and restart the service) and if I use a path ...
I am trying to use a traffic web service. An example of the SOAP request is given below.
I have created a proxy class in c# using Wsdl.exe from the WSDL structure.
What I think I need to do now in somehow insert the 'authenticate' SOAP header into the SOAP structure for
the method call. I'm unsure how to add the header to the service ...
public class Pojo {
private String value;
public static void printValue() {
System.out.println("value=" + value);
}
}
I would want to return this from a web service as follows:
@WebService
public class MyService {
@WebMethod
public Pojo getPojo() {
return new Pojo();
}
}
Can't seem to find the definiti...
I'm very interested in the answer to another question regarding watchdog timers for Windows services (see here). That answer stated:
I have also used an internal watchdog system running in another thread. That thread looks at the main thread for activity like log output or a toggling event. If the activity is not seen then the servic...
Hi, all,
Many WCF services hosted in one windows.
When windows service is just running, the wcf service endpoints are working well. After a long-time running, the wcf service is down. Through this time the load is not heavy. but the services down.
After down, when visit the endpoint thourht Internet browser or client app, it both th...
I try make simple Windows mobile client for web service. The web method only add two integer. I add reference on proxy and System.Web.Service.
But it finish with this error :
The type 'System.Web.Services.Protocols.SoapHttpClientProtocol' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web...
Hello everyone! I have some web services that uses WSDL/SOAP for communication. Specifically, I am using PHP and Nusoap to make them. How can I use these web services on Android? I am going to get a new Android phone soon, so I need to know.
It is easy to do it with Windows Mobile and Visual Studio.
Thanks
...
We have a Windows Service application that can accept command line parameters like:
MyService -option
So far, when we want to start the service with a parameter, we either do it manually from the Service Properties dialog (in the Start parameters box) or with the command
sc start MyService -option
What we would like is a way to...
Here's scenario:
Client makes remote call to the service (returns void) and provides
a callback object
Service executes some long running logic on the background thread
and then uses callback object to trigger ether success or failure
which (since these manipulate visual elements) execute in
Activity#runOnUiThread block
The scenario ...
Background: We are currently looking at converting a piece of RTF text to a propriety format on a server.
We currently have some spike code using the Richtextbox in the System.Windows.Controls namespace to convert the text to xaml and run it through a xslt transform to the required format.
This works fine in the spike but have concerns...
I want to be able to retrieve Windows "special paths" (e.g. temporary files folder, desktop) for user accounts, but from a service.
I know the normal way to do this is by using SHGetFolderPath with the appropriate CSIDL for the folder type. Is there any way to get this type of info for each user without the service having to log in as ...
Hi guys,
The legacy database I'm "springwrapping" has Id's that are Strings and that give away some information. For instance, a UserId looks like "DK-6715-00001", meaning a user in Denmark, postal code 6715. This is so wrapped into the enterprise applications that it needs to be kept and my entities verify this in their setter methods....
This may already exist I hope.
I want to create a Windows service that schedules tasks (much like the Windows o e) but it would run C# assembles dynamically from a local folder (schedule rules via a XML file for that task) so I don't have to create a Windows service or console application every time I want some automation code but can b...