[Stackoverflow]

Discussão em 'StackOverflow' iniciado por fdantas, Setembro 12, 2024.

  1. fdantas

    fdantas Administrator Moderador

    I am needing to use a dll to obtain data from a webservice. I was given sample code from our VB.net group on how they make the call. I need direction in how to do the exact same thing within Progress.

    Here is the VB sample:

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

    Dim client as new TaxWiseProxy(serviceURI:"https://webservice.net/Basic.svc", username:"myusername", password:"aPassword")
    Dim getTitleResponse as String = String.Empty

    Try

    getTitleResponse = client.GetTitle("12-34567")

    Catch ex as Exception

    'Exception Handling

    End Try

    End Sub


    I have reviewed many posts all with different approaches but not enough detail for me to really follow. We have also used the assembly reference tool and saved the reference within our working directory.

    Continue reading...

Compartilhe esta Página