org.apache.tuscany.sca.interfacedef.wsdl.impl
Class WSDLOperationIntrospectorImpl.Wrapper
java.lang.Object
org.apache.tuscany.sca.interfacedef.wsdl.impl.WSDLOperationIntrospectorImpl.Wrapper
- Enclosing class:
- WSDLOperationIntrospectorImpl
public class WSDLOperationIntrospectorImpl.Wrapper
- extends java.lang.Object
The "Wrapper Style" WSDL operation is defined by The Java API for
XML-Based Web Services (JAX-WS) 2.0 specification, section 2.3.1.2
Wrapper Style.
A WSDL operation qualifies for wrapper style mapping
only if the following criteria are met:
- (i) The operation�s input and output messages (if present) each
contain only a single part
- (ii) The input message part refers to a global element declaration
whose localname is equal to the operation name
- (iii) The output message part refers to a global element declaration
- (iv) The elements referred to by the input and output message parts
(henceforth referred to as wrapper elements) are both complex types
defined using the xsd:sequence compositor
- (v) The wrapper elements only contain child elements, they must not
contain other structures such as wildcards (element or attribute),
xsd:choice, substitution groups (element references are not permitted) or
attributes; furthermore, they must not be nillable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLOperationIntrospectorImpl.Wrapper
public WSDLOperationIntrospectorImpl.Wrapper()
getInputChildElements
public java.util.List<XmlSchemaElement> getInputChildElements()
throws InvalidWSDLException
- Return a list of child XSD elements under the wrapped request element
- Returns:
- a list of child XSD elements or null if if the request
element is not wrapped
- Throws:
InvalidWSDLException
getOutputChildElements
public java.util.List<XmlSchemaElement> getOutputChildElements()
throws InvalidWSDLException
- Return a list of child XSD elements under the wrapped response
element
- Returns:
- a list of child XSD elements or null if if the response
element is not wrapped
- Throws:
InvalidWSDLException
getInputWrapperElement
public XmlSchemaElement getInputWrapperElement()
- Returns:
- the inputWrapperElement
getOutputWrapperElement
public XmlSchemaElement getOutputWrapperElement()
- Returns:
- the outputWrapperElement
getWrapperInfo
public WrapperInfo getWrapperInfo()
throws InvalidWSDLException
- Throws:
InvalidWSDLException