Newbie question: Does anyone have any .NET samples vb/c# that show how to open a session using the class library? I've been using some code I found in the "Infor Mongoose Integrating IDOs with External Applications" v2021 - page 167 and when I run the code I keep getting a response "invalid credentials". I am using the same username that I log into the cloud version of CSI with. The concierge person I talked to today didnt know the answer so I am hoping someone will be able guide me to a solution. Seems like this would be easier than it is. Really appreciate any help.
Dim os As New Mongoose.IDO.IDOProtocol
Dim servername As String = "myserver"
Dim requestServiceURL As String = servername & "/IDORequestService/RequestService.aspx"
Dim username As String = "xxxxxxxx"
Dim password As String = "xxxxxxx"
Dim configname As String = "xxxxxxxxx"
Dim logonSucceeded As Boolean = False
Dim client As Client = New Client(requestServiceURL, IDOProtocol.Http)
Dim response As OpenSessionResponseData = Nothing
Using client
response = client.OpenSession(username, password, configname)
logonSucceeded = response.LogonSucceeded
End Using
Infor SyteLine 10.0.0.545 Copyright © 2020 Infor. All rights reserved. www.infor.com
Connected via data configuration xxxxxxx Application database version 10.0.0.545 Form definitions database version 10.0.0.545
Mongoose Web Client 2021.4.0.4 Copyright © 2020 Infor. All rights reserved. www.infor.com