A soap header used for authentication
Properties:
Name
|
Type
|
Required
|
Description
|
SessionId
|
string
|
Yes
|
The session token which you recieved in the
LoginResult after calling the Log on
service
|
EndSession
|
bool
|
No
|
A value indicating whether to discard the token. If this is your last call to the
service, set this value to 'true'
|
C# Code:
//// prepare headers
service.SessionIdHeaderValue = new
SessionIdHeader()
{
SessionId = logonResult.SessionId,
EndSession = false
};
VB Code:
'' prepare headers
service.SessionIdHeaderValue
= New SessionIdHeader()
With { _
.SessionId = logonResult.SessionId _
}
Raw Xml:
<soap:Header>
<SessionIdHeader
xmlns="http://www.inwise.com/webservices/v2">
<SessionId>58fe1f47ab533s2a1bdc59a9783767163</SessionId>
<EndSession>true</EndSession>
</SessionIdHeader>
</soap:Header>