service

Activity with ProgressBar -> Service -> AsyncTask for downloading - but how to update the progress?

Hi, this is the current state/situation: I have an Activity which binds a Service which creates AsyncTasks which downloads various web resources. That works well, but of course the ProgressBar shows nothing. Previously i had an Activity which created an AsyncTask which downloaded some stuff. The AsyncTask got the View which holds the P...

Android - create a service that runs once a day

I'd like to create a service for Android that performs an operation once a day at a given time. What's an efficient way to accomplish this - I want to make sure I'm not draining the device battery since this service is idle 99% of the time. ...

Flex Multi Service call problem

I tried to call a service using a for loop and it seems that only the first service call seems to work. My guess is that once a service is called it needs to wait until result event until it can be called again. How can I workaround this? Waiting for each service to complete before querying for another is too slow. Ex. callresponder ...

windows service to generate html?

I have a windows service (Win32 Service API) mostly designed that will generate images from data in a frequently updated text file. The idea being that these images can then be referenced by an html file to satisy a client requirement. There will also be varying text data from the file in that html. what I'm wondering is..... --- whet...

How can I make a batch file calling JBOSS to run like a service?

Just curious if theres a way to do this... Basically I'll be calling Jboss from a batch file, and I want to have it run in a seperate thread or service Any idea how to do this? ...

is it possible to show download dialog box in case of file download if the file is located on amazon server

i am using amazon s3 service. now i want to show download dialog box in my asp.net application when user come on download page. i am using amazon sdk. ...

Is it possible to pass forms authentication credentials directly to a web service

Using ASP.NET 2.0. I'm using Forms Authentication on two sites. The two sites have the same machine key and thus it is possible to log into one site and go directly to a URL on the other site without the need to log in again. However, I now wish to call a web service on the other site from the code behind on the current site. I need ...

How to install and start a Windows Service under NetworkService account by using WiX?

Dear All, I am trying to create a wix installer to install and start a Windows Service under NetworkService account, but failed, what I got is "Service"() could not be installed. Verify that you have sufficient privileges to install system services." Please advice, my code is as below: <Component Id="service" Guid='myguid'> ...

What are the minimum user permissions required to install a Windows service?

What are the minimum user permissions required to install a Windows service? ...

Windows Service Installation Folder .Net

Hello there, I have a windows service that is hosting a WCF Service Library. Corresponding to this windows service, I have a setup project. I want to change the default installation folder of the service. It's fine that I can change while running through the installation wizard. But what settings I need to change at the project level? ...

Calling WCF Service Methods from test Website throws error

Hello there, I have WCF Service Library implemented in Fluent NHibernate and hosted under Windows Service. Also, I have a WebSite to which Service reference is being added. Now, when I am calling WCF Service methods from WebSite, I get the following error: [FaultException`1: An invalid or incomplete configuration was used while creati...

WCF Service Base Address Http and netTcp

Hello there, I have two base addresses defined in my WCF Service config file: <?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- When deploying the service library project, the content of the config file must be added to the host's app.config file. System.Configuration does not support config files for libraries. --...

How to write a service with Visual C++ Express 2008?

The express editions of Visual C++ lack a template for creating Windows services. However, I heard somewhere that it could still be done. How would I go about doing this? ...

WCF objects, multiple IList implementation and serialization errors

Problem: WCF contract objects cannot implement 2 types of lists (ie: List and List). Long-winded explanation: I'm building a WCF service on top of an existing core system, and I'm trying to work out the best way to implement some of my business objects. The core system utilizes interfaces for all business objects - Person management ...

Silverlight service reference deployment

Hi all. Im having issues deploying a silverlight 3 application for the first time. The issue is with a service reference, the Authentication one. This all works fine locally inside of VS 2008. I cannot add new service and discover the hosted one. Eg the localpath is http://localhost:9626/Services/AuthenticationService.svc But if i ...

Content Provider is part of my application?

Hello, I need to create 3 things: Content Provider Service Application I'm wondering if these all three will be in one single project, or they will be three different projects? Also how can I limit my Content Provider to my services and my applications? Regards, Pentium10 ...

Currency Conversion Web Service With User Input

I want to Consume a Currency Conversion Web service, Specification is, User should be able to Select Two Countries from Dropdown list on the UI, such that those values should be sent as parameters to the conversion method. How can I do this ??? ...

Injecting data to a WCF service

I have WCF services structured like suggested by Miguel Castro. This means that I have set everything up manually, and have a console application hosting my services using ServiceHost objects. I want to keep my service classes thin, and they are currently just passing on calls to behavior classes. My problem now is unit testing the ser...

method architecture, returning the supplied object.

Hello. And thanks for any suggestions. I am building a client facing web service, but am struggling with a design implementation. For each of the service methods, an object is passed as a parameter IE: The CreateCustomer method accepts a Customer object. The issue that I am having is with the response. What I have currently in pla...

Mixed authentication modes: send both Kerberos token and username token over HTTPs with WCF

Is it possible to send both username token and the kerberos token over HTTPs with WCF? We are able to use custom binding with authentication mode set to 'UserNameOverTransport', which will include a username token in the SOAP header as per OASIS web services security standard. Alternatively can set the authentication mode to 'KerberosO...