service

Add Network Service (VPN) Using Terminal

Basically my problem is that I need to write a script that automatically creates a VPN service in Mac OS X Snow Leopard that can be used on multiple machines to speed up the process rather than going through system preferences every single time. It is specifically needed to run on 10.6.* because the VPN needs to use the Cisco IPSec proto...

Trying to determine if NHibernate or anything else would apply for accessing a web service

Here's the situation. We have a 3rd party middleware (using SQLServer as a back-end) which we communicate with using an HTTP service link and XMLRPC-like messaging. The service always returns a dataset as results of any commands that returns something. There is a way to pass an embedded SQL statement to the service. So, we do not have...

Why are Data Access Layer built with Service AND DataProvider ?

Hallo, Why do I need 2 classes to get my data? Why is a DataProvider class not enough, if the Service does actually nothing except call the method in the DataProvider ? interface ICustomerDataProvider inferface ICustomerService class CustomerDataProvider : ICustomerDataProvider { // Do Sql queries here // return sql data and w...

Why should I use startActivity in a Service

Why should I use startActivity() in a Service? If I need an Activity a have to call an activity and if I need a "delayed activity" I have to use the notification. So, why should I use startActivity()? ...

Android local services : are they that useful ?

I don't see the point of using a local service in Android. If I want to do backgound stuff, I can create a thread and use Handlers. Creating a local service is a big headache, you have to mess with Binders, worry about the start/stop/bind/unbind lifecycle, etc. What does a local service get me that a thread doesn't ? ...

Activity crashes when remote service crashes

I'm trying to understand remote services at the moment and everything works fine, i can start the service and know how to communicate with it through the AIDL-interface. My problem is that the service seems to still run in the same process like the activity it was started from, because the activity crashes too, if there is an error throw...

How do I implement authentication the restful way?

I'm building a picture diary on web application google app engine using python. Users can sign up and post pictures to their diary. Also, I'm trying to conform as much as I can to the REST architecture of doing things. The authentication scheme is based like this for the web application: 1. Post username/password from the fronten...

Which Android service path to choose for implementing a large upload?

I am trying to implement a RESTful API in which I have to upload files that are relatively large for a mobile platform. The upload could take anywhere from 30 seconds to 5 minutes. I would like my application to be completely usable while the upload takes place. I've been doing some research and I've come across a few methods from whic...

Windows Service with WPF management tool

hi, i'm trying to create a windows service with C# in .net that runs before the user is logged on... then when a user is logged on a symbol should appear in the system tray (next to the clock) to show the user that the service is running.. by double clicking that symbol a configuration utility (written in wpf) should be shown to the u...

Specify LoaderOptimization's for Windows Services

How do we specify LoaderOptimizations when we are building a Windows Service, we don't have our "Main" method as we would otherwise use In other words, when we have a simple console application we can: [LoaderOptimization(LoaderOptimization.MultiDomainHost)] private static void Main(string[] args) { } but for a Service, we implement...

Data service in roaming on blackberry phones

Hi, Can i chack in my application that data serivice is available in roaming? Can i use PhoneState.isDataServiceAvailable() for this situation or use another solution? ...

Web Service Call on Apache Timing Out

I have a webapp that is trying to contact a web service but it is timing out. The webapp is hosted on Apache. In my development environment I run the webapp on XSP and the web service call works fine. Any ideas on what I might be missing in the Apache config? ...

long running http process - how to put in separate process?

I know that similar questions have been asked all over the place, but I'm having trouble finding one that relates directly to what I'm after. I have a website where a user uploads a data file, then that file is transformed and imported into SQL. The file could be up to 50mb in size, and some times this process can take 30 minutes or som...

Android-Service killed with "no longer want" - how to restart it?

Hi, We have a Service that continuously collects sensor data on the phone. This service should run "forever", e.g. as long as the user wants, and not be killed by the system. For clarification, this service is not intended for an app to be released in the market to the general public, it is written for a scientific study. So the peopl...

Where are my Siebel Business Services?

Hi, in Siebel I can create Business Services at 2 locations: Siebel Client Siebel Tools In the Siebel Client I cannot see the Business Services created in Siebel Tools, and vice versa. (After creating a new Business Service in Siebel Tools, I compiled it - no errors reported - and ran the client with "Debug" from the Siebel Tools ...

Android network problem under screen off

In my application, have 3 threads: 1. main 2. network send 3. network receive Because the application need keep-alive the session, so thread #2 need send a keep-alive packet to server when idle more than 1 minute. If the screen is on all are ok, but under screen off, thread #2 like blocking somewhere, and if I plug-in the USB cable for ...

WCFTestClient - how can I add username and pass?

Hi All, I'm using the WCFTestClient to debug a service. This normally works like a charm. This particular service is using SSL and I need to pass the user name and password. I can right click and edit the config file, but I do not see a place where I can inject the user name and password. On the normal client app for this service, we pro...

What does "semi-public service" mean in Android?

I searching a way how to disable the opening and closing animation of notification bar (status bar). The behavior and animation is hardcoded in StatusBarService. The documentation says that the StatusBarService is "semi-public". What does "semi-public service" mean? ...

Service Broker getting Automatically Disabled

Hi All, As we know the Service Broker is enabled for the new databases we create. But recently the service broker got disabled automatically. Even if the database was restored shouldnt the Service Broker be enabled by default? ...

Large Data Service Architecture

Everyday a company drops a text file with potentially many records (350,000) onto our secure FTP. We've created a windows service that runs early in the AM to read in the text file into our SQL Server 2005 DB tables. We don't do a BULK Insert because the data is relational and we need to check it against what's already in our DB to make ...