gSOAP: How to pass info inside soap header
- by Kangkan
I wish to send some information like authentication token inside SOAP header. I am using gSOAP/c/Linux. Please help me how to pass?
My SOAP_ENV__Header looks like
/* SOAP Header: */
struct SOAP_ENV__Header
{
struct ns3__Header *ns3__MyHeader; /* mustUnderstand */
};
and ns3__Header looks like
/* ns3:Header */
struct ns3__Header
{
char *Value; /* optional element of type xsd:string */
};