Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

XML Web Services
XML Web Services Introduction
Web Services Infrastructure
XML Web Services
XML Web Servce Deploy
Publishing and Security
What Is XML

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


Deploying XML Web Services

Previous Next



Deploying a Web Service is enabling a Web service to execute on a specific Web server. Before deploying a Web service the first thing you need to do is change the namespace of the Web service and make sure it specifies a unique namespace. The reason why you need to change the namespace is to avoid conflicts with other Web services. The default Web service namespace is set to "http://tempuri.org" and there exists a possibility that others might be using the same namespace. The namespace you specify is used within the WSDL document of the Web service to uniquely identify the callable entry points of the service. It is recommended that you specify a namespace URI that you own or have under you control. Using your domain name as part of Web service namespace gurantee uniqueness. ASP .NET Web services support a Namespace property as part of the WebService attribute which is set to tempuri.org by default. The following code sample shows how to set a namespace to a Web service.

Imports System
Imports System.Web.Services

<WebService(Namespace := "http://startvbdotnet.com/namespaces/") /> _
Public Class Service1 Inherits System.Web.Services.WebService

Implementing Code

End Class




Deploying Web services

In general, deploying a Web service is copying the Web service entry point file (ASMX file), the Web service assembly and related assemblies and other support files like Web.config, etc, to the target Web server. Some Web services may just require you to copy the ASMX file on to the target Web server. The tools you can use to deploy a Web service are: VS .NET Web Setup Project and VS .NET Project Copy.

VS .NET Web Setup Project

If you build your Web services with Visual Studio .NET then you can use the Web Setup Project wizard to deploy your Web service. The Web Setup project creates a MSI file that when executed, creates and configures a virtual directory on the Web server, copies all the required files to execute the Web service and registers any additional assemblies needed by the Web service. The image below displays the new project dialogue with Web Setup as the selection.

Web Setup Project

The steps required to deploy a Web service using the Web Setup project are as follows:

  1. Create the Web Setup project using the Web Setup Project template in VS .NET.
  2. Build the project.
  3. Copy the installation package to the target Web server
  4. Run the installation package on the Web server.

When you use Web Setup Project to deploy your Web services you have an option to specify an alternate virtual directory during the setup process and also the setup process creates a new virtual directory and configures the virtual directory for the Web service.

VS .NET Project Copy

VS .NET project copy is another method for deploying Web services. This is a simple process for deployment but it does not perform the tasks like configuring a virtual directory and file registrations that the Web service may require. You can view the Project Copy dialogue by selecting Project->Copy Project from main menu. Tha image below displays that.

Copy Project

As you can see from the above image, you have three options while using this method. They are:

Only files needed to run this application: Copies all DLLs with references in the bin folder as well as any files marked with a BuildAction of Content.

All project files: Copies all project files created and managed by VS .NET.

All files in the source project folder:Copies all VS .NET project files as well as other files that reside in the project folders.




Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords:amazon web services, amazon web services developers, yahoo web services


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.