services

Identify server that made call to web service

I am working within an intranet environment. We have both a production and development sharepoint server (WSS 3). We have a 3rd party workflow product which runs on top of sharepoint. It is installed on both the production and development sharepoint servers. The workflow product can call web services I have written which are hosted on o...

WCF - Define multiple services in a single APP.Config file?

Scenario I have a windows forms application. I want to use two different WCF Services that are in no way connected. HOWEVER, I'm not sure how to go about defining the services in my APP.CONFIG file. From what I have read, it is possible to do what I have done below, but I cannot be sure that the syntax is correct or the tags are all pre...

WCF Service Name & Binding Name

Scenario I have two WCF Services combined in a single App.Config file. I can't get the thing to run (the application compiles but fails at initialization of the services). Question I'm wondering whether I need to set the service name to be the same as something else that is also defined as part of the service overall? ERROR TypeInit...

Windows Service needs to wait, Thread.Sleep?

I have a c# windows service that needs to execute a database query every 60 seconds (or whatever interval is set in the config file). I'm using Thread.sleep(60) in a while loop to accomplish this. Is there a better way to do this? Thanks ...

The Reason of Service Termination

I use a service application I created in Delphi. My problem is that it is sometimes terminated by the operating system and I don't know why this happens. When I go the the system events, I can find a piece of information like this one: Event ID: 7034, The [...] service terminated unexpectedly. It has done this [...] time(s). I know yo...

Sharepoint.OpenDocuments Control Compatible with Forms Authentication?

We are using the Sharepoint.OpenDocuments.EditDocument2 ActiveX control and method. The method is being called from JavaScript in an IE6 client on a Windows XP SP3 client (fully patched). The server is running IIS6 on Windows Server 2003 SP1 Fronting the IIS server is Tivoli Access Manager (TAM) which proxies access to the web applic...

Application threads vs Service threads

What are the advantages/disadvantages in placing a lengthy network access code in a thread in an activity or a thread in a service? How would it affect the application? I am writing a streaming audio player and from what I've read so far putting the code in a service will still end up blocking the application so a new thread is needed,...

Safe HttpContext.Current.Cache Usage

Hello there, I use Cache in a web service method like this : var pblDataList = (List<blabla>)HttpContext.Current.Cache.Get("pblDataList"); if (pblDataList == null) { var PBLData = dc.ExecuteQuery<blabla>( @"SELECT blabla"); pblDataList = PBLData.ToList(); Htt...

Speech recognition (web) services?

I have a buffer of audio and I'd like to perform speech recognition/transcription on it. I have limited CPU and RAM locally so I want to perform recognition on a server. Are there any (web) services that allow me to do this? My searches so far have led nowhere... ...

solution on SP and EF & Ria Service

As EF 4.0 released, more support to SQL server Stored procedure. Complex Type can be generated automatically for result dataset of SP. But complex type not support by Ria Service. When I try to use ria service combined with EF 4.0, I want to get dataset by SP. This result is not mapped to any entity/table. Some sulutions suggested ...

.NET ServiceInstaller get too much time for uninstall services

Hello, we have some Setup Project wrote in Visual Studio 2008 in C# that installs and uninstalls services with ServiceInstaller class. When I install the services this don't get too much time, but when I uninstall with following code the process for each service get few seconds (and we have many services): ServiceInstaller si = new S...

Accessing identical web services using the same client

Hi. I have some web services and I am creating a web client using ws-import. When creating the client I have this line: MyServiceService service = new MyServiceService(); It works fine as it is. I have the same web service running on another server and I was wondering if I could access them using the same client. Is it possible t...

What C++ library to use to write a cross-platform service/daemon?

I wonder what library would ease the development of a cross-platform service/daemon ? (C/C++) I'm targeting: Windows, Linux and OS X. Requirements: network operations and serial port communication. Also it would be nice to have a basic sample service application. ...

Reporting Services Pie Chart

The pie chart is driving me nuts...Excuse me if I sound ignorant but I have figured out the other RS charts with relative ease, and this is the first time I have had to use the Reporting Services pie chart. I have a dataset: Columns: ChildId int AssessmentType varchar Score int All I want is to have a pie chart that displays the ...

iPhone Objective-C service handlers

Hello community! I am a as3 developer, I am used to use handlers everytime I launch an event and I am wondering which is the best way / practice to do that in Objective C. Let's say I want to call a diferent services from my backend. In as3 would be something like this to listent to the finish event: service.addEventListener( Event....

PHP WebService Call from other language

If webservices created using PHP,Is that web service can be call from any other language like Intersystems Cache Or GTM..etc.and call from anywhere? ...

Advantages of using WCF to work with Sharepoint Services WSS3.0?

Hi folks, what is your opinion or better off your practical experience using WCF to work with WSS instead of SP web services? I am writing some custom library for our software to store and retrieve files from WSS document libraries using sharepoint web services. I am not entirely happy with the performance of the sp web services - a b...

Android lifecycle problem

Hi, I have an SMS broadcast receiver in my application with a static boolean value to make the receiver active or not. public class SmsListener extends BroadcastReceiver { public static boolean activated = false; @Override public void onReceive(Context context, Intent intent) if (activated){ //...

Silverlight RIA Services auth active-directory

Hi i am new to ria Services and i am trying to change the logon from SQL to active-directory and stil using the login form i am using the Silverlight Business Application template as base i have setup ADmembership provider in the website but how do i get Silverlight to use it?? ...

what is the right way to exit Windoes Service OnStart if configuration is wrong and nothing to do in C#?

This is what I got: protected override void OnStart(string[] args) { if (SomeApp.Initialize()) { SomeApp.StartMonitorAndWork(); base.OnStart(args); } } protected override void OnStop() { SomeApp.TearDown(); base.OnStop(); } Here Initialize reads a config file and if it's wrong there's nothing to do...