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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:37:04+00:00 2026-05-20T21:37:04+00:00

This might get a little convoluted so please let me know if you need

  • 0

This might get a little convoluted so please let me know if you need clarification.

I have a solution which contains the following projects

Project A - WPF application
Project B - ASP.NET application (with exposed webservices)
Project C - Class Library

Both project A and project B reference types that are located in project C, but more importantly project A makes webservice calls to project B using types located in project C.

The problem I am running into is it appears that when making webservice calls I have no way of referencing the types located in project C directly but rather need to use the types as exposed by the webservice.

Now the basic idea of why this is done I understand (obviously typically the consumer of your webservice would only have the WSDL to go from) however in my case this is an internal application (which is part of a single solution) so this is not a concern.

The biggest problem I see with continuing this approach is that any updates to the types in project C will need to be reflected in project B and then “refreshed” in project A. This seems pretty nasty to me. Surely there is a smoother path?

Am I wrong? What is a typical approach to this issue?

  • 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-20T21:37:05+00:00Added an answer on May 20, 2026 at 9:37 pm

    You may be a little confused here.

    The types in Project C and the types you see when you add a reference to your web service are different.

    When you added the Web Service reference. Visual Studio used svcutil.exe, read metadata from your web service (I’m assuming .asmx?) and then created proxy classes for you.

    Check the types for the Web Service (they will obviously have the same names). Put your cursor on them and pres F12. It’ll take you to some designer generated code.

    So there is no real workaround as such. When you update your types in Project C and then Update your web services in Project B . You will have to Update Service Reference from Project A Which again uses svcutil.exe and regenerates all your proxies.

    Also, this is the same way WCF Services work too.

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

Sidebar

Related Questions

i need to get this little gray rectangle (red circle) to be displayed both
I know this question might seem a little basic stuff but I want to
I know this questions might seem a little odd, but I want to make
I know the title of this question might be a little bit misleading; I
This might be a little subjective, but I'd like to get your input on
This might be a little odd, but how can I get the column name
This might spund a little bit funny, didn't even know how to put the
I expect this might get some downvotes / closevotes but I'm going to ask
This might sound daft but how do you get silverlight to run as a
This might seam like a strange question but.... public string MyProperty { get {

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.