Results 1 to 2 of 2

Thread: webservice consumption

  1. #1
    .NET Framework
    .NET 4.5
    Join Date
    Sep 2016

    webservice consumption

    PLEASE HELP! I am having an issue authenticating. What am I doing wrong?

    Doc is here:
    Webservice is here:

    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

  2. #2
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Sydney, Australia
    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts