Hi,

I never managed to get any values back from this call in VB.Net either,
ended up just using a simple query.

Others on the BMC Developer forums have had similar issues.

 

  _____  

 

Kind Regards,

 

Carl Wilson

 

http://www.missingpiecessoftware.com/

 

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Benz, Michael
Sent: 22 April 2013 04:38
To: [email protected]
Subject: Remedy WebService in VB.Net 2012

 

** 

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

 

_ARSlist: "Where the Answers Are" and have been for 20 years_ 


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

Reply via email to