• Hello and welcome to our new forums. We upgraded our forum sites to a more robust and modern system which we hope you will enjoy. Be sure to check out your profile by clicking the button on the top right and configure your preferences, signature, time zone, avatar, etc. as you wish. If you need help with using this new forum'ware try the help link on the bottom right.

    Click here to review your account now.

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/accdownloads/documents/GEOTrac 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
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,031
Location
Sydney, Australia
Programming Experience
10+
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.
 
Top Bottom