C++.
This is actual response from PowerCenter:
soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
soapenv:Header
ns1:Context soapenv:actor= soapenv:mustUnderstand=0
xmlns:ns1=http://www.informatica.com/wsh;
SessionId1d2b79bbe22efa2011f4cf3a9db/SessionId
/ns1:Context
/soapenv:Header
soapenv:Body
LoginReturn
xmlns=http://www.informatica.com/wsh;1d2b79bbe22efa2011f4cf3a9db/Logi
nReturn
/soapenv:Body
/soapenv:Envelope
Session ID is mentioned in two places. In the header:
SessionId1d2b79bbe22efa2011f4cf3a9db/SessionId and in the body
LoginReturn
xmlns=http://www.informatica.com/wsh;1d2b79bbe22efa2011f4cf3a9db/Logi
nReturn
Could you tell me how to get that Session Id and re-submit in another
header?
E.g.
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
soap:Header
ns0:Context xmlns:ns0=http://www.informatica.com/wsh;
SessionId[string]/SessionId
/ns0:Context
/soap:Header
soap:Body
ns0:GetWorkflowLog xmlns:ns0=http://www.informatica.com/wsh;
DIServiceInfo
DomainName[string]/DomainName
ServiceName[string]/ServiceName
/DIServiceInfo
FolderName[string]/FolderName
WorkflowName[string]/WorkflowName
WorkflowRunId[int]/WorkflowRunId
WorkflowRunInstanceName[string]/WorkflowRunInstanceName
Timeout[int]/Timeout
/ns0:GetWorkflowLog
/soap:Body
/soap:Envelope
Session ID should be here
ns0:Context xmlns:ns0=http://www.informatica.com/wsh;
SessionId[string]/SessionId
/ns0:Context
From: McCullough, Ryan [mailto:rmccullo...@rightnow.com]
Sent: Friday, February 06, 2009 4:59 PM
To: Apache AXIS C User List
Subject: RE: How to get a value from SOAP header using Axis C++?
Are you using Axis2/c? or Axis c++?
From: Golikov, Vassili [mailto:vassili.goli...@credit-suisse.com]
Sent: Friday, February 06, 2009 2:50 PM
To: axis-c-user@ws.apache.org
Subject: How to get a value from SOAP header using Axis C++?
My apps server needs to talk to Informatica WS. It sends a session ID in
the header which should be retrieved and used in all their requests. How
can I get this value from a SOAP header?
Vassilli Golikov
Equity Derivatives IT
Credit Suisse Securities (USA) LLC
One Madison Avenue
10th Floor
New York, NY 10010
212-325-8972 (Tel)
Email: vassili.goli...@credit-suisse.com
==
Please access the attached hyperlink for an important electronic
communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==
==
Please access the attached hyperlink for an important electronic communications
disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==