Calling a method / interface
<p>From Visual Studio I imported a WSDL via the Service References tool. From the methodsin the WSDL I need to call a method GetSessionID. The method is part of an Interface IdoSession. When I try to reference it in C# the compiler keeps telling me I am doing it wrong. What would be the correct syntax to call the GetSessionID method?</p>

<p><img src="http://i.stack.imgur.com/l1rC5.png" alt="View of the Object Browser"></p>

<p>If I use this code</p>

<pre><code>    SSISSoapTester.IdoSession.IdoSession getID;
    idResponse = getID.GetSessionID(idRequest);
</code></pre>

<p>The compiler tells me "Use of unassigned local varible 'getID'</p>

<p>If I use this code</p>

<pre><code>    SSISSoapTester.IdoSession.IdoSession getID;
    getID = new SSISSoapTester.IdoSession.IdoSession();
    idResponse = getID.GetSessionID(idRequest);
</code></pre>

<p>The compiler tells me "Cannot create an instance of the abstract calls or interface"</p>

<p>Granted this error makes sense to me because an interface is not a class. </p>
