service

Android: How to communicate and exchange objects with a Local Service

So far I've a class for a simple local service. What I want to do is to send requests to this local service from different activies in my application. Depending on the parameters of these requests the service will connect via HttpClient to a webserver and receive a JSONObject and return it to the activity. All the HTTP communication is a...

Base class for windows service

My new project has a design in which there are number windows services for performing different tasks. I have been given a task to create base class from which all of the windows service will inherit. This base class will perform common functions like creating instances of other windows services by iterating through the config file (may ...

How to pass Client Objects to WCF Service

Hello there, I want to pass list of entitiy objects from Client to WCF Service, but my WCF Service has no knowledge of the structure of these entity objects. One way could be to pass them in an XML file. What could be the other possible ways to pass such objects to WCF service? Please guide. Thank you! ...

IIS WCF service hosting vs Windows Service

Hi, We developped a WCF service and we're looking to deploy it. Our clients will be using it with basicHttpBinding but our internal team will be using it with namedPipesBinding. We are wondering if is it better to host it in IIS 7 or with a Windows Service ? We ran some tests and we found out that when we're adding bindings in IIS, it ...

Using the Microsoft SMTP Server's Dropfolder

I have set up Microsoft SMTP server so it will store all incoming email in a dropfolder. I want to process, using c#, incoming mail based on the sender, recipient, and subject line. If possible, I also want to create a plain text preview of the email. So, there are two parts to this problem. I'm guessing a FileSystemWatcher would be...

ServiceConnection::onServiceConnected not called even though Context::bindService returns true?

I've been trying to bind a service that was started on boot from an activity. The code for starting on boot was mostly taken from the instant messenger. This is the AndroidManifest.xml definition for the 3 main components: <!-- Receiver --> <receiver android:name=".receiver.LifestylePPAutoStarter" android:process="android.process.l...

Rolling File Appender for .net 1.1

Hi, I am developing a windows service for FTP communication. This service will be installed in WindowsXPe environment where spaces is abt 2GB. i want to implement rolling file appender logging. I tried Log4net i am getting problems. Please suggest if i can use some other logging ...

Hudson as service on Windows - file system permissions

For some months we've run Hudson on a Windows XP "server" under a user account. This means someone manually logs in and starts Hudson via a .bat file (that sets up a few environment variables, then runs java -jar hudson.war) However a few recent power cuts have resulted in the requirement to have Hudson start automatically at the time t...

Custom web service context issue

hi All, I have created a custom web service and deployed it to _layouts folder. it seems like SPContext.Current.Web.Url always return the root web url no matter when the web service is calling from. does sharepoint rewrite the reuqest url for web service somehow? thx Kevin ...

Multiple Services Hosted under one Windows Service

Hello there, I have two Services called TemplateService, TemplateReportService (both defined in one WCF Service Library) to be exposed to the client application. Is it possible to host these two services under one Windows Service? Thank you! ...

Securing a server application

We have two backend applications, one that is reponsible for acquiring data from the internet and storing it in a database, and the other that is effectively a COMET server, accepting connections from the internet, hooked into the http pipeline via the HttpListener API. In development, both these items have been created as console appl...

.NET Service Application – Sending mail to 2,634,789 users

Hi, We have made a .NET service application to send emails to all the registered users of our website. We have 2,634,789 users and the mail has to go to all of them. In the program I am fetching the information related to 100 users at a time (to avoid database calls) and storing that in the program (in a DataTable) and then sending th...

How to call a Grails service in a view?

Simple question : I have a service class (let's say helpersService) and a method def constructURI(params). How can I call this method from a template view. I have tried the following code without success <% def helpersService = new HelpersService() // or def helpersService %> <img src="${helpersService. constructURI(params)}"/> But ...

Reminder Alert as in google for asp.net mvc

I need to show a message to the online users as alert popup like reminders in google calendar. Can we use any background process like web service/windows service to achieve it? Or is there any reliable way to do it? ...

How to Manually create an Apache Windows Service

Hello, I accidentally removed my Apache windows service trying to install another Apache web server. Does anyone know how I can create another Apache windows service from cmd? I tried "sc create ..." but I am missing a script on the end like -k start? Not sure what I need for the end of it... I am running Apache 2.2 Thank you ...

AD Authentication with Web Service

Hi All, I am trying to develop a web service which will be consumed by various clients on different platforms. I want to authenticate this web service such that the users who call my web service should be authenticated based on NT account they are logged in. My Web service will be hosted in the same domain as my users are, ie my company...

how to convert my vb app to an activex web service

I made an app in VB that I want to turn into a web service. I've been told I can create a web service from VB.NET but how? Can I convert my app into a ASP.NET app or do I have to re-write it? Can I turn my app into an Active X control and create a active x web service? ...

VB app to web service

I know very little about web service but I assumed it would be the solution I was looking for. Basically I made an application in VB that I want to be ubiquitous for a lack of a better word. I need it to receive requests from multiple users and respond all at once. I was told "technically if you write a webservice you can provide as many...

Joomla web service module

I am looking for a Joomla web service module to allow users to create a user login and add posts and comments. I am writing a standalone mobile version of my joomla site and I need it to call these web service functions. ...

Android - using background service

I have a mix-case IDL service that I'm using in 2 ways: The service will spawn a thread and make a network call to grab some XML content on Activity's behalf. The content is return back to the Activity through client's IDL that defines callback methods If user chooses notification option then service creates a Timer that gets executed ...