Francis Shanahan wrote:
> The WebService attribute or Webmethod attribute.
> [WebService(Namespace="your website",Description="Blah")]
>
> [WebMethod(Description="Blah")]
>
> -fs
>
>
>
> "Chris Becker" <slolife@hotmail.com> wrote in message
> news:exboyyk9DHA.2028@TK2MSFTNGP10.phx.gbl...
>
>>How/Where in code do you add the description for each method in your web
>>service so it appears in the .asmx?
>>
>>
>>"Francis Shanahan" <fs@NoSpamTodayThanks.francisshanahan.com> wrote in
>>message news:%23Nv1%23Eh9DHA.2316@TK2MSFTNGP11.phx.gbl...
>>
>>>Gerry, there's other functions available that might not have been
>
> entirely
>
>>>obvious. I've updated the ASMX with a description of each. Let me know
>
> if
>
>>>that helps navigate the content.
>>>regards,
>>>-fs
>>>
>>>"Gerry O'Brien [MVP]" <gkcomput@hotmail.com> wrote in message
>>>news:uPWHatW9DHA.2392@TK2MSFTNGP11.phx.gbl...
>>>
>>>>You're welcome!
>>>>
>>>>Once thing that I would like to mention that would make a good
>
> addition.
>
>>>>You have one function that will return a recordset,
>>>
>>>GetContentByBookChapter.
>>>
>>>>Unless I'm missing something, that is the only effective way to get at
>>
>>the
>>
>>>>verses in the chapter.
>>>>
>>>>A method to return verses based on book and chapter would be a welcome
>>>>addition. I did use the recordset returned from the previously
>>
>>mentioned
>>
>>>>function as it contains the verses in one of the fields in the
>
> recordset
>
>>>but
>>>
>>>>I had to go into the XML for the service to find out which position it
>>
>>was
>>
>>>>in.
>>>>
>>>>My application of your service is designed to list the books in a drop
>>>
>>>down,
>>>
>>>>then the available chapters in another based on the book selected and
>>>>finally the available verses in that book, in another drop down, based
>>
>>on
>>
>>>>the chapter chosen.
>>>>
>>>>Other than that, it works great.
>>>>
>>>>--
>>>>Gerry O'Brien
>>>>Visual Developer .NET MVP
>>>>
>>>>
>>>>
>>>>"Francis Shanahan" <anonymous@discussions.microsoft.com> wrote in
>>
>>message
>>
>>>>news:4B13DDA7-6039-4F6E-BE8B-97ED5BB8C899@microsoft.com...
>>>>
>>>>>Hi Gerry, thanks for the feedback. I think the web methods exposed
>>
>>cover
>>
>>>>pretty much all the bases but let me know if you want a specific API.
>
> I
>
>>>>wrote this as an experiment and obtained the content from a guy I met
>
> on
>
>>>the
>>>
>>>>internet (yes I got his permission and the details are in the public
>>>
>>>domain
>>>
>>>>notice in the content). Since releasing the service I've come to find
>>
>>out
>>
>>>>that this is the American Standard edition of the Bible and NOT the
>
> King
>
>>>>James as I originally thought.
>>>>
>>>>>Main reason for writing this was to try some things with web
>
> services
>
>>>with
>>>
>>>>a view to figuring out the shortcomings and gotchas. There's still
>
> some
>
>>>>things I want to try like customizing the ASMX and maybe tracking
>
> usage
>
>>a
>>
>>>>little better.
>>>>
>>>>>regards,
>>>>>-fs
>>>>>
>>>>>
>>>>>>I've just released the entire King James Bible as a free web
>
> service
>
>>>on
>>>
>>>>my
>>>>
>>>>>>site:
>>>>>>
>>>>>>>
http://www.FrancisShanahan.com >>>>>>>
http://www.FrancisShanahan.com/TheHolyBible.asmx >>>>>>
>>>>>>
http://www.FrancisShanahan.com/TheHolyBible.asmx?WSDL >>>>>>
>>>>
>>>>
>>>
>>
>