This course - Publish the locally-created service to an internet web server. (Tutorial 2)

v1.0 - last updated: 08/07/2006

In this tutorial, you publish the XML web service created in Tutorial 1 onto an internet web server.  There are 7 steps...
 


  1. Publish the service out onto a web server on the internet.
    Begin the publishing process by clicking on the Copy Web Site icon (2nd from left in the Solution Explorer window):


    This should open the Copy Web pane:


     
  2. Designate the internet web site where the web service is going to reside.
    Click on the Connect button in the top middle of the Copy Web page:


    This should open the Remote Web Site popup:

     
  3. Enter the target URL for your service and click the Open button in the lower right.  If the web site hasn't been opened before, you'll get a query about that:

     
  4. Click Yes to proceed.  Then you'll be asked to log in:

     
  5. Enter your internet website user name and password and click OK.  After a small wait, you should see the target service destination on the right side of the pane (under Remote Web site):



     
  6. Select all the files to be publish, and publish them.
    next step



  7. Click on the double arrow to synchronize all the files across both sites.  The result will show the existing files (on the left) copied to the new site (on the right):

     
  8. Test the published service.
    Open a browser (it need not be Internet Explorer) and enter the full URL of your newly published XML web service.  You should get the HTML version of the WSDL page:


    Click on HelloWorld to see its details:


    Click on the Invoke button to do an HTTP POST test of the HelloWorld() method.  If it succeeds, you'll see the result:


    Depending on which browser you use, the returned XML will be presented differently.  But what you want to see is that the Hello World string came back. 

This is the end of Tutorial 2.  See other tutorials.



Visitors: Hit Counter