Stylus Studio XML Editor

Table of contents

Appendices

3.9 Operation Styles

Operation Styles

This section defines operation styles in use in parallel to the HTTP 1.1 binding.

URI Style[top]

URI Style

The URI style is selected by assigning the Interface Operation component's [{style}] property the value http://www.w3.org/2004/08/wsdl/style/uri.

The URI style may only be used for Interface Operation components whose [{message exchange pattern}] property has the value 'http://www.w3.org/2004/08/wsdl/in-only', 'http://www.w3.org/2004/08/wsdl/robust-in-only' or 'http://www.w3.org/2004/08/wsdl/in-out'.

Use of this value indicates that XML Schema [XMLSchemaP1] was used to define the schemas of the [{element}] properties of all Message Reference components of the Interface Operation component with [{direction}] property in. Those schemas MUST adhere to the rules below.

  • The content model of input message elements are defined using a complex type that contains a sequence from XML Schema.

  • The sequence MUST only contain elements. It MUST NOT contain other structures such as xs:choice.

  • The sequence MUST contain only local element children. These child elements MAY contain the nillable attribute, and the attributes minOccurs and maxOccurs MUST have a value 0 or 1.

  • The localPart of input element's QName MUST be the same as the Interface operation component's name.

  • The complex types that defines the body of an input element or its children elements MUST NOT contain any attributes.

  • The input sequence MUST NOT contain multiple children element declared with the same local name.

  • If the children elements of the input sequence are defined using an XML Schema type, they MUST derive from xs:simpleType, and MUST NOT be of the type or derive from xs:QName, xs:NOTATION, xs:hexBinary or xs:base64Binary.

Multipart style[top]

Multipart style

The Multipart style is selected by assigning the Interface Operation component's [{style}] property the value http://www.w3.org/2004/08/wsdl/style/multipart.

The Multipart style may only be used for Interface Operation components whose [{message exchange pattern}] property has the value 'http://www.w3.org/2004/08/wsdl/in-only', 'http://www.w3.org/2004/08/wsdl/robust-in-only' or 'http://www.w3.org/2004/08/wsdl/in-out'.

Use of this value indicates that XML Schema [XMLSchemaP1] was used to define the schemas of the [{element}] properties of all Message Reference components of the Interface Operation component with [{direction}] property in. Those schemas MUST adhere to the rules below.

  • The content model of input message elements are defined using a complex type that contains a sequence from XML Schema.

  • The sequence MUST only contain elements. It MUST NOT contain other structures such as xs:choice.

  • The sequence MUST contain only local element children. These child elements MAY contain the nillable attribute, and the attributes minOccurs and maxOccurs MUST have a value 1.

  • The localPart of input element's QName MUST be the same as the Interface operation component's name.

  • The complex types that defines the body of an input element or its children elements MUST NOT contain any attributes.

  • The input sequence MUST NOT contain multiple children element declared with the same local name.