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, wherein each resource is a file or document that includes a reference to one or more Web services and each resource may include a reference to one or more other resources; 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 other resources referenced by each resource based on the type of the resource.