gsoap and freeRTOS

Hi,    I am a newbie to FreeRTOS but I have the web server demo working.    However I now have to develop some web services on my device, for this I am using GSOAP. I have looked at how cgi functionality is added in the webserver demo but I am not sure if I can port my GSOAP services in this way.    So can anybody help me in this, does anybody know how to integrate GSOAP with UIP / FreeRTOS or have any links to resources that may help? Thanks, Tom