Cloanto   Home      Products & Services      Purchase      Support      Search: Go
Currency System :: Support :: Knowledge Base :: 3-171
System Overview
Currency Server
Currency Methods
Currency Clients
Purchase
Support
:: Overview
:: FAQ
:: Troubleshooting
:: White Papers
:: Internationalization
:: The Euro
:: Currency Codes
:: Web Links
:: Support Plans
:: Contact
TITLE

Sorting Operations by Name in Web Service Help Page

 

TOPIC

Q: When I open the Currency Server Web service help page, the methods are listed in what appears to be random order. Can I list them alphabetically?

 

DISCUSSION

A: Yes. By default a hash function is used for performance reasons, however this can be replaced by alphabetical sorting. To modify this behavior you need to edit one line in the "DefaultWsdlHelpGenerator.aspx" file, located in the CONFIG directory of the default installation of the Microsoft .NET Framework (i.e. "%WINDIR%\Microsoft.NET\Framework\version\CONFIG").

Replace this line:

Hashtable methodsTable = new Hashtable();

with this line:

SortedList methodsTable = new SortedList();

The change will affect all Web services installed on the same machine.

 

Article Information
Article ID:3-171
Platform:Windows
Products:Currency Server
Additional Keywords:CurrencyServer.asmx, CloantoCurrencyServer.asmx
Last Update:2008-01-21
Your feedback is always appreciated. It is safe to link to this page.
© 1998-2008 Currency System, Inc. and Cloanto Corporation. All rights reserved.      Legal      Privacy