How should I call a WebService from a Windows Service Application?

865 Views Asked by At

I'm facing a annoying problem for the last couple days. I've made a Win32 application who calls some functions via WebServices. I've used the WSDL importer in order to get the WebService methods. Within the Win32 application I am able use every method to access this WebService, however I need this software to run as a Windows Service.

So I have created a Windows Service Application and added the WebService units. But now when I call these functions I get a ERemotable Exception:

ERemotable Exception

There is any difference in the process of make use of webservices from a Windows Service Application and the process used to Win32 applications?

If anyone can give me a hint, or point me some direction I'll be very glad.

PS: I am using a HTTPRIO component and Delphi XE5 in order to do this.

0

There are 0 best solutions below