Solved

C# web reference mock data

Posted on 2010-11-15
1
765 Views
Last Modified: 2012-05-10
If I want to mock data coming from Java webservices (actually add to data already coming from web services), how can i do it. Remember, I just want to add to data that is already coming from teh web services, so I cannot point to another mock services.
0
Comment
Question by:vivekj2004
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
Richard Lee earned 500 total points
ID: 34143775
I am not sure I understand the question. More details would be required to receive a comprehensive solution.

If you have data coming from a web service then this data is put together by the service and then passed to the client (you). If the data needs to be added before it reaches you then the web service needs to be modified. If the data needs to be modified by the client (you) then just do it.

I assume you have consumed the web service by adding a web reference to your application. This would mean that you are calling the service methods by the proxy class that visual studio has created for you. These methods would return data using a managed type. You can thus easily modify the result/result set with c#

More details required for a customised solution.

DaTribe
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question