org.apache.tuscany.spi.idl
Class WrapperInfo
java.lang.Object
org.apache.tuscany.spi.idl.WrapperInfo
public class WrapperInfo
- extends 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 |
WrapperInfo
public WrapperInfo(ElementInfo inputWrapperElement,
ElementInfo outputWrapperElement,
List<ElementInfo> inputElements,
List<ElementInfo> outputElements,
DataType<List<DataType<QName>>> unwrappedInputType,
DataType<QName> unwrappedOutputType)
- Parameters:
inputWrapperElement
- outputWrapperElement
- inputElements
- outputElements
- unwrappedInputType
- unwrappedOutputType
-
getInputChildElements
public List<ElementInfo> getInputChildElements()
- Returns:
- the inputElements
getInputWrapperElement
public ElementInfo getInputWrapperElement()
- Returns:
- the inputWrapperElement
getOutputChildElements
public List<ElementInfo> getOutputChildElements()
- Returns:
- the outputElements
getOutputWrapperElement
public ElementInfo getOutputWrapperElement()
- Returns:
- the outputWrapperElement
getUnwrappedInputType
public DataType<List<DataType<QName>>> getUnwrappedInputType()
- Returns:
- the unwrappedInputType
getUnwrappedOutputType
public DataType<QName> getUnwrappedOutputType()
- Returns:
- the unwrappedOutputType
-