service

Provider oracle.j2ee.ws.client.ServiceFactoryImpl not found

Hi all, I am writing an application that invokes an Oracle web service. The web service client code was provided me. This application uses a custom subclass of URLClassLoader to load jars at run-time. Running the unit tests from my local machine works fine, however when I deploy the application on the server and run it, I get the follo...

how do i start (and bind) a remote service in android that is implemented in another app (different package)?

hi there! i'm a bit stuck with remote services in android. thing is i implemented a remote service in package "a.b.c" and i want other applications to be able to access this service. i got rid of the whole crappy aidl-stuff and designed the "interface" of the service to work via broadcasted intents. works fine so far... problem is: how...

informatica integration service treats filter transformation as passive transformations ?

i had a question from my training.does the integration service treat the filter or update transformation as passive transformations ? ...

How can I get a localized message in a grails GSP tag attribute?

In a grails GSP, I want a toolTip to be localized: <a href="..." title="localizedMessage"> As the toolTip is written in the attribute title, I can't use <g:message> here. Actually I already have a service for localized messages, but when I call it from the GSP, the service's messageSource is null, so getting that to work would be a so...

how to handle alarmclock and alarm reciever broadcasting to pause playing mediaplayer object

I am using service class to play the mp3 file using media player object on Android platform, problem is, i am not able to handle the alarm interruption. When any previous set alarm clock reach to it's alarm time it starts to play in parallel with mp3.I want that mp3 should become paused and after alarm it again start to play,same thing s...

programmatically bounce a service

We have a 3rd program program that appears to have some sort of an issue that requires that it be bounced regularly, say, every 2 days. How can we do this programmatically? ...

Form not listed in Windows Service Project Start up objects in VS.net 2008

Hello, I have a windows service in VS.net 2008. Just to test the application before I install the service, I have a form (Form1.cs). Now when I want to make this project as startup project and form1 as startup object, I don't see the form one in the start up object list. I just see the namespace of the Program.cs and not set Please help...

C# Windows Service and Remoting

Hi, I'd like to create a Window Service that can load several DLLs from a certain location and publish them using Remoting on a specific TCP port (let's say 9000). Each DLL contains a single class that will published. For example (Test.dll) namespace Test { class Service { // methods here } } The service should publish it ...

Is it a good idea to extract controller logic into a service that extends repository functionality

Hi, I had a controller POST action that is called List that accepts a status variable which can be the following values { "all", "active", "inactive}. Then I made repository calls based on the the value of "status" inside of the controller. The controller looked like this: [HttpPost] public ActionResult List(string status) ...

SilverLight Enabled Wcf Service - can't keep track of session

Hi, I'm new to Silverlight and WCF services. I'm trying to write a client application that can manipulate an object server side. My problem is that each time my Silverlight client makes a call to the service, it enters into the constructor systematically public SilverLightEnabledWcfService() { } In the below exampl...

Android getting a Service to communicate with an Activity?

I currently have a Service and an Activity in my application. I currently bind the Service to the activity without using AIDL as the Service and the Activity are in the same application. This allows me to call the methods from the Service within my Activity when I require them, however it doesn't let me call the methods of the Activity...

AlarmManager and BroadcastReceiver instead of Service - is that bad ? (Timeout problem)

Hi everyone, BACKGROUND INFO: I need to update some data from the web, about every hour or so, even when my app is closed. The update of the data itself takes about 40 seconds to 1 minute. It is then saved as a Serializable to a file. This file is read when my app starts. THIS IS THE APPROACH I TOOK FOR THE MOMENT (not using a Service...

Why does my WCF Service generate Array types when I explicitly set it to List????

I have been consuming a service for some time in development, and have been updating my service reference almost daily with no problems. Collection types have been set to generate as System.Collections.Generic.List in the Advanced options. However, for no apparent reason, now when I update the Service Reference, it's generating Array ty...

Start service at boot and after app has been installed

I know you can start a service on Boot, but how do I start the service after the app has been installed or reinstalled? I would like to start the service once the app is put on device by Debug/Run of Eclipse. ...

How can I ensure a service is started at 9am and stopped 9pm every day?

I have a service that will monitor location changes daily. What I know so far that to start a service at boot, I have to follow the linked tutorial. This way I can get the service started at boot, but to save battery I need it only between 9am-9pm. Question is pretty simple, so I will repeat: How can I ensure a service is started at 9a...

Best way to update an Android widget every 20-30 secs: Handler, Service or Alarm?

I have a 4x4 widget and i want to update a little piece of it every 15-20 seconds. Clearly i don't want it to be updated when the phone is in standby. The widget needs also to respond to some system events other than my timer. So, which is the best option? An AlarmManager: nice but probably cpu intensive if it needs to be run every 20 ...

Do I need to add an intent-filter when starting a service?

I am following a tutorial to setup a service to start on boot where the last piece of the code is: Make an entry of this service in AndroidManifest.xml as <service android:name="MyService"> <intent-filter> <action android:name="com.wissen.startatboot.MyService" /> </intent-filter> </service> Now start this service in the BroadcastRec...

How to stop service after AsyncTask finished?

I have a service, that requests another class, which launches an AsyncTask Service->Weather Class->Execute Method->Asynctask->Execute this is launched in the service by new Weather(this).execute(); // the execute is a method of the class, not of the AsyncTask how do I detect in Service that the AsyncTask finished so I can call stopS...

Bonjour service to interact with keyboard

Hi I want to create an iPhone app where i press an A key, and a computer connected to the local network over wifi would respond as if the A key was pressed on its own keyboard. Would i need to write a Bonjour service on the machine to detect and handle the key presses, hooking into the keyboard? Are there any starting points? Thanks....

Retrieving authentication info for a JBoss webservice

I have a webservice with basic HTTP authentication on a JBoss server. Is there a way to retrieve the authentication credentials (username, pw) supplied by the caller from within the webservice? ...