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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:56:19+00:00 2026-05-13T10:56:19+00:00

The problem is simple, finding the answer is not (for me at least). I’m

  • 0

The problem is simple, finding the answer is not (for me at least).

I’m trying to make a WCF service that queries MapPoints FindAddressResults() and returns the answer which I then fetch with Ajax and Javascript.

The problem however is that now I’m getting a FindResults result from FindAddressResults() and I don’t know how to expose that as a contract. So I made a wrapper result class.

How can I expose FindResults as a service contract when I don’t have access to the source?

[ Edit ]

FindResults is defined as this:

namespace MapPoint
{
    [TypeLibType(4288)]
    [Guid("188084CF-DB96-482B-97A6-2571DF9BEF81")]
    public interface FindResults : IEnumerable
    {
        [DispId(100663313)]
        Application Application {get; }
        [DispId(100663321)]
        int Count {get; }
        [DispId(-803)]
        Map Parent {get; }
        [DispId(100672001)]
        GeoFindResultsQuality ResultsQuality {get; }

        [DispId(0)]
        object this[ref object Index] {get; }

        [TypeLibFunc(64)]
        [DispId(-4)]
        IEnumerator GetEnumerator();
    }
}
  • 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-13T10:56:19+00:00Added an answer on May 13, 2026 at 10:56 am

    Can you just extend the class you want and add the contract attribute?

    [ServiceContract]
    public MyFindResults : FindResults
    {
      [DataMember]
      public new string String1
      {
        get
        {
          return base.String1;
        }
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Pretty simple problem, but am having trouble finding the answer. Not sure what is
I'm trying to solve a really simple problem of finding object position under force
So, I understand the problem of finding the longest simple path in a graph
Simple problem that I can't figure out... How can I print a '%' character
This simple problem is kiling me. I posted something earlier about trying to clean
My problem is simple: I have a long list of elements that I want
I have this simple problem but I had a hard time of finding a
I have a simple problem but I haven't had any luck finding the solution
I am trying to figure out the following simple problem in order to get
Really simple problem: I want to split a connection string into its keyword /

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.