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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:29:10+00:00 2026-05-15T05:29:10+00:00

It should be possible (and it looks like it is), but assume I have

  • 0

It should be possible (and it looks like it is), but assume I have the following functions in my ASMX web service:

     [WebMethod(MessageName = "CreateExternalRpt1")]
    public bool CreateExternalRpt(int iProductId, int iOrderProductId, DateTime dtReportTime, string strReportTitle,
        string strReportCategory, string strReportPrintType, out string strSnapshot, string strApplicantFirst, string strApplicantLast,
        string strApplicantMiddle, string strOwnerLast, string strOwnerMiddle, string strOwnerFirst,
        bool blnCurrentReport, int iOrderId, bool blnFlag, string strCustomerId, string strUserId)
  {
       …
    }


    [WebMethod(MessageName = "CreateExternalRpt2")]
    public bool CreateExternalRpt(int iProductId, int iOrderProductId, DateTime dtReportTime, string strReportTitle,
        string strReportCategory, string strReportPrintType, string strReportSnapshot, string strApplicantFirst, string strApplicantLast,
        string strApplicantMiddle, string strOwnerLast, string strOwnerMiddle, string strOwnerFirst,
        bool blnCurrentReport, int iOrderId, bool blnFlag)
    {
    …
  }

With both of these functions defined in my web service, my .NET client app can’t download the metadata and instead throws a generic error message “There was an error downloading…”.

With one of the above methods removed, the .NET client app can successfully download the metadata.

I’ve read that by decorating the WebMethod with a unique name, both functions should be exposed in the service metadata.

This isn’t working. What am I missing?

  • 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-15T05:29:10+00:00Added an answer on May 15, 2026 at 5:29 am

    🙂 – I’m sure once you think about it a minute or two, you’ll realize.

    Keep in mind that when you’re making a traditional call using SOAP, you know a method at the time of the call but don’t know the entire signature. You may expect that it contains params A, B, and C, but you’re not 100% sure.

    As another poster mentioned… Can web methods be overloaded?

    There are several ways to overload methods in ASMX by using message-based routers. However, I’ve never gone that route and have heard many having issues doing so. I’d recommend WCF for overloads. http://jeffbarnes.net/blog/post/2006/09/21/overloading-methods-in-wcf.aspx

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

Sidebar

Related Questions

This looks like it should be possible with the following: .verticalText { /* IE-only
Having read around it appears this should be possible. I have the following content
From the documentation it looks like this is not possible, but I want to
I have read about gstreamer support for rtp and it should be possible to
Can this be done? It seems like this should be possible. In general, I
Is it possible to handle this type of errors? Something like spl_autoload_register, but for
I am working on an app for Android, but would like to have it
Possible Duplicate: How many lines of code should a function/procedure/method have? Out team has
I think it should be possible to add additional namespaces to the generated classes
I need a control having these features: It should be possible use it in

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.