title: SoapHeaderException was unhandled when calling web service
body: <p>An exception occurs on line </p>
  
  <pre><code>ModifyProfileResp resp = BFGlobal.modifyProfile(req);
  </code></pre>
  
  <blockquote>
    <p>INTERNAL_ERROR, SoapHeaderException was unhandled</p>
  </blockquote>
  
  <pre><code> Error: System.Exception._COMPlusExceptionCode -532462766,
  </code></pre>
  
  <p>This code basically updates the users information on a web service through a call I made. </p>
  
  <pre><code>    public ModifyProfileResp ModifyProfile(string n_homeTelephone)
      {
          try
          {
              // Get Login Resp
              LoginResp loginResp = LoginToBetfair("username", "password");
  
              // Make a BFGS instance
              BFGlobal = new BFGlobalService();
  
              // Set up the request in [req]
              ModifyProfileReq req = new ModifyProfileReq();
              req.header = new APIRequestHeader();
              req.header.sessionToken = loginResp.header.sessionToken;
              req.homeTelephone = n_homeTelephone;
  
  
              // Set up the response in [resp]
              // Here is where Im getting thrown an exception..
              ModifyProfileResp resp = BFGlobal.modifyProfile(req); // &lt;-- Here Im getting thrown an exception
  
              // return [resp] - which is the response from the call
              // Just trying to print out errror codes
              string mec = resp.minorErrorCode.ToString();
              string ec = resp.errorCode.ToString();
  
              return resp;
          }
          catch (Exception)
          {
  
              throw;
          }
  </code></pre>
  
  <p>Pretty straightforward, make the request header, call the response, pass in the req and I should get some data back, but I keep getting thrown a exception on this line. </p>
  
  <p>Any ideas on how to go about this?</p>