Solved

C# web reference mock data

Posted on 2010-11-15
1
758 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How come this regular expression allows "e"? 14 57
Amazon S3 .Net error 5 40
C# Formatting DateTime String Value 5 50
Connect Gridview column to Textbox in C# 2 39
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.

756 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