Class ServiceDescriptorImpl

java.lang.Object
com.sun.xml.ws.api.wsdl.parser.ServiceDescriptor
com.sun.xml.ws.mex.client.ServiceDescriptorImpl

public class ServiceDescriptorImpl extends ServiceDescriptor
This class is used by the JAX-WS code when it needs to retrieve metadata from an endpoint using mex. An address is passed into the MetadataResolverImpl class, which creates a service descriptor and returns it.

Because wsdl and schema import@location attributes are removed from the data when empty, this class will add them back in for wsdl imports. The value that is used for the attribute matches the systemId of the Source that contains the imported wsdl (which may be different from the target namespace of the wsdl).