Windows Scripting
  Home arrow Windows Scripting arrow Page 3 - Exploring the SoapEnvelope Class in WSE2.0
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
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? 
WINDOWS SCRIPTING

Exploring the SoapEnvelope Class in WSE2.0
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 2
    2007-01-08

    Table of Contents:
  • Exploring the SoapEnvelope Class in WSE2.0
  • SoapEnvelope Methods
  • Exploring Properties and Methods
  • LoadXML and InnerText Properties
  • Body Property and SetBodyObject() method

  • 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


    Exploring the SoapEnvelope Class in WSE2.0 - Exploring Properties and Methods


    (Page 3 of 5 )

    General

    It is assumed that Visual Studio 2003 is installed. It is also assumed that WSE2.0 has been installed. If not, it can be installed from the Microsoft web site. Search for Microsoft WSE 2.0 SP2.msi (8.8Mb). Once installed in the Visual Studio IDE you should be able to see the related dll in the .NET reference.

    Web Service Project

    Create a new web service project (WSE2_1), and remove the default Service1.asmx file. Insert a web service file. In this tutorial it is named Props.asmx.

    Since we are going to look at properties and methods of the WSE2.0, you need to add a reference to WSE2.0. Right click the solution[WSE2_1] and click on Add Reference.... This will bring up the following screen as shown. This will add references to the Microsoft.Web.Services2.dll and all the properties and methods will be available at design time. These are also available via intellisense.

    In the Visual Studio IDE, click on the menu item View and from the drop down click on Object Browser. This will bring out all the objects. The next figure shows the namespaces related to WSE2.0. We will be looking at one of the classes highlighted.

    Visual Studio 2003 provides a default HelloWorld() WebMethod which has been removed. First of all the Microsoft.Web.Services2 should be imported to the web service as shown in the imports.

    More Windows Scripting Articles
    More By Jayaram Krishnaswamy


       · Web Services Extensions which has had 3 avatars aims at achieving the goal of...
     

    WINDOWS SCRIPTING ARTICLES

    - Introducing Two-Way Data Binding using Silve...
    - Silverlight 2.0 Application Development with...
    - Burning Multisession CDs with IMAPI2 in WSH
    - Creating a Silverlight 2.0 Application that ...
    - Burning CDs with the IMAPI2 Control
    - Burning CDs in Windows XP with WSH
    - Advanced Word Object Scripting
    - Reading and Printing Word Documents in WSH
    - Scripting Microsoft Word
    - Using WSH to Catalog MP3 Files
    - Reading MP3 ID3 Tags in WSH
    - A Brief Look at Menus in WPF
    - More Examples of Simplified Image Processing...
    - Completing a WPF To-Do List Application
    - Simplified Image Processing in GDI+





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT