Internet Marketing Blog


AdSense Articles I Affiliate Marketing I Article Submission Help I Business Planning I Search Engine Optimization I Advertise I Free Webmaster Tools I Online Business Blog

XML Services Education Article


XML Web Services


XML Web Services are .Net components , which reply to Http requests using the SOAP protocol (Simple Object Access Protocol). XML is one of the principal cornerstones of .Net technology which enables a high degree of interoperability between applications using the Internet. XML Web services are ASP.Net applications which handle requests for .asmx files.


The .asmx extension signals to ASL.Net that it contains non-visual components which are using the XML protocol. These files have a Web Service header line which declares it as an XML WebService class. And each method has a WebMethod attribute to make the procedure accessible through the Internet.

When ASP.Net receives an .asmx page, it processes the directives and interprets the query buried within the calling string and produces an .aspx page which derives from the DefaultWsdlHelpGenerator.aspx stored in the appropriate .Net directory on the server. You can customize that page, but it affects all the applications of the server. Alternatively, you can change the web.config file to point to a local file to achieve control over the appearance of the page for a specific application.


On the client side, you need to create a Web Service Client which can be either be a Windows form, a Web form, or another Web services application. Don’t forget that the whole process is designed to make the services accessible from any computer running on any platform. This is possible because the actual services are running on the server, which must be running a .Net platform.


XML Web services support 3 protocols: Http GET, Http POST, and SOAP. GET and POST are old technology because they support passing only simple variables – no structures or objects. SOAP protocols support XML objects passed into and back from the server. These SOAP messages are actually XML structures which are passed in an XML envelope with specific requirements, chief among then being the tags methodResponse and methodResult. The grammar and bundling of these messages are handled transparently by .Net XML Services.


We reproduce the structure of the SOAPHttpClientProtocolClass below.
Public Constructors
SoapHttpClientProtocol Constructor
Supported by the .NET Compact Framework. Initializes a new instance of the SoapHttpClientProtocol class.
Public Properties
AllowAutoRedirect (inherited from HttpWebClientProtocol)
Supported by the .NET Compact Framework. Gets or sets whether the client automatically follows server redirects.
ClientCertificates (inherited from HttpWebClientProtocol) Gets the collection of client certificates.
ConnectionGroupName (inherited from WebClientProtocol) Gets or sets the name of the connection group for the request.
Container (inherited from Component) Gets the IContainer that contains the Component.
CookieContainer (inherited from HttpWebClientProtocol) Gets or sets the collection of cookies.
Credentials (inherited from WebClientProtocol)
Supported by the .NET Compact Framework. Gets or sets security credentials for XML Web service client authentication.
PreAuthenticate (inherited from WebClientProtocol)
Supported by the .NET Compact Framework. Gets or sets whether pre-authentication is enabled.
Proxy (inherited from HttpWebClientProtocol)
Supported by the .NET Compact Framework. Gets or sets proxy information for making an XML Web service request through a firewall.

Search Engine Optimization Tip Keyword research is needed with all online plans including business to business search engine marketing


RequestEncoding (inherited from WebClientProtocol)
Supported by the .NET Compact Framework. The Encoding used to make the client request to the XML Web service.
Site (inherited from Component) Gets or sets the ISite of the Component.
Timeout (inherited from WebClientProtocol)
Supported by the .NET Compact Framework. Indicates the time an XML Web service client waits for a synchronous XML Web service request to complete (in milliseconds).
UnsafeAuthenticatedConnectionSharing (inherited from HttpWebClientProtocol) Gets or sets a value indicating whether connection sharing is enabled when the client uses NTLM authentication to connect to the Web server hosting the XML Web service.
Url (inherited from WebClientProtocol)
Supported by the .NET Compact Framework. Gets or sets the base URL of the XML Web service the client is requesting.
UserAgent (inherited from HttpWebClientProtocol)
Supported by the .NET Compact Framework. Gets or sets the value for the user agent header that is sent with each request.
Public Methods
Abort (inherited from WebClientProtocol)
Supported by the .NET Compact Framework. Cancels a request to an XML Web service method.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Discover Dynamically binds to an XML Web service described in the discovery document at Url.
Dispose (inherited from Component) Overloaded. Releases the resources used by the Component.

 

Author Bio: Chris Kemp is a well known author who writes best quality articles on IT, Software, Programming, etc. For further details please visit the site www.paladn.com

 


Optimization hints setting off a triumphant SEO Plan


Organic search engine optimization web services can collect all the data you will need to make your own marketing strategy. Xml (EXtensible Markup Language) vocabulary for schemas can be found here. For a quick XML web services tutorial I found this helpful.

Search engine optimization tip

Keyword research is needed with all online plans including business to business search engine


Navigate

  • Home
  • AdSense Articles
  • Affiliate Marketing
  • Article Submission
  • Business Planning
  • SE Optimization
  • Free Tools

Blog

  • About Us
  • AdSense Help
  • Internet Marketing
  • Planning Business
  • SEM Tips
  • Send Message
  • SEO Strategies
  • Social Marketing
  • Web Design

Copyright © 2006 Internet Marketing Blog • Powered by WordPress • Theme created by Brian Gardner

Close
  • Social Web
  • E-mail
  • del.icio.us
  • Digg
  • Furl
  • Netscape
  • Yahoo! My Web
  • StumbleUpon
  • Google Bookmarks
  • Technorati
  • BlinkList
  • Newsvine
  • ma.gnolia
  • reddit
  • Windows Live
  • Tailrank
E-mail It