webservice consumption

MaximusII

New member
Joined
Sep 22, 2016
Messages
1
Programming Experience
1-3
PLEASE HELP! I am having an issue authenticating. What am I doing wrong?

Doc is here: http://www.assetcontrolcenter.com/a... Web Services (GWS) - Release Version v14.pdf
Webservice is here: https://www.assetcontrolcenter.com/GMWS/GEOTracWebService.asmx


Code is:

Imports System
Imports System.Net
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports GeoTracker.GWS

Public Class frmOdometer

Private Sub btnOdometer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOdometer.Click


Dim GeoTracWebService As New GEOTracGWSSoapClient
Dim response As New GeoTracker.GWS.OdometerResponse
Dim Auth As New GeoTracker.GWS.Authentication


Auth.UserName = "X"
Auth.Password = "Y"
Auth.CustomerID = "Z"

response = GeoTracWebService.GetAssetOdometer(Auth, "9999")


End Sub


End Class
 
Maybe, instead of expecting us to read their documentation first, you could explain EXACTLY what you expect to happen and EXACTLY what does happen. It may be obvious to us what the issue is just from the error message that you are presumably receiving but chose to keep secret from those whom you'd like to help you with the problem. If you'd like us to help you then you need to do all that you can to make it as easy for us to do so as possible, which includes providing ALL the relevant information. Error messages are ALWAYS relevant.
 
Back
Top