title: What would be this SOAP request in php (adding an object)
body: <p>I admit to being a bit confused. I need to convert the below SOAP (.net I presume) into a php call (It is to integrate with Checkmarx - <a href="https://checkmarx.atlassian.net/wiki/display/KC/Initiating+a+Session" rel="nofollow">https://checkmarx.atlassian.net/wiki/display/KC/Initiating+a+Session</a>):</p>
  
  <pre><code>public void LogAdminIn()
  {
      CxSDKWebServiceSoapClient cxSDKProxy = new CxSDKWebServiceSoapClient();
      CxWSResponseLoginData loginResult = cxSDKProxy.Login(new Credentials() { User = "admin@cx", Pass = "admin" }, 1033);
  sessionID = loginResult.SessionId;
  }
  </code></pre>
  
  <p>This was my attempt:</p>
  
  <pre><code>$client = new SoapClient($ServiceURL); 
  $param = array(
      'User' =&gt; $login,
      'Pass' =&gt; $password,
      'lcid' =&gt; "1033"
  ); 
  $result = $client-&gt;Login(new SoapParam ($param, "Credentials"));
  var_dump($result);
  </code></pre>
  
  <p>But I have no confidence it is actually right (it doesn't work, so I suppose it isn't).</p>
  
  <p>I am presuming the structure, but confused as to what it should be.</p>