1

Webサービスを呼び出そうとすると、「nullreference例外」が発生します。このコードは以前は機能していました。通話から受信したステータスコードはOKです:200。何が起こっている可能性がありますか?

'** Shipping.Carriers is my web service
dim myWs as Shipping.Carriers
dim strCode as string

Using myWS = New Shipping.Carriers
    myWS.Credentials = System.Net.CredentialCache.DefaultCredentials

    '** when I pause here and check the status of the Web service...
    '** I see the Property Evaluation Failed on all of the functions in the web service

    myWS.Timeout = 400000

    '** the next line of code gives me the nullreference exception
    strCode = myWS.fUPS(my parameters go here)
    txtMsg.Text = strCode
End Using
4

0 に答える 0