services

How to deploy Web Services in GlassFish?

I am using NetBeans6.9.1. When I test my Web Services using "Test RESTful Web Services" inside NetBeans, the web services were properly deployed and I was able to do GET from my web services. I thought when I deploy my EAR (which contains those web services and other ejb and web stuff), the web services would be automatically deployed, b...

Inconsistent Handler behavior.

I am using a handler inside my service to display notifications at a certain time using the Handler.postDelayed method. My application runs fine on the emulator just as expected satisfying all cases. But when I installed the same on my HTC Wildfire, it simply doesn't happen as anticipated. Notifications are displayed at a random manner a...

Check the state of a local Service

How do I check whether the local service inside my application is running? ...

ASP.NET Web Services code examples

Hello there, I am new to ASP.NET Web services (coming from PHP background) and I now have to develop a project in ASP.NET which will have to be very flexible, which means that I will have to play a lot with XML (schemas, data description etc.). Although I 've pretty much understood the whole concept, I still have a problem familiarizin...

I Can't add or remove using ria services in my SL4 project

Hi .. I built this SL4 project .. and it was working perfectly, after while I re-opened the project and pressed F5 to try it again. After I add new item in Data Form, filling the required field and doing "SubmitChanged()" I get "Code : 4004 error message" . I'm using Entity Framework + RIA services, I used EF profiler to see if the Li...

Network drive access through remoteapp and remote desktop connection

Hi All, I have a C++ application that uses GetDriveType() API to retrieve the drive type for the selected drive (list of drives populated in the combo box). I'm using 3 Windows Server 2008 R2 machines e.g. A,B,C. My C++ application runs on machine A. Also on machine A, I have created a network drive mapped to a drive of machine B. Whe...

How to get the status header for a website programmatically

Hi All, I am writing a win32 service in Delphi (should be able to translate any other code if you don't know delphi) that needs to fetch the status of a website. I know how to do this in .NET but am not sure with normal windows based programming. So, I need to query a website and return the Status Code 200, 301 ect. My plan is then to p...

Windows Service: OnPowerEvent doesn't fire

I want to create a Windows Service that tracks if the A/C power adapter is plugged in or not. For that, I am trying to build Windows Service as below: using System; using System.ServiceProcess; namespace PowerAlert { partial class PowerAlert : ServiceBase { public PowerAlert() { InitializeComponent(); } ...

Cannot start service

I have 2 other services running on a server and they start and stop without a problem, however one of them will not start. I can't see any difference in their implementation or config files. I'm receiving the following messages when attempting to start the service after installing it with InstallUtil: The service is not responding to ...

Report viewer Error message "client found response content type of '' but expected 'text xml' The request failed with an empty response."

Hi, I'm getting the error "client found response content type of '' but expected 'text xml' The request failed with an empty response." when i try to execute the following code. //create a PDF from the SQL report ReportViewer rview = new ReportViewer(); rview.ServerReport.ReportServerUrl = new Uri("http://server/ReportServer$MSSQL2K5?...

Validating new rows in Silverlight DataGrid

We're using RIA Services / Silverlight 4, and I'm binding a datagrid to something like Context.Foo. I can see validation errors appearing in the datagrid's validation summary when users try to enter empty strings into mandatory fields and so forth, life is good. However when I add a new item by calling something like Context.Foo.Add(ne...

how to create War file for a RESTful web service developed in eclipse IDE

Hello All, I ve created a sample REST web service which writes some data in a xml file. Now I have hard coded the path where the xml file is to be written. I want to know how to declare that local path of the file in web.xml file as servlet parameter and how to get the path from there and use it in codebe . Also I need to create the WAR...

Using VBScript how can I check if the Spooler service is started and if not start it?

Hi all, I'd like to use VBScript to check if the Spooler service is started and if not start it, the code below checks the service status but I need some help modifying this so I can check if it is started. strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\c...

Reporting services barchart with linechart overlay

Hi, I was wondering if it was possible to create a chart similar to the one below with the Reporting Services charting control? Failing that, if there are any third party reporting controls that would be able to do it? Thanks, Matt ...

Simple software license key server suggestions?

My boss wants a quick, simple to integrate, simple to host software licensing server to enforce license activations and expirations. We have to integrate it with a C++ Windows Service application. I would not like to host the service in our office for the same reason we don't host our own website in our office. The service must be host-...

WSH / JScript to start and stop services based on time?

Hi all, Just looking to see if my assessment is correct on the easiest way to do this. Background: we have a software suite which we're running via services. The services need to be shut down between 10pm and 6am. We also need to check every 10 min to recover the services in case they've gone down when they were supposed to be up, and...

hosting web service on https

Hi we have a web service hosted in our servers but we would like to host it over a secure https server for demo purposes to be used by our clients. Security is crucial as our clients will need to upload their sensitive data there. Does anyone know if we can purchase for a month or so a secure https domain in amazon web services, or micr...

isOneWay WCF Services

I'm attempting to create a process that verifies data within a database and notifies users of errors. My initial thought was to create a web service that is triggered when the user saves the web form. That web service would begin the process of validating the data and populating another table with information about what information it b...

create toast from IntentService

Hello, I'm trying to have my IntentService show a Toast message, but when sending it from the onHandleIntent message, the toast shows but gets stuck and the screen and never leaved. I'm guessing its because the onHandleIntent method does not happen on the main service thread, but how can I move it? Has anyone has this issue and solved i...

Drupal services node.save with Key auth

When posting a node from my slavesite.com site to my hostsite.com site, it keeps giving me the error : "1 1 Invalid API key.." I checked the key I set up on the host site and I gave the key a method access of "node.save". I built a simple module I got from this site(http://thejibe.com/blog/10/8/saving-node-remotely-using-services-and-ap...