Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9070441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:41:24+00:00 2026-06-16T17:41:24+00:00

In an VS2005 VB.Net application I am consuming a free webservice to transform old

  • 0

In an VS2005 VB.Net application I am consuming a free webservice to transform old belgian account numbers to Iban:
http://www.ebcs.be/iban/IBANBIC.asmx

The strange thing is that this service sometimes returns empty strings and on other times the proper string is returned.

I’ve checked the traffic with fiddler.
The requests are send correctly. Only one time the response returns an empty string, another time with the same request it returns the string I need.

This is the code that calls the service

Public Function convertToIban(ByVal rekeningNummer As String) As String()
            Dim IbanService As IbanConversie.IBANBIC = New IbanConversie.IBANBIC()
            Dim rekeningZonder As String = rekeningNummer.Replace("-", "")
            Dim IbanBic(1) As String
            Try
                Dim Iban As String = IbanService.calculateIBAN1("BE", rekeningZonder)
                IbanBic(0) = Iban.Remove(0, 5)
                Dim Bic As String = IbanService.BBANtoBIC(rekeningZonder)
                IbanBic(1) = Bic
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Kan geen verbinding maken met de webservice. Controleer of uw internetverbinding werkt.")

            End Try

            Return IbanBic
        End Function


 Public Function convertFromIban(ByVal IBANNummer As String) As String()
            Dim IbanService As IbanConversie.IBANBIC = New IbanConversie.IBANBIC()
            Dim Rekening(1) As String
            Try
                Rekening(0) = IbanService.getBelgianBBAN(IBANNummer)
                Rekening(1) = IbanService.BBANtoBIC(Rekening(0))
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Kan geen verbinding maken met de webservice. Controleer of uw internetverbinding werkt.")
            End Try

            Return Rekening
        End Function

There are two scenarios:

If I run convertFromIban first the requested strings are returned. If I run convertToIban after that the requested string are returned as well.

If I run convertToIban first the Iban String is returned the Bic string returns an empty string. If I run convertFromIban next, only empty string are returned.

Is this common with free webservices, or is there some other explanation?

I don’t want to blame this on december 21 🙂

Any help is really appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T17:41:25+00:00Added an answer on June 16, 2026 at 5:41 pm

    One quick point.
    You don’t appear to be cleaning up you service ‘IbanService ‘. If this code is called many times it might give you some issues.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I built an application in c# vs2005 .net . Everything works fine when i
In a VB.NET application (VS2005) I am calling a stored procedure through a SQLDataAdapter.
I am having a C# (.NET 3.5, VS2005 Professional) application that uses unmanaged 32bit
I have an puzzling problem. I have a new ASP.NET web application in VS2005
I upgraded a .NET 2.0 Winform Application build with VS2005 to .NET 3.5 SP1.
I have VS2005 and I am currently trying to debug an ASP.net web application.
We've got an ASP.Net 2.0 (VS2005) application that works fine locally, but sometimes loses
I am using VS2005 ASP.NET 2.0. I have a web application which uses Active
I'm developing an application in VS2008 VC++.net I want to move the application to
I have a WPF application (.NET 3.0, VS2008) that displays data in a tab

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.