Developing an XML Web Service Using Visual Studio 2005 - Executing and testing the XML Web Service (Page 6 of 6 )
This section is very simple to understand. Just press F5 to start executing (along with debugging) the web service. You may receive a message as follows (Fig 3):
This is because “web.config” is not added to our solution by default (whereas previous versions of Visual Studio do). Just click OK, to create the “Web.Config” and proceed. Immediately you will observe a small “balloon” tip near the “system tray” (Fig 4), which informs you that the development server (or thin web server) was initiated for testing the web service.
Immediately you should see a new browser window showing you the “NumberToWords” with the web page title “Service” (Fig 6).
You click on the “NumberToWords” hyperlink to test the web service (on the same page). You will be presented with a text box to enter a value. Just type your own number (or 345) and press “Invoke” to submit your information to the web service (Fig 7).
A new browser window opens with the result (Fig 8) in words (in the form of XML) of the number that you typed into the text box
Any comments, suggestions, bugs, errors, feedback etc. are highly appreciated at firstname.lastname@example.org.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.