Try
' Code to access the Web service ... Catch soapEx As System.Web.Services.Protocols.SoapException Dim detail As String, reqId As String detail = parseSoapException(soapEx.Detail, reqId) MsgBox(detail, MsgBoxStyle.Critical, soapEx.Message) End Try |