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

  • Home
  • SEARCH
  • 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 9251889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:48:44+00:00 2026-06-18T10:48:44+00:00

I have a C# ASP.NET that site I am trying to add UPS quoting

  • 0

I have a C# ASP.NET that site I am trying to add UPS quoting to. I used the code from the sample and have imported the included WSDL, all of the objects map out properly to the wsdl except the RateService class.

This is the code sample and WSDL that I am working from.

This is the code snippet that has an error:

RateService rate = new RateService();
RateRequest rateRequest = new RateRequest();
UPSSecurity upss = new UPSSecurity();

The compile error is that RateService is not found.

I am pretty sure the WSDL is importing because the rest of the classes compile just fine. Did UPS change their API since the sample? Anyone have any ideas?

  • 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-18T10:48:45+00:00Added an answer on June 18, 2026 at 10:48 am

    Your WSDL file has this block:

    <wsdl:service name="RateService">
        <wsdl:port name="RatePort" binding="tns:RateBinding">
            <!-- Production URL -->
                <!-- <soap:address location="https://onlinetools.ups.com/webservices/Rate"/> -->
                <!-- CIE (Customer Integration Environment) URL -->
                <soap:address location="https://wwwcie.ups.com/webservices/Rate"/>
        </wsdl:port>
    </wsdl:service>
    

    It looks like the RateService serice is defined. Are you sure it imported correctly?

    The sample code (in your zip) also shows the generated web reference – it has a RateService class.

    To add this reference to your project, go to Add Service Reference, select Advanced on the botton of the dialog and then select Add Web Reference on the bottom of the second dialog. Enter the URL to the WSDL file and then add the reference.

    Make sure you add the correct using statements to your code files to use the types from the WSDL.

    (This is both for VS 2008 and VS 2010.)

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

Sidebar

Related Questions

I have an ASP.NET site that I am maintaining. Currently it has code that
So I have an asp.net Web Application (Not Web Site) that I am trying
I have an ASP.NET site that is not currently using MVC but I'm trying
I have an ASP.NET site that I am trying to access div elements by
I have an asp.net site that i'm trying to profile with Ants Profiler 6.3
I have a asp.net web site that was developed on the .Net Framework v2
I have a asp.net mvc site that references a couple of libraries. Recently I
I have an ASP.NET MVC 3 site that makes use of a ClientDependency framework
I have an ASP.NET MVC site and ELMAH is showing me that my site
I have clients that use our web site (asp.net) that they have to be

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.