Ben Burnett
Ben Burnett

Reputation: 11

WWSAPI and setting "soapenv:Header" values

I'm trying to connect to a web service from a C++ app using WWS. I got the base connection working just fine. My XML message has two parts though, a header (soapenv:Header) and a body (soapenv:Body). the generated functions only fill in the body. How do I set the Header information? I assumed it has something to do with WsSetHeader() or WsAddCustomHeader() but can't seam to find the right values to use in the parameters. Can someone point me in the right direction here?

I've been googling and trying to research this now for several days and am finding many sources for basic help with WWSAPI, but nothing seams to go deeper into how to use it for more advanced applications. any good links or resources to find more advanced help on WWSAPI?

Thanks,

--Ben Burnett

www.burnett.ws

Upvotes: 1

Views: 1056

Answers (1)

dlanod
dlanod

Reputation: 8980

This example contains information on adding a custom header, but reading your description it is ambiguous whether you want the standard message headers or custom headers. If you are actually talking about the standard message headers, then these should be populated by WsCreateMessage and WsInitializeMessage.

Upvotes: 0

Related Questions