Archive: Call a WebService


Call a WebService (Licence Management)
I had thunk calling a WebService method in order to obtain any licence. Is calling a webservice method possible?

However, how does the installation program obtain the licence file?

Actually we need any solution for .NET Applications and .NET Compact Framework for SmartPhones or PDAs under Windows CE or Windows Modile. Can you help me about how do it?

Thanks for all.


How do you normally go about calling a web service?

Stu


Via .NET code. I had thunk implement a .NET DLL that calls a WebService and call it from NSIS.

What do you think about?

Thanks for all.


In order to call .NET DLL's from NSIS, you'll need a stand-alone EXE or a non-.NET dll as a "wrapper" for your function. (See this thread)

Plus, if the actual function relies on .NET, then you'd also need to make sure .NET framework is installed on the target PC.


Originally posted by Comperio
Plus, if the actual function relies on .NET, then you'd also need to make sure .NET framework is installed on the target PC.
I think every EXE or DLL created with a .NET language, such as C#, requires the .NET Framework. That's because such EXE/DLL files don't contain machine code, but some kind of bytecode. That code can't run on the CPU directly, it requires an interpreter. So without the .NET Framework it can't execute. That's similar to Java applications that require the JVM to run.

So if you want to call a .NET file, EXE or DLL, you must always make sure that the .NET Framework is installed on the system...