services

Web Services using J2ME and Java Version 1.4

Howdy, We are trying to program an MFP (Multi-function-printer) to communicate to our backend using Web Services. We are sending large images so using MTOM is important. Since we are dealing with a very constrained environment I would rather not use Axis. Does anyone know of another smaller WS library that will work with JDK1.4, or wou...

How to design a report request from client machines to be run on an available server

I have a vb.net 2.0 winforms project that is full of all kinds of business reports (generated with Excel interop calls) that can be run "on-demand". Some of these reports filter through lots of data and take a long time to run - especially on our older machines around the office. I'd like to have a system where a report request can be ...

How do you secure and meter the web services you share with your business partners?

I'm looking for ideas on how to restrict access to and log calls for an API we're delivering for business partners to interface with our Customer Care application. Should we create usernames and passwords for our external partners just as we would our own employees? Is there some kind of snap-in layer for .Net that can manage access rest...

Weird security error in SharePoint forms library

Environment Microsoft Office SharePoint Server 2007 SP2 running on Windows Server 2003 R2 SP2. The MOSS server is a standalone server on a domain used for outward facing boxes. It has a one-way trust with our production domain. InfoPath 2007 SP1 is being used to author the forms. Scenario 1) I have a web-enabled InfoPath form that I ...

Silverlight and RIA Services - Using the ActivityControl with Custom DataContext

I am using Silverlight 3 and .NET RIA Services. I would like to use the ActivityControl from David Poll: http://www.davidpoll.com/?p=4. Is this possible outside of a DomainDataSource (I am not using the DDS)? I would like to programmatically bind to it, i.e. similar to how I bind my other controls via code-behind, via the DataContext....

RIA with ASP.NET

Does it make sense to use RIA Services as a service provider to an ASP.NET web application as opposed to just a Silverlight application? We have an infrastructure constraint that the services and the consumer are on different physical machines thus need to cross a service boundary. We have not seen any examples of using ASP.NET as a cons...

Stop/Start service in code in Windows 7

I am trying to write a app and service which monitor a given set of services and a) makes sure they are running and b) based on certain criteria, restart them as needed. I keep running into an access denied error. If I simply iterate through the processes on the system, find the one I want like so: foreach (ServiceController sc in Ser...

Which Java Service or Daemon framework would you recommend?

I have encountered many different ways to turn a Java program into a Windows Service or a *nix daemon, such as Java Service Wrapper, Apache Commons Daemon, and so on. Barring licensing concerns (such as JSW's GPL or pay dual-license), and more advanced features, which one would you recommend? All I intend to do is convert a simple Java p...

Checking for an unregistered/missing service

How can I use ServiceController to tell me if a service has been registered or not? In the code fragment below, the check for a null DisplayName results in a System.InvalidOperationException. Is there a straightforward way of doing this that I'm completely missing? ServiceController sc = new ServiceController("TestService"); if (sc.D...

Reporting services subreport column sorting failing

Hey All, I am working on a SSRS 2008 reporting solution and I am running into a problem with a subreport not interactively sorting columns with the asp.net report viewer control. The report itself is completely functional when it is not used as a subreport, but once I add it to another report as a subreport you cannot sort the columns w...

What does Crosscutting Requirements/Concerns mean in Programming?

These I come across this term a lot "crosscutting requirements/concerns" in programming world. Although I think I have an idea what it means still I do not have a clear idea. I hear it a lot in web service and SOA in general. Can this be explained using a hello world example? ...

Deleting files on a remote machine

Is it possible to connect to a remote machine and delete files from it? If not, are there any other approaches that can achieve this task? Quick and dirty suggestions as well as 'proper' approaches are both welcome! One thought is that I could create a service that runs on each machine, implement a method that deletes local files, and ...

Implementing .Net RIA Services with Silverlight3 using only existing code/classes?

As my latest questions have stated, i am in a process of researching on Silverlight 3 and its application as a suitable RIA solution to a pre-built project a client of ours wishes to webify. And my experience in .Net and silverlight is about 3 - 4 weeks. I have now become aware of .Net RIA Services. I require to use an existing VB class...

Nested IIfs in reporting services

Hello, can anyone help please. I need to put an IIf within an IIf within an IIf. I have a parameter called 'Period' with 4 labels, '24 Hrs, 3 Days, 7 Days, Month'. I have another Parameter ('Date' and hidden) containing the following DateSerial '=DateSerial( Datepart("YYYY",Now()),Datepart("m",Now()),Datepart("d",Now())-1 )' which ...

Best practice for writing a self-updating windows service

We need to create a windows service that has the ability to self update. Three options spring to mind, a second service that manages the retrieval, uninstallation and installation of the first service. Use of some third party framework (suggestions welcome. I believe .NET supports automatic updating for windows forms apps, but not wi...

Simple method for accepting command-line input for a standard Windows service written in C#?

Hey stackoverflow, I have written a pretty simple Windows service in C# that starts up automatically and runs A-okay. I was wondering the best method to have the service accept command-line input -- it will always be from the same user (admin), and the service itself is fully trusted (LocalSystem). I know a little (very little) about d...

how do you diagram relations between several services?

not necessary an UML diagram, just a simple way to graphically document the relations between several systems... the systems can be linked through web services, linked-servers, text files, batch processes, com+ components etc... I was thinking about a high level map, showing which system is consumming, exposing, resources and by which ...

HTTP Request problem in Windows Service

Hi guys We've written a Windows Service that needs to send an HTTP request in order to post some xml data to another server. When we test the code via a console application, it works fine, but when we test it by running it as a service, it errors on this line of code: var httpWebRequest = (HttpWebRequest)WebRequest.Create(Uri); The e...

Vista services: Can show form on invisible desktop?

I am attempting to show a form from a service on Vista (using .NET winforms) Obviously the form would not show to the console user, as services are isolated in session 0. However the experiment is to see if it is possible to "show" an invisible form and obtain a window handle & message loop I have tried but when I issue form.Show(), o...

C# multiple instances of the web service proxy classes or should I be passing them as a ref?

For each class I create a new instance of the web service proxy. Main Form: services services = new services(); services.doStuff(); New Form/Window from the Main Form: services services = new services(); services.doStuff(); Should I be passing the first instance from the Main GUI? or does it even matter... frmWindow window = new ...