XML
  Home arrow XML arrow Page 4 - Creating a Web Service with Web Matrix
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
XML

Creating a Web Service with Web Matrix
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2006-03-22

    Table of Contents:
  • Creating a Web Service with Web Matrix
  • Testing the web service with built-in mini web server
  • Second example: the Pythagoras Theorem
  • Testing this web service

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Creating a Web Service with Web Matrix - Testing this web service


    (Page 4 of 4 )

    In the default example the mini web server was used. In this example the IIS on the local machine will be used, given by the second radio button in a previous screen.

    When you click on Start it takes a while, but the result from the web service is now returned at the url of the localhost on the IIS, http://localhost/Pythagoras/WsvcWm.asmx.

    The hypotenuse gives access to the screen where the web service may be tested as shown.

    Clicking on the Invoke button displays the XML returned in the following display. The answer 5 is the correct value for the hypotenuse.

    If we now look at the Pythogoras site in IIS we see that the whole directory , C:ASPApril04 is added to the website Pythagoras as shown. Pythagoras is not a web project but a site with a number of web form files.

    Summary

    Two different web services were created using the ASP.NET Web Matrix program. Testing the web service with the built-in mini-web server and with the IIS installed on the machine were also demonstrated.  The links at the bottom of the WSDL file provide details about the various protocols, unfortunately missing in this tutorial. In a future article, creating a client for these services will be considered.


    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.

       · Evolution is the key for all processes that includes life forms as well as software....
       · how to use this xml webservices to convert the databases
       · It's [the following link to one of my old articles] not a full blown example from...
     

    XML ARTICLES

    - Datatypes and More in RELAX NG
    - Providing Options in RELAX NG
    - An Introduction to RELAX NG
    - Path, Predicates, and XQuery
    - Using Predicates with XQuery
    - Navigating Input Documents Using Paths
    - XML Basics
    - Introduction to XPath
    - Simple Web Syndication with RSS 2.0
    - Java UI Design with an IDE
    - UI Design with Java and XML Toolkits
    - Displaying ADO Retrieved Data with XML Islan...
    - Widget Walkthrough
    - Introduction to Widgets
    - The Why and How of XML Data Islands







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway