service

Service reference not generating client types

I am trying to consume a WCF service in a class library by adding a service reference to it. In one of the class libraries it gets consumed properly and I can access the client types in order to generate a proxy off of them. However in my second class library (or even in a console test app), when i add the same service reference, it only...

Should Android services be completely independent of an application?

We currently have an application that starts its own background services to manage syncing of data and downloads of files/images. We want to automate some of those services and we have a difference of opinion on what the best way forward is. I contend that having services completely separate and driven through intents is a better way to...

How to get Android Local Service instance

Hello all, I'm starting a service in my application using startService. I do not want to use bindService as I want to handle the service life time myself. How can I get an instance to the service started if I do not use bindService? I want to be able to get a handler I've created in the service class to post messages from the activity...

Web service SSL handshake fails in production environment unless SSL debugging enabled

Scenario: calling a client web service over SSL (https) with mutual SSL authentication. Different service endpoint URLs and certs (both keystore and truststore) for test vs. production environments. Both test and production environments run tomcat / JBoss clustered. Production environment has load balancing / BigIP, runs Blade and non...

Problem with thread after SCREEN_OFF in Android

I’m doing an application that listens to the android.intent.action.SCREEN_OFF in a Service (if that matter) and then it is supposed to wait a few seconds and launch an action, I’ve tried a timer schedule method, thread and handler postDelay method but all of them seems to fail, they are never executed on a device, it seems like it’s bein...

Need help implementing an Android service that does http long polling

I've seen persistent TCP connections implemented (http://devtcg.blogspot.com/2009/01/push-services-implementing-persistent.html), but my needs are a little different. I need an Android service that always runs in the background and keeps a long polling connection to an HTTP server and communicates with it using JSON over POST method. D...

Android service killed

I have a Service running in the same process as my Application. Sometimes the Android OS decides to kill my service (probably due to low memory). My question is: does my Application get killed along with the Service? or how does it work exactly? Thanks! ...

Service for sending SMS and making Voice Calls from Web site and Desktop application

We plan to integrate sending of SMS and making calls to our desktop and web applications. Both are written in Java. As for only sending SMS we know about great gateway from Clickatell. But ideally, we would like to use one service similar to it, but which supports Voice Calls and SMS. What service/gateway could you recommend? Here are...

Silverlight 4.0 question - synchronous calls to asmx web service

Hi, I have Silverlight problem. I have to deal with fairly large legacy application that has some web services exposed (regular asmx, not wcf). What I need to do is to build Silverlight app that consumes those web services. Due to business logic I need to have the same web method to be called from Silverlight app synchronously. I was a...

Using Alarmmanager to start a service at specific time

Hi friends, I have searched a lot of places but couldnt find a clean sequential explanation of how to start a service (or if thats not possible then an activity) at a specific time daily using the AlarmManager?? I want to register several such alarms and triggering them should result in a service to be started. I'll be having a small pi...

Context asp.net in WCF Service basichttpbinding

Hi all, I'am newbie in WCF Services. I Have asp.net page, and call it WCF Service (basic http binding). In my WCF Service, I need get the asp.net context of user. Any sample about it ? how can I config the client and service ?? and what code source can I use ?? Greetings, thanks in advanced ...

When is onBind or onCreate called in an android service browser plugin?

I have adapted the example plugin of the android source and the browser recognises the plugin without any problem. Here is an extract of AndroidManifest.xml: <application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true"> <service android:name="com.domain.plugin.PluginService"> <inte...

.NET Windows Service - Pulling Updates with Service Restart

Hi All, None of the following has been attempted - I have no idea if it's possible, or, for that matter, where to start. I'm presenting a hypothetical scenario for a project I'd like to attempt. Situation: I provide a windows service to a remote client (customer), where they install the service on their server. Issue: Somewhere ...

Android how do I wait until a service is actually connected?

I have an Activity calling a Service defined in IDownloaderService.aidl: public class Downloader extends Activity { IDownloaderService downloader = null; // ... In Downloader.onCreate(Bundle) I tried to bindService Intent serviceIntent = new Intent(this, DownloaderService.class); if (bindService(serviceIntent, sc, BIND_AUTO_CREATE))...

Service Discovery in J2ME

Hello, I have an application to run on a cell phone equipped with Wi-Fi and an application on a desktop which I want to communicate with. The problem is that I want to find in a Local Area Network the IP and port of the machine who has my service running. I can guarantee that there will be at maximum only one machine running it. I sea...

grails question (sample 1 of Grails To Action book) problem with Controller and Service

Hi, I'm doing Grails To Action sample for chapter one. Every was just fine until I started to work with Services. When I run the app I have the following error: groovy.lang.MissingPropertyException: No such property: quoteService for class: qotd.QuoteController at qotd.QuoteController$_closure3.doCall(QuoteController.groovy:14) at qo...

how to learn web service using vb.net

hi .. im want to learn how to build a web service using vb.net. unfortunately i couldn't find any websites that provides good tutorial.. can any one suggest a web site? thank u in advance .. ...

Android - Service and Activity interaction

I want to create an app that contains a Service S and an Activity A. The Service S is responsible for preprocessing, such as preparing the data shown on the UI of the Activity A, before the Activity A gets invoked. I want to be able to invoke the Service S from outside the package, say from another Android app's Activity class B, do the...

Android - Run in background - Service vs. standard java class

In Android, if I want to do some background work, what is the difference between Creating a Service to do the work, and having the Activity start the Service VS. Creating a standard java class to do the work, and having the Activity create an object of the class and invoke methods, to do the work in separate thread. ...

How to add search.asmx web reference to webpart application in VS2008 ? facing problem.

Hi, I am trying to create the custom search webpart. I want to use Enterprise Search Query Model (MOSS) . But unable to add the web reference of the search.asmx webservice. infact it has no WSDL file. just wondering about what setting it needs.... too If anybody know how to do, same. please let me know. you can find the search webservice...