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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:49:11+00:00 2026-05-13T17:49:11+00:00

I have a webservice – called MyCompany.WebService1 I reference this using a web reference

  • 0

I have a webservice – called MyCompany.WebService1

I reference this using a web reference in my ASP.net web application.

Theres a method called “GetDeal” in this web service, that returns a “Deal” Object.
The deal object currently looks (for example) like this:

public class Deal
{
    Public string Name {get;set;}
    Public string Description {get;set;}
}

This class is in a different assembly: MyCompany.Model

The web service references this assembly.

In my web app, I can call the GetDeal method.
This returns Service1.Deal (service1 is just the name of the web reference)

I can access both properties above.

I have now changed the Deal class, and added a couple more properties.
However, I can’t see these new properties in my web application.

I’ve updated the web service in the web application.
I rebuilt the web service several times, tried removing the MyCompany.Model reference and re-addding it etc…

I can’t figure out what has changed… This was working – I have changed the model before, and it’s updated the reference correctly…

Anything I’ve missed?

  • 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-13T17:49:11+00:00Added an answer on May 13, 2026 at 5:49 pm

    As long as the following points are fulfilled, this should work:

    • the new property is marked as Public and must be read/write (must have a getter and a setter)
    • you have compiled the host web application (the web app which exposes the web service).
    • (You can try calling the web service in a web browser to check whether the new property is visible).
    • you have updated the web reference the client application (and rebuilt the app)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a webservice that exists in an asp.net website. When I publish the
I have a webservice that when called without specifying a callback will return a
I have a webservice and client in c#/dotnet and I am using EnableDecompression to
I have a webservice that is called by up to 10 clients. The webservice
I have created a webservice in .net 2.0, C#. I need to log some
I have webservice, with method: [WebMethod] public byte[] GetFile(string FName) { System.IO.FileStream fs1 =
I would have question regarding web services. Let's say I have webservice client that
i have webservice with one method which recieves xml as string: [WebMethod] public int
I have a webservice that I'm using JAX-WS annotations to generate the WSDL &
I have a webservice that returns a complex value (this is a tree) public

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.