2. The method of claim 1 , wherein deploying the web service based on the location type for the web service includes generating an internal definition of the web service using location type attributes associated with the location type.
1. A method, in a data processing system, for deploying a web service, comprising: retrieving a deployment descriptor for the web service; determining, by a processor unit, a location type for the web service from the deployment descriptor, wherein the location type identifies whether a description of a real implementation of the web service supporting a portType comprises at least one of WSDL and JavaBean; and responsive to a determination that the location type for the web service indicates that the web service is defined by both a JavaBean and a web service description language document, deploying the web service based on the location type for the web service, wherein the deployment descriptor describes how the web service is deployed in the data processing system.