Package com.sun.xml.ws.mex.client
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).
-
-
Constructor Summary
Constructors Constructor Description ServiceDescriptorImpl(Metadata mData)The ServiceDescriptorImpl constructor does the work of parsing the data in the Metadata object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Source>getSchemas()Gives list of schemas.List<Source>getWSDLs()Gives list of wsdls
-
-
-
Constructor Detail
-
ServiceDescriptorImpl
public ServiceDescriptorImpl(Metadata mData)
The ServiceDescriptorImpl constructor does the work of parsing the data in the Metadata object.
-
-
Method Detail
-
getWSDLs
public List<Source> getWSDLs()
Description copied from class:ServiceDescriptorGives list of wsdls- Specified by:
getWSDLsin classServiceDescriptor- Returns:
- List of WSDL documents as
Source.Source.getSystemId()must be Non-null
-
getSchemas
public List<Source> getSchemas()
Description copied from class:ServiceDescriptorGives list of schemas.- Specified by:
getSchemasin classServiceDescriptor- Returns:
- List of XML schema documents as
Source.Source.getSystemId()must be Non-null.
-
-