Webservice two calls: login with session id then pass session id

One Star

Webservice two calls: login with session id then pass session id

I'm working in TIS. I would like to request help on how to pass a parameter value to the SOAP session header a web service call. In Web Service Explorer I can enter the value manually in the session header block. However, since the session header parameter value is dynamic , I need a way to pass the value from another web service call when I ran them in a Job.
This the high level process flow:
1. Make a login web service call. This will return a session ID as part of the response.
2. Pass the session ID to the session header of the 2nd web service call prior to executing the call.
3. Assign values to parameters in the message body of the 2nd operation and then execute the 2nd web service call.
4. Capture the results of the 2nd web service
One Star

Re: Webservice two calls: login with session id then pass session id

Solution is
send tSoap message login
tExtractxml body of login response
send tSoap message with session id and parameters (row1.Body for example)
Like this it work 100%
I have tested
One Star

Re: Webservice two calls: login with session id then pass session id

Hi Dvoelker , Mr Marui LamaKamapa ,
by trying to connect a sharepoint with tSoap I am facing an issue (error message "SAAJ0009: Message send failed..." in attached file).
It seems you were facing same issue  how did you finally solve it ?
You were indicating to perform a tSoap login message could you please detailed ? I have attached a snapshot of the tsoap I am using.
Thanks in advance