Hello World!

I hope you are all having a good day/night

I'm having an issue consuming a Webservice from Remedy using VB.Net and I was 
hoping someone could help me out.

I created a web service called HPD_IncidentInterface_WS in Visual Studio and 
this is my code

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles 
Button1.Click

        Dim AuthenticationInfo_Query As New 
HPD_IncidentInterface_WS.AuthenticationInfo
        AuthenticationInfo_Query.userName = "Username"
        AuthenticationInfo_Query.password = "Password"
        Dim GetIncidentInfo As New 
HPD_IncidentInterface_WS.HPD_IncidentInterface_WSService
        GetIncidentInfo.AuthenticationInfoValue = AuthenticationInfo_Query

        Dim strSQL = "'First Name' = " + """Michael"""
        Dim y() As HPD_IncidentInterface_WS.GetListOutputMapGetListValues = 
GetIncidentInfo.HelpDesk_QueryList_Service(strSQL, "1", "1")

        MsgBox(y(0).Incident_Number)

    End Sub

The Y variable remains empty and I get no records back.
But I can tell it to return 100 records, and as expected it takes much longer. 
So I think it is pulling the information and putting it somewhere, but I don't 
know where.

Any help is greatly appreciated.

Regards,

Michael Benz
Holcim Australia Shared Services
Holcim (Australia) Pty Ltd


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to