When you want help with an exception, remember to include the full details of the exception you're trying to fix.
In this case, you're getting a
NullReferenceException
, because
SelectSingleNode
is returning
null
.
That's because you have an invalid XPath expression:
/soap:Envelope/soap:Body/si:TASIntegrationRequestResponse/si:TASIntegrationRequestResult/si.status
That final
.
should be a
:
/soap:Envelope/soap:Body/si:TASIntegrationRequestResponse/si:TASIntegrationRequestResult/si:status