Solved

C# web reference mock data

Posted on 2010-11-15
1
747 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

6 Experts available now in Live!

Get 1:1 Help Now