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 6064241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:15:31+00:00 2026-05-23T09:15:31+00:00

I am working on a VB.Net application that needs to access a web service

  • 0

I am working on a VB.Net application that needs to access a web service that I am nearly certain has a C# backend. At bare minimum, the backend is providing classes to me that are differentiated only by case, and within a number of those classes, there are properties and methods that are only differentiated by case.

VB.Net is case insensitive, and it sees a number of these items as being ambiguous.

I’ve thought of a few ways of dealing with this, but I would like suggestions before I go down a road that is likely difficult.

Here are some ways I have considered going about it.

  1. Modifying the generated code for the wsdl. This has presented problems in responding as the xml output would no longer conform to the webservice requirements. I think there might be some attributes I could use to override this, but I’m not sure what they are yet. Even so, this web service gets frequent updates and I would hate to have to keep refixing the service every time I refreshed it.

  2. Creating a csharp wrapper project where I expose the underlying classes with different names. Primarily through inheritance. Although the big problem here has been the issue with properties and methods that are only differentiated by case as well.

I’m sure at some point I could get one or the other of these solutions working, but if anyone has any better suggestions that I’m not thinking of, I’d appreciate the help.

Thank you

  • 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-05-23T09:15:32+00:00Added an answer on May 23, 2026 at 9:15 am

    If the web service was developed in-house, you’ll want to review your company’s development practices; in particular, ensuring that all your public .NET APIs are CLS compliant.

    If the web service was not developed in-house, or you can’t make changes to it (customers are already using it, etc.), then I would take the approach of either writing a C# wrapper library, or at least centralizing the calling code into a new (or existing) business-tier C# project. There’s a good chance you’ll want to do this kind of abstraction anyway, instead of calling web methods directly from the application tier.

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

Sidebar

Related Questions

I am working on an ASP.Net web application that must print dynamically created labels
I am working on an ASP.NET web application that is required to bring up
I'm working on a Windows Forms (.NET 3.5) application that has a built-in exception
I am currently working on a VB.NET desktop application that uses .mdb (Access) database
I am working on Iphone Application.One of my colleague has written a web service
I'm working on a .net application that needs interact with Exchange, specifically creating Exchange
I'm working on a desktop application that has generated code for database access and
I am working on a .NET application that displays multiple charts. My users would
I have a small VB.NET application that I'm working on using the full version
I am working on localization for a asp.net application that consists of several projects.

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.