[Stackoverflow] [Progress OpenEdge ABL] calling a dll using Progress 4gl

  • Thread starter Thread starter Luke Taylor
  • Start date Start date
Status
Not open for further replies.
L

Luke Taylor

Guest
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:

Code:
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...
 
Status
Not open for further replies.
Back
Top