Gsoap标头包括subscriptionId

时间:2015-01-28 10:53:51

标签: gsoap

我需要在soap header中插入从“CreatePullPointSubscription”调用获得的“subscriptionId”。
在我的标题中没有关于此的参考。

这是我的标题结构:

struct SOAP_ENV__Header
{
public:
    char *wsa5__MessageID;  /* optional element of type wsa5:MessageID */
    struct wsa5__RelatesToType *wsa5__RelatesTo;    /* optional element of type wsa5:RelatesTo */
    struct wsa5__EndpointReferenceType *wsa5__From; /* optional element of type wsa5:From */
    struct wsa5__EndpointReferenceType *wsa5__ReplyTo;  /* mustUnderstand */
    struct wsa5__EndpointReferenceType *wsa5__FaultTo;  /* mustUnderstand */
    char *wsa5__To; /* mustUnderstand */
    char *wsa5__Action; /* mustUnderstand */
    struct chan__ChannelInstanceType *chan__ChannelInstance;    /* optional element of type chan:ChannelInstanceType */
    struct _wsse__Security *wsse__Security; /* mustUnderstand */    
public:
    int soap_type() const { return 42; } /* = unique type id SOAP_TYPE_SOAP_ENV__Header */
};

如何包含subscriptionId字段?

0 个答案:

没有答案