int HttpBusinessManage::http_form_handler(struct soap* soap)
{
fprintf(stderr,"http_form_handler path = %s\n",soap->path);
soap_end_send(soap);
return 200;
}
int HttpBusinessManage::http_get_handler(struct soap* soap)
{
fprintf(stderr,"http_get_handler path = %s\n",soap->path);
soap_end_send(soap);
return 200;
}
int HttpBusinessManage::http_put_handler(struct soap* soap)
{
fprintf(stderr,"http_put_handler path = %s\n",soap->path);
soap_end_send(soap);
return 200;
}
int HttpBusinessManage::http_delete_handler(struct soap* soap)
{
fprintf(stderr,"http_delete_handler path = %s\n",soap->path);
soap_end_send(soap);
return 200;
}
int HttpBusinessManage::http_post_handler(struct soap *soap, const char *endpoint, const char *host, int port,const char *path,const char *action, size_t count)
{
fprintf(stderr,"http_put_handler path = %s\n",soap->path);
soap_end_send(soap);
return 200;
}
ServerSoap.fform = http_form_handler;
ServerSoap.fget = http_get_handler;
ServerSoap.fput = http_put_handler;
ServerSoap.fdel = http_delete_handler;
ServerSoap.fpost = http_post_handler;