Dayforce APIs and Talend
<p>I am trying to use dayforce's APIs within Talend to pull data from a report. </p>

<p>The way it works is that I need to first acquire the Client and then Authenticate and then Call the Report Names with the Code.</p>

<p>I am stuck on acquiring the client. The WSDL URL takes in a parameter and returns the following: </p>

<pre><code>&lt;?xml version="1.0" encoding="ISO-8859-15"?&gt;
&lt;root&gt;
&lt;row&gt;
&lt;check&gt;&amp;lt;ns1:GetClientSiteUriResult xmlns:a=&amp;quot;http://Dayforce/Services/Data&amp;quot; xmlns:i=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:ns1=&amp;quot;http://Dayforce/Services/DayforceService&amp;quot;&amp;gt;&amp;lt;a:Error&amp;gt;&amp;lt;a:Code&amp;gt;0&amp;lt;/a:Code&amp;gt;&amp;lt;a:Message i:nil=&amp;quot;true&amp;quot;/&amp;gt;&amp;lt;a:StackTrace i:nil=&amp;quot;true&amp;quot;/&amp;gt;&amp;lt;/a:Error&amp;gt;&amp;lt;a:ServiceVersion&amp;gt;49.0.16090.6&amp;lt;/a:ServiceVersion&amp;gt;&amp;lt;a:Uri&amp;gt;https://748.dayforcehcm.com/Datasvc/DayforceService.svc&amp;lt;/a:Uri&amp;gt;&amp;lt;/ns1:GetClientSiteUriResult&amp;gt;&lt;/check&gt;
&lt;/row&gt;
&lt;/root&gt;
</code></pre>

<p>How do I extract the URI from this response? The URI is <a href="https://748.dayforcehcm.com/Datasvc/DayforceService.svc" rel="nofollow">https://748.dayforcehcm.com/Datasvc/DayforceService.svc</a></p>

<p>How do I use the URI from there to call the Authenticate API method. The Authenticate only accepts 3 parameters the company name, the user and the password. How would I use the URI?</p>

<pre><code>[statistics] connecting to socket on port 3578
[statistics] connected
Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
    Syntax error, insert ")" to complete MethodInvocation
    Syntax error, insert ";" to complete LocalVariableDeclarationStatement

    at dayforce_apis.dayforce_employee_listing_0_1.Dayforce_Employee_Listing.tSOAP_1Process(Dayforce_Employee_Listing.java:330)
    at dayforce_apis.dayforce_employee_listing_0_1.Dayforce_Employee_Listing.runJobInTOS(Dayforce_Employee_Listing.java:610)
    at dayforce_apis.dayforce_employee_listing_0_1.Dayforce_Employee_Listing.main(Dayforce_Employee_Listing.java:467)
</code></pre>