Solved

C# web reference mock data

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
c# if statement weird reaction 3 42
c# find out if selected(highlighted) text in textbox was replaced or removed 9 62
bulid json format 3 45
Replace &lt; with < 14 54
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.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now