Apache and WSMAN services are run in a separate process state. Apache is working in 80 ports, while WSMAN service work in other ports, such as port 8889.
Module to write the most important is to write the the wsman a hook function wsman_handler (request_rec * r), its incoming parameter is a pointer point to the Apache message, the beginning of the function is to determine the type of request, if not is wsman request, the module returns DECLINED The code shown below,
if( strcmp(r->handler, "wsman-handler")) if (strcmp (r-> handler, "wsman-handler")) return DECLINED; return DECLINED