SOAP tutorial
Publishing C function as SOAP service Publishing C/C++ functions as Web Services

## Example

- The Virtuoso distribution includes the sample bif, bif_sample.c. It is thus possible to create following function and make server including it.
- The next step is creating a stored procedure that calls this function and you are back to publishing a Virtuoso stored procedure.
- The Service for testing will just return string "Hello world".
- At least 2 web threads are needed, so this should be noted before starting. An Error message is shown if only one is available.

       static caddr_t
       bif_hello_world (caddr_t * qst, caddr_t * err_ret, state_slot_t ** args)
         {
           return box_dv_short_string ("Hello world.");
         }

IMPORTANT: You need to start the sample server containing bif_hello_world , in order run this example.