- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Hi - I'm trying to access the incident table via web services but have not been successful. Here is the code:
Dim rProxy As New ConsoleApplication1.wp1.ServiceNow
Dim rGetKeys As New ConsoleApplication1.wp1.getKeys
Dim rGetKeysResponse As ConsoleApplication1.wp1.getKeysResponse
rGetKeys.number = "INC11470"
rGetKeysResponse = rProxy.getKeys(rGetKeys)
Console.WriteLine("testing.")
Console.WriteLine(rGetKeysResponse.sys_id)
Console.ReadLine()
I keep getting NullReferenceException was unhandled at the rGetKeysResponse.sys_id line. Has anyone else been able to get this to work? I have been able to do the same thing in perl and it was very easy, but perhaps I don't understand the data coming back and I don't know how to access it using VB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.