MariusTurnkey Posted October 25, 2012 Posted October 25, 2012 Hi, I am a newbie with uniGUI, and before I start my self-tuition, I would like to find out if it is possible to call and use SOAP web service methods from within a uniGIU application. My intention would be to use uniGUI only for the Web Application side and not Desktop applications. Regards Marius Quote
MariusTurnkey Posted October 26, 2012 Author Posted October 26, 2012 Hi, I started testing uniGUI. So far I am very impressed by it. I'm managing to call a Web Service Method, and getting the data back, but I do not know if this is the correct way or if it will stand the test of a "multi-user environment". What I have done is to import the wsdl file. Then I use (uses) that file in my main unit. I have dropped a HTTPRIO component onto the MainModule (WSDLLocation and Service is set). Then by hitting a UniButton, I invoke the web method by doing this: try CoInitialize(nil); DAMISWS := (UniMainModule.SoapPipe AS IDAMISWS); Res := DAMISWS.getUserList('All'); UniMemo1.Lines.Add(Res); finally CoUninitialize; end; And this gives me the results I expected. Any advise or comments welcome. Regards Marius Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.