gSOAP: How to pass info inside soap header
Posted
by Kangkan
on Stack Overflow
See other posts from Stack Overflow
or by Kangkan
Published on 2010-04-12T16:03:56Z
Indexed on
2010/04/15
8:13 UTC
Read the original article
Hit count: 383
gsoap
|soapheader
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 */
};
© Stack Overflow or respective owner