service

Cloud computing usage pattern. Can I have some port open within an app running in a cloud?

Hi! I'm developing a small web service which will partially rely on SMTP and FTP servers. I'm interested is it possible for me to create an app that will run within a cloud and still have some port open? I know I can forward request to a cloud after a request to port is made but is it possible to be handled by cloud from the beginning? ...

Install Windows Service with Recovery action to Restart

I'm installing a Windows Service using the ServiceProcessInstaller and ServiceInstaller classes. I've used the ServiceProcessInstaller to set the start type, name, etc. But how do I set the recovery action to Restart? I know I can do it manually after the service is installed by going to the Services management console and changing the...

Transactional services => BeanNotOfRequiredTypeException, should be Advice, but is TransactionInterceptor

Hi guys, After following the great advice given in a thread about service beans I have made a Service that is listed under. I've tried putting @Transactional at the interface level, interface method level, class level and class method level. However I do it, I get org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean n...

Jboss Service / Managed Bean Question

I have a managed bean / service running inside of JBOSS. I then have a quartz job that will occasionally wake up and call a method of the managed bean. This method is sometimes long and drawn out, and since I don't want the quartz job to time out, I have implemented a thread within the managed bean to perform the processing. When the ...

Web Service and multiple requests from the same client

If I have a client app sending requests to my web service, one after another, will the web service be able to handle each request made and not override previous request because of a new request made? I want all requests to be handled and not replaced for another. Will I be able to do this with the multiple requests all coming from the sa...

WCF Nhibernate Service with Integrated Security=True error

Hello there, I am working on a WCF Service(implemented with Fluent NH), and it is hosted as a Windows Service. I am using a console application to test calling service methods. Now, when I set connection string in hibernate.cfg.xml as <property name="connection.connection_string">Server=dev;Initial Catalog=DBTest;Integrated Security...

How to document Web service for client

I am developing a web service. The business system of client will integrate with our system using these web service. I want to provide the documentation of our web service. What is the best practice for documenting the web service? ...

Getting exception while calling WCF service from WCF service

Hi, We are 2 WCF service A) hosted on IIS and B) hosted as Windows service. We are using WSHttp binding When i am calling B from A i am receiving the below error To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding any idea??? ...

WCF Service: The SecurityContextSecurityToken with context-id= (key generation-id=) is not registered.

enter code hereHi All, I have a simple windows service application that connects to a WCF service. The windows service is deployed on our Development Application Server, and the WCF service onto our DEV Web Server. The service is setup to run under the appropriate service account (we have a couple of other services that also communicate...

Multiple Services Hosted under one Windows Service

Hello there, I have two Services called TemplateService, TemplateReportService (both defined in one WCF Service Library) to be exposed to the client application. How can I host these two services under one Windows Service? Please guide. Thank you! ...

App.config in WCF Library and its Windows Service Host

Hello there, I have two Services called TemplateService, TemplateReportService (both defined in one WCF Service Library) to be exposed to the client application. And, I am trying to host these services under Windows Service. Can anyone please guide me if App.config in Windows Service will be same as the one in WCF Library? Here is m...

WCF - The remote server returned an unexpected response: (400) Bad Request.

Hello there, I get no error when calling my WCF service methods except in one. This particular method called SaveTemplate() takes an input of byte[]. I am testing this method with a file of size byte[806803], but ending in an error: WCF - The remote server returned an unexpected response: (400) Bad Request. I have gone through sev...

How do you run Jboss 4.2.0A as a service in Windows XP Pro

I saw something once for wrappers used to do this but it asked for a licensing fee. Is there an open source way to do this? ...

How do you deploy a .war running JBoss as a Service on Windows XP?

Jboss 4.2.0A Is there a /server directory that I need to change or something? It's usually because I run ant build and it does all that fun stuff for me. seems like using the service method i have to move it manually... ? ...

WCF - EndpointNotFoundException, There was no endpoint listening

Hello there, My WCF Service is hosted under Windows Service and in case it is not running when client makes a call to its methods, client gets the EndpointNotFoundException with this message: There was no endpoint listening... Is there a way I can check if the WCF service is up and running before making calls to the service methods? ...

Calling WCF Service - Service Instantiation

Hello there, I have added reference to WCF Service in my client asp.net website. Right now, I am just instantiating WCF Service at every service method call as: TemplateServiceClient objTemplateService = new TemplateServiceClient(); objTemplateService.MethodCall(); I am not sure about the performance down due to above. If it is goi...

Android - Are services shared among processes?

I have an android library which is distributed as a jar file for inclusion in 3rd party applications. Within the jar file is an Android Service. The service is exposed through a facade class in the jar file. Hence 3rd parties do not directly bind to the service, they just use the facade class. I have 2 questions about this architectur...

WCF Service Client accessing internal members

Hello there, I have a WCF Service Library (implemented using NH) with one of the class say Test, defined as [DataContract] public class Test with two constructors defined as internal Test() { } public Test(int param1, IList<Int32> param2, int param3) { this.Param1 = param1; this.Param2 = pa...

PDF conversion service

I need to develop a service able to convert MS Office and Open Office documents to PDF. And the PDF`s also need to be commentable when opened in ADOBE Reader. I have used a piece of software from www.neevia.com. And it does the conversion, but is not able to make the PDF´s commentable and is therefore useless in my scenario. Ideally I ...

Passing url as parameter to web service method

Hi I'm writing a web service which expects one of the parameters (called "hlink") to be a url. Before calling the web service I URLEncode the parameter in question ("hlink"). I then call the web service with an hlink parameter value of 'a.apsx?a=1&b=2. When the request arrives at the web service method I can examine hlink - it has rece...