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