com.sun.xml.ws.api.server
Interface SDDocument.WSDL

All Superinterfaces:
SDDocument
Enclosing interface:
SDDocument

public static interface SDDocument.WSDL
extends SDDocument

SDDocument that represents a WSDL.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.api.server.SDDocument
SDDocument.Schema, SDDocument.WSDL
 
Method Summary
 Set<QName> getAllServices()
          All <service> names that were in this WSDL, or empty set if there was none.
 String getTargetNamespace()
          Gets the target namepsace of this schema.
 boolean hasPortType()
          This WSDL has a portType definition that matches what WSEndpoint is serving.
 boolean hasService()
          This WSDL has a service definition that matches the WSEndpoint.
 
Methods inherited from interface com.sun.xml.ws.api.server.SDDocument
getImports, getRootName, getURL, isSchema, isWSDL, writeTo, writeTo
 

Method Detail

getTargetNamespace

@ManagedAttribute
String getTargetNamespace()
Gets the target namepsace of this schema.


hasPortType

@ManagedAttribute
boolean hasPortType()
This WSDL has a portType definition that matches what WSEndpoint is serving. TODO: does this info needs to be exposed?


hasService

@ManagedAttribute
boolean hasService()
This WSDL has a service definition that matches the WSEndpoint. TODO: does this info need to be exposed?


getAllServices

@ManagedAttribute
Set<QName> getAllServices()
All <service> names that were in this WSDL, or empty set if there was none. Used for error diagnostics.



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.