To use the soap services in capitex business loan in visual with an hard typed auto generated webservice client c# you follow theese steps in your visual studio project:

  • Use .Net Framework (not .Net Core)

  • Select "Add service reference"

  • Select "Advanced..."

  • Select "Add Web Reference..."

  • Enter URL to the service WSDL and press "Add reference" (you then have to enter credentials to the service)

  • Build the project. Visual Studio will now generate sourcecode for the client proxy.

  • There is a known bug in Visual Studio. Visual studio generates some error in the automaticly generated source code. That problem need to be fixed manually each time you regrenerate the webclient proxy source code.
    a) Go to the generated source code, Reference.cs
    b) Search for public Value[][] Rows {
    c) On the row above you can see typeof(Value[]), change that to typeof(Value[][]), see below: