1. A method in a data processing system for extracting Web services from resources of various types using a programming model, the method comprising: receiving a request from a user for extraction of Web services from resources of various types; invoking a Web service parser of the programming model to parse the request to determine a type of each resource, wherein the programming model is extendable to accommodate additional resource types; and determining if a resource comprises other resources based on the type of the resource.