RE: [NF] web service response name

Author: Tracy Pearson

Posted: 2014-01-27 at 07:43:10

I have a vague recollection that you would extend the [WebMethod] attribute and possibly change the method name dropping "Request".

Allen <profox@gatwicksoftware.com> wrote:

>Hi Steve

>I have a webservice.

>

>[WebMethod]

>Public string SCVersionRequest(string parameter) {

> Return "Version 1";

>}

>

>The caller is expecting <SCVersionResponse>Version

>1</SCVersionResponse>

>

>I am sending

> <SCVersionRequestResponse>Version 1</SCVersionRequestResponse>

>This seems to be done by VS as there seems to be nowhere to tell it to

>drop

>the Request and replace it with Response.

>So is there somewhere to change the response tag. I assume the WSDL is

>not

>the place to do so.

>Al

>

>

--

Tracy

_______________________________________________

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/becbe096-ea50-4084-96c3-a814e92825f3@email.android.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 Tracy Pearson