>I have the following code:
>
>
> ' Get the SoapContext for the response message
> Dim loContext As SoapContext
> loContext = HttpSoapContext.ResponseContext
>
>
>This doesn't generate any error. However, below in the code, as soon as I make reference to loContext, I get an error that the object reference is not set. How can I detect if the 2nd line here is a success? Or, can someone point me to where the problem is?
if loContext is nothing
throw new Exception
endif