service

Understanding Async Methods in Web Service.

Hello. I consume Java Service in my .NET appliaction. I have one question: When service serialize in .NET he also create Async methods. For example for GetPersons() method service create GetPersonsAsync() which is return void. In which cases I can use this Async methods and what the destination of these methods. ...

Socket Exception Handling on the Android Platform

Greetings all, I am developing an app that communicates TCP/IP with a hardware controller(server). I have no problems connecting to the server through my ConnectionService(), sending/receiving messages (correct IP and Port) when I call for a new Socket(). However, when I enter a wrong IP or Port the app should present the user with a di...

Running msiexec from a service (Local System account)

We are working on an update system for our software. The updater should in the background as a service, and when an update is available, downloads and installs it. We need the service to install the update since the msi requires elevation to run, but some of our clients will be restricted users. The MSI is a WIX MSI and does a Major U...

.NET Windows Service, threads and garbage collection (possible memory leaks)

I am developing a .NET Windows service that is creating a couple of threads and then uses these threads to send print jobs to printers (there is a thread for each printer). I have some issues which sometimes can be fixed by restarting the service. Some issues also arise when the service has been running for a while. This makes me suspect...

wcf metadata service page url

I have a service with the metadata exposed. Trouble is when I browse to the wsdl the service page it has the machine name as below: MasterLibrary Service You have created a service. To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command li...

Multithreading consulting service

Hello. I am creating a service, that needs to perform the following tasks: consult bank services and persist data into DB. The dificult is: Its needed to execute each process in parallel. I mean the better choice is implementing a multithreading service, running each instance per thread. But how its done? Thanks ...

Consuming SAP Web Service from ASP.Net

Hi, Next week i am supposed to develop an asp.net application which will connect to SAP, retrieve some data, change them and send back to SAP. We decided to use web services to achieve this and now i just want to know what diffuculties may i face with? I have URL of WSDL of the Web Service, will it be enough for me to adding web refer...

Are open source projects considered community service?

I'm currently a junior in high school and I've been slacking off on my community service to develop websites and do some personal projects in C#. Currently, I'm developing an web-based IM-Chat through node.js (the server-side Javascript). If I were to post this or other projects on Github or on Google Code, could this be considered commu...

More efficient way of updating UI from Service than intents?

I currently have a Service in Android that is a sample VOIP client so it listens out for SIP messages and if it recieves one it starts up an Activity screen with UI components. Then the following SIP messages determine what the Activity is to display on the screen. For example if its an incoming call it will display Answer or Reject or ...

How to start a process from within a windows service

I want to pop a browser with a given url from within a windows service. Like so: System.Diagnostics.Process.Start("http://www.venganza.org/"); Works fine when running in a console but not from within the service. No error messages, no exceptions, the Process.Start() command just seem to do nothing. It smells of some security issue, ma...

How to fix an endpoint/configuration error using WCF in VB.NET

I'm working with a small web page that is meant to assist the users of my application. This web page takes a file and sends it to a central server, which then does something with the data and returns a result. I created this application some time ago and am coming back to it recently. I am getting some kind of configuration error right n...

.NET SAP Connection Authentication via WEB Service

Hi, I am trying to connect to a web service served by SAP and i have authentication problem. I simply added the service by right clicking project, selecting add service reference, giving WSDL url for the service and clicking OK.(After clicking ok asked for credentials and i provided them) Then when i tried to call a method from the se...

Design help for service and repository layers

I've been running into some problems with my design. Here is what I have now... Controller ... <AcceptVerbs(HttpVerbs.Post)> _ Public Function Edit(ByVal id As Integer, ByVal dryShots As Integer, ByVal clock As Integer) As ActionResult Dim job As Shift_Summary_Job = _shiftSummaryJobService.GetShiftSummaryJob(id) _shiftSummaryJ...

ASP.NET MVC using as a RESTFUL Service and Consuming it easier way

Hi, I wanted to know, if say I had a MVC Application with some functionality and I want to provide this as a service to some of my clients. Do they need to go through coding and querying the XHTML data?(as it is represented in XHTML). I mean how do they generate proxy classes and use my methods? One of the ways is creating URI object bu...

Connecting to a self hosted WCF service from a Flex application - policy issues

Hello, I am trying to accomplish the following: I wrote a Flex application that is trying to connect to a WCF service hosted on the clients computer. I also wrote a windows forms application for the client to run. This application exposes a self-hosted WCF service that the Flex application is supposed to connect to. This works fine i...

WCF Service Security Exception caused when trying to access data via LINQ to SQL

Hello, I'm currently in the beginning of learning WCF, as some of the concepts and the functionality they provide look interesting and also useful in a project I'm undertaking. So far I've been following some pretty simple guides to get the hang of it but after creating my first host service I've come a bit unstuck, after trying to ret...

C# Book on Windows Services and Multi-threading

Can you recommend a good book -- or other learning resource -- for using C# to build Windows Services that are multi-threaded? Specifically, I am using Visual Studio 2008 with .Net Framework 3.5. The books that I am finding deal with web services. Further, I am finding next to nothing on multi-threading. Thanks in advance, Wolfgang ...

C# Windows Service XML

Scenario I have a windows service written in C# that performs some processing based on parsing an XML file and use that data to carry out various tasks. The service also does various bits of logging - which uses settings from an APP.Config file. The Problem When the service is compiled, installed and run, the XML file seems to disappe...

FACING ERROR WHILE CALLING AXIS2 WEB SERVICE ...

Hello , I am new to axis ,I have created a web servcie with couple of methods using axis2 and deployed it on tomcat.And am calling that web service from my android program with the help of ksoap.But wen i call a method which doesn't take any parameter am gettin fine reply from web service which i can able to see on my screen,But wen i c...

Android Service onBind -> onStart

Hello, I have a comprehension question about Android Services. I have a Service that performs background http operations and a Activity that should display the current state of these http operations. So I implementet the Binder interface and so on. I can call the bindService method and onServiceConnected of my ServiceConnnection is ge...