Re: [NF] web service response name

Author: Paul Hill

Posted: 2014-01-27 at 06:09:09

On 27 January 2014 11:53, Allen <profox@gatwicksoftware.com> wrote:

> Hi gang

> I hope someone here knows the answer.

> I have a simple SCVersionRequest web service. VS2010 c# using net 2. The

> service returns SCVersionRequestResponse with a value but I want it to

> return SCVersionResponse. Anyone know where I can change the VS default

> names to have my own? Or at least the return name.

I've been fighting with web services all last week!

Not sure if this is useful in your case but a very handy tool is Fiddler:

http://www.telerik.com/fiddler

Run this and you can see exactly what xml is being requested and returned.

Something that wasted days for me is that when generating the classes

from the wsdl/xsd files (I have 100s), they *must* be hosted on a web

server, not saved locally.

--

Paul

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CADwx0+LewoKgoDtk_Sxb_bXFjb-MqQyDa8yX4A97EOM31EUH_A@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Paul Hill