Game Development Community

Web Services in TGE1.5

by Scott Peal · in Torque Game Engine · 11/22/2006 (3:24 pm) · 2 replies

I was looking at some old resources on GG and noticed some folks tried to incorporate GSOAP into the build. Does anyone know if this made it into TGE1.5 or if there is any method in there today which will allow for SOAP over HTTP calls to Web Services?

#1
11/24/2006 (3:02 am)
I have been able to do so. Works fine, but I would implement it in a separate thread. If I recall from the tests, it blocks execution, but I cant remember for sure. Should be easy to test though by placing a wait loop on the server.

Just remember to generate non-STL code (and possibly also C - not C++).
#2
11/24/2006 (12:35 pm)
@Thomas: Are you interested in posting a resource on how to do this? I am looking for a way for TorqueScript users to just pass in some parameters to the core engine code and get the results back. This could be used for things like an inventory web service so the client does not have to hit the Torque server to handle this. I agree, multi-threaded would be the only way to go. Unfortunately, I am not a C/C++ programmer.