Hi all, I have made my own virtual machine runtime. I would like to enable the 
user's functions within the VM to be SOAP enabled. 

Instead of using soap2ccp to generate proxy stubs, can I handle all SOAP 
requests (or unproxied ones) through a single proxy function that then 
delegates to the my VM and the user's function?
A few things to note about the nature of my VM (standard stuff):
  * The user's source is compiled beforehand into byte code and a WHDL file 
will be generated based on functions declared with the SOAP attribute. This 
means the whdl does not change at runtime.
  * A VM function has one or more arguments and returns a single object.
  * The exported SOAP functions typeinfo is known at compilation and runtime.
  * VM types are simple types or C like structures, easily SOAP compliant.

I could generate wsdl, C and header files at VM source compile time and then 
use gcc to compile those into a .so file and have my VM dynamically load it -- 
but this seems kind of redundant and the user must then also have gcc installed 
on thier system. It seems like I should be able to do this in generic code 
within my runtime engine and proxy between GSOAP and my VM runtime since all 
the typeinfo is known.

I have used GSOAP for another project and it worked great.

Thanks, Colin

Reply via email to