Results 1 to 2 of 2

Thread: webservice consumption

  1. #1
    MaximusII is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.5
    Join Date
    Sep 2016
    Posts
    1
    Reputation
    0

    webservice consumption

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

    Doc is here: http://www.assetcontrolcenter.com/ac...sion%20v14.pdf
    Webservice is here: https://www.assetcontrolcenter.com/G...ebService.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

  2. #2
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    13,814
    Reputation
    1707
    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.

Bookmarks

Posting Permissions

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