com.sun.xml.ws.mex.client
Class ServiceDescriptorImpl

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

public class ServiceDescriptorImpl
extends com.sun.xml.ws.api.wsdl.parser.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
ServiceDescriptorImpl(Metadata mData)
          The ServiceDescriptorImpl constructor does the work of parsing the data in the Metadata object.
 
Method Summary
 java.util.List<javax.xml.transform.Source> getSchemas()
           
 java.util.List<javax.xml.transform.Source> getWSDLs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.util.List<javax.xml.transform.Source> getWSDLs()
Specified by:
getWSDLs in class com.sun.xml.ws.api.wsdl.parser.ServiceDescriptor

getSchemas

public java.util.List<javax.xml.transform.Source> getSchemas()
Specified by:
getSchemas in class com.sun.xml.ws.api.wsdl.parser.ServiceDescriptor