Sunday, December 21, 2008

MOSS 2007 Web Services

MOSS 2007 web services are actually ASP.NET Web Services (ASMX). The physical files for these ASMX web services are located in the IIS virtual directory "_vti_bin" which physically maps to the folder "%Program Files%\Common Files\Microsoft Shared\web server extensions\12\ISAPI" through SharePoint metadata and HttpModules. Following are a few out of the box services available with MOSS 2007:

Search - spsearch.asmx
Lists - Lists.asmx
List Data Retrieval  - DspSts.asmx
People - People.asmx
Permissions - Permissions.asmx













spsearch service and methods


The admin web service for "Central Administration" is located in IIS virtual directory "_vti_adm" which physically maps to the folder  "%Program Files%\Common Files\Microsoft Shared\web server extensions\12\ADMISAPI."

Each one of these services consist of a *.wsdl.aspx file and a *.disco file too besides .asmx files for the service WSDL (Web Services Description Language), and  the service discovery implementation.

The URL for the Admin.asmx web service:
http://:portnumber/_vti_adm/Admin.asmx

The URL for all other services is:
http:///_vti_bin/.asmx

Sunday, December 14, 2008

Differences between interface and abstract class

The interfaces and abstract classes, both can't be instantiated. While an abstract class contains both implemented and non-implemented methods, an interface contains only abstract methods.

INTERFACE
  • An interface is pure contract
  • Interface must be public
  • It may be left unused after declaration
  • When used, Implementing class must override all methods provided by that interface.
  • It contains only unimplemented methods and no function definitions
  • Variable must be abstract and final
  • Methods take abstract as default.
  • A single class can implement multiple interfaces.
  • Interface properties are included with "implements" key word

ABSTRACT CLASS
  • Abstract class must contain at least one abstract method
  • It can contain function body
  • It contains both implented and unimplemented method.
  • It allows both abstract and non abstract methods.
  •  It must be used if declared, otherwise compiler gives an error.
  • It may be public or protected.
  • Only one class can extend abstract class.
  • Abstract properties are included with extends keyword.

Thursday, December 4, 2008

Advanced features of MOSS 2007

  • User Interface (UI) and navigation enhancements
  • Document management enhancements
  • Enhanced Search, Workflows, Lists  
  • Office 2007 Integration
  • New Web Parts and Site-type templates
  • Business Data Catalog
  • Search Center
  • Report Center
  • Business Intelligence and Excel Server
  • Forms Server and InfoPath
  • The “Features” feature