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 8977305

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:20:25+00:00 2026-06-15T19:20:25+00:00

I am creating a webpage that needs to use a webservice wsdl at a

  • 0

I am creating a webpage that needs to use a webservice wsdl at a remote url (https://sitename/ws/general.asmx)

I added the webservice to the project folder as generalWS (right click in VS2010, add Web service) and the editor recognizes the webservice methods.

I then used wsdl.exe to create the proxy file general.vb, which has partial classes and an interface, and copied it into my project folder.

Im now trying to reference this webservice by creating a new object for the webservice, but it does not compile:
BC30002: Type ‘GeneralWS.general’ is not defined.

Can someone guide me in the right direction?
Do I need to reference the interface file in the aspx.vb file?
Do I need to do something special with the web.config file?

Thanks!

Deploying on IIS6.0 with .NET Framework 2.0
Using MS Visual Studio 2010

myPage.aspx.vb

Imports System.Web.Services
Imports System.Xml
Imports System.IO

Partial Class _Default
    Inherits System.Web.UI.Page

    'declare the web services
    Public wsg As New generalWS.general() ''ERROR COMPILE LINE''

    '
    '
    '
    '

generalWS.vb

Public Interface generalSoap
    Function1
    Function2
    '
    '
Public Partial class method1
Public Partial class method2
Public Partial class method3
  • 0 0 Answers
  • 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-15T19:20:26+00:00Added an answer on June 15, 2026 at 7:20 pm

    Instead of using “Add Web Reference” within Visual Studio, I used “Add Service Reference”.

    On the server side, I upgraded to .NET 3.5

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

Sidebar

Related Questions

Good Day, I am creating a webpage that users login called index.html which POSTs
I have a C# ASP webpage that is creating a KML document, and it's
I am creating a webpage which needs to pull in a Javascript library which
I'm creating my first android app that will make use of SQlite. I have
I am creating a webpage..as usual. But I have a problem. Lets say that
I'm creating quick web app that needs to send a php-created message from within
I am creating an online store website that needs the functionality to select a
I am creating an Intranet webpage for my office. The application needs to download
I am creating a webpage that uses JavaScript to shuffle a series of audio
I'm creating a webpage which has several fields. I do not want the php

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.