<p>Hello,</p>
<p>I am creating a report that connects to a SOAP web service API to retrieve information from a web application. I can successfully connect to the data source and login the user through a web services data set, but am having trouble figuring out how to pass the login token/info to other web service data sets.</p>
<p> </p>
<p>To provide more details, the web application’s web service is designed to login a user by providing login credentials to the UserLogin method. This method then returns a UserAuthInformationValue object which contains login information, such as a login token. This information must then be included in the SOAP header for any subsequent web service calls. </p>
<p> </p>
<p>Below is an example of the authentication object that needs to be included in the soap header. The bold values are the variables that need to be populate in the subsequent web service calls:</p>
<p><span style="font-size:10pt;"><SOAP-ENV:Header></span></p>
<p><span style="font-size:10pt;"> <m:UserAuthInformation xmlns:m="<a data-ipb='nomediaparse' href='
http://www.jobtraq.com/'>http://www.jobtraq.com/"></a></span></p>
<p><span style="font-size:10pt;"> <m:UserID xsi:type="xsd:int"><strong>&?UserId?&</strong></m:UserID></span></p>
<p><span style="font-size:10pt;"> <m:UserToken xsi:type="xsd:string"><strong>&?UserToken?&</strong></m:UserToken></span></p>
<p><span style="font-size:10pt;"> <m:UserLanguage xsi:type="xsd:string"><strong>&?UserLanguage?&</strong></m:UserLanguage></span></p>
<p><span style="font-size:10pt;"> </m:UserAuthInformation></span></p>
<p><span style="font-size:10pt;"></SOAP-ENV:Header></span></p>
<p> </p>
<p>How should I design a report to retrieve information from one data set (<strong>UserLogin</strong>) and pass the results through to another data set (<strong>Subsequent calls</strong>) to set authentication values in the SOAP header?</p>
<p> </p>
<p>- Josh</p>