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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:25:39+00:00 2026-06-05T00:25:39+00:00

I am new to web services in VB.net. I have imported the WSDL into

  • 0

I am new to web services in VB.net. I have imported the WSDL into the Visual Studio 2010, but using the .net 2.0 “Web References” framework instead of the new “Service References”.

I simply need to learn how to pass my API key and one other piece of information through the API to the server. This is all that I have. What code to I need to add to

a) Send the API Key
b) Send the Database Mode String

Public Sub Call_Web_Service_Method()
    Dim CallWebService As New PersonService.Header()
    Dim sPostAPIKEY As String = CallWebService.APIKey()
    Dim sPostDatabasemode As String = CallWebService.DatabaseMode

End Sub

I’ve been looking for two days now on how to send an API key to a server in VB.net and I have not found anything. Please help a newbie.

Thanks so much!

  • 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-05T00:25:40+00:00Added an answer on June 5, 2026 at 12:25 am

    Is it your own web service or a web service that you don’t have control over? What method on the web service do you want to call? The web service probably has a method where you can provide the api key and the database mode as parameters?

    Check out these simple guides on how to consume a web service i VB.NET
    http://www.codeproject.com/Articles/2761/Consuming-Web-Services-from-a-Win-Forms-Applicatio
    http://www.fryan0911.com/2009/05/vbnet-how-to-consume-web-services.html

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

Sidebar

Related Questions

i am new to web services. i have created a web service in .net.
I'm trying to consume some .NET web services using JAX-WS. I have generated the
I am new to using web services. I am assigned a task in which
Im pretty new to Java Web Services, but I cant find a good explanation
I am completely new to web services, but not new to Delphi. I am
I have some internal-facing ASP.NET web services that have had numerous API additions over
I am developing a sample application to call .Net web services. I have added
I have two experimental web services. One is an asmx contained within a .net
Am pretty new to web services and have been trying to implement Soap Faults.
I was trying to write a sample chat application using Web Services in .net

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.