service

Silverlight accessing secured Webservice

I'm trying to get a Silverlight application to connect to a Java webservice using a service reference. I've come to the conclusion that Silverlight doesn't work the same way as as WPF or ASP.NET with respect to service connectivity. I've searched the net and all I found for authentication was articles talking about securing the applica...

Sending an Array into a PL/SQL Procedure

I have created a Web Service to send in a bunch of information to a PL/SQL procedure, however one of them is a array. What type do I use for this? I also want to put that array into a cursor after it comes in. ...

How do you hook a server side Logout function to ASP.Net Authentication Service Logout

The Asp.net AJAX authentication service provides Login and Logout methods. I can configure a membership provider and a client side call to Login will call my server side ValidateUser defined in the membership provider. All good so far. However, the Logout method issues a call to the built-in service's Logout method which basically set t...

What does the csrss.exe process do?

What is the purpose of the csrss.exe (Client/Server Runtime Server Subsystem) on Windows? Maybe someone could give a good explanation or pointers to documentation? Unfortunately Google results are pretty noisy when searching a core process of Windows. The reason I'm asking is that I got a BSOD from my service application which seems t...

CXF generated web service client

When using a generated webservice-client (CXF and Maven-Plug-in) I got the following error: Interceptor has thrown exception, unwinding now null. Can someone help me? Thanks! ...

java service and resource sharing

Hi everyone, I am creating a windows service in Java that writes data to an object. This object has to be accessible by another Java program. What is the best approach to take? Thank you. Jack ...

Set 'Start Parameters' on Service Installation with .Net ServiceInstaller ?

Hello there, I am currently writing a little windows service application and I can successfully in/uninstall it etc via something like this: serviceProcessInstaller = new ServiceProcessInstaller(); serviceInstaller = new System.ServiceProcess.ServiceInstaller(); serviceProcessInstaller.Account = ServiceAccount.L...

How to prevent the application timeout?

Hi, I have created a multithreaded application but it still hangs if the server is unavailable. In the main Activity I've created the following methods: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //bind GUI elements ... //start TC...

WCF Service invoking - without any reference added

I want to invoke a wcf service for testing on the http layer. I do not want to add a service reference and create a proxy and invoke. I want to create a new web test(VSTS) which sends a http request to the service and posts(Http post) the request in http body as an xml. I have service metadata, with which I can see the datacontracts, bu...

Ghosts windows when color scheme is NOT Aero on Vista...

Hi, We have a service that launches an application that will interact with the logged on user. The application we launch is always run as a specific user for which we have the credentials. We do what is necessary (get active session ID, logonUser, adjust token) and launch the application with CreateProcessAsUser in the winsta0\Default d...

How to create a HTTP request listener Windows Service in .NET

I want to create Windows Service that acts as a HTTP listener and can handle around 500 clients. Are there any special considerations for this kind of service. I am a little confused between the HTTPListener class and the TCPListener class. Which one to use for a Windows Service that will: Accept the client connection (around 500) Pr...

Signalling Initialization Failure from Service.OnStart

We have a case where during Service startup (OnStart), a worker thread is started. The worker thread connects to a SQL database. If the database is unavailable, the worker thread can signal the main thread of the failure. The question is; How to signal the Service Control Manager that startup has failed. ...

any experts of Windows Media Service

Hi guys, anyone know whether Windows Media Service supports streaming flv on Windows Server 2003? I tried but failed to find any claim documents. http://www.microsoft.com/windows/windowsmedia/forpros/server/server.aspx thanks in advance, George ...

Where to stop/destroy threads in Android Service class?

I have created a threaded service the following way: public class TCPClientService extends Service{ ... @Override public void onCreate() { ... Measurements = new LinkedList<String>(); enableDataSending(); } @Override public IBinder onBind(Intent intent) { //TODO: Replace with service binding implementation re...

throttling control in Windows Media Service

Hello everyone, I am wondering whether on Windows Server 2003, in Windows Media Service, we could setup/configure throttling settings for any file types (even the file types not supported by streaming by Windows Media Service), for example, setup .flv file download/streaming throttling bit rate to 100k or setup the bitrate throttling co...

Locale instance in web service

How can I use instances of java.util.Locale as parameter or result in a webservice? My webservice uses Apache CXF. ...

REST, WCF and Queues

I created a RESTful service using WCF which calculates some value and then returns a response to the client. I am expecting a lot of traffic so I am not sure whether I need to manually implement queues or it is not neccessary in order to process all client requests. Actually I am receiving measurements from clients which have to be sto...

What is the best way for having a ruby service on rails?

I need to run a ruby-script as a service. The script needs access to the ActiveRecords of a rails-app. What would be the best way? A rake task? How can it be started as a service on both windows and linux? ...

Vista + VB.NET - Access is denied while trying to start/stop a Windows Service from within an application

I get the following error in Vista while trying to start/stop a Windows Service that I created. Cannot open ServiceName service on computer '.'. The same code works for XP. What should I do to solve this problem? ...

Service Host Resolving - C# Equivalent to RMI Registry?

I'm taking a Masters capstone course early and doing my project in C# while everyone else is doing theirs in Java. The project has 4 services and requires a name server that maps service names to sockets. The instructor is suggesting that the students use RMI to build this registry. Since I'm not very familiar with Java, and the instr...