27.01.2014 Views

WS-I Basic Profile Version 1.1 - instructional media + magic

WS-I Basic Profile Version 1.1 - instructional media + magic

WS-I Basic Profile Version 1.1 - instructional media + magic

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The equivalent implicit qualification for nillable attribute has a value of "false" because if<br />

it is specified to be "true" one cannot design a part whereby the client is always required<br />

to send a value. For applications that want to allow the wsdl:part to to be nillable, it is<br />

expected that applications will generate a complexType wrapper and specify the<br />

nillability rules for the contained elements of such a wrapper.<br />

4.4.2 Bindings and Faults<br />

There are several interpretations for how wsdl:part elements that describe soapbind:fault,<br />

soapbind:header, and soapbind:headerfault may be defined.<br />

R2205 A wsdl:binding in a DESCRIPTION MUST refer, in each of its soapbind:header,<br />

soapbind:headerfault and soapbind:fault elements, only to wsdl:part element(s) that have been<br />

defined using the element attribute.<br />

Because faults and headers do not contain parameters, soapbind:fault, soapbind:header and<br />

soapbind:headerfault assume, per <strong>WS</strong>DL <strong>1.1</strong>, that the value of the style attribute is<br />

"document". R2204 requires that all wsdl:part elements with a style attribute whose value<br />

is "document" that are bound to soapbind:body be defined using the element attribute. This<br />

requirement does the same for soapbind:fault, soapbind:header and soapbind:headerfault<br />

elements.<br />

4.4.3 Declaration of part Elements<br />

Examples 4 and 5 in <strong>WS</strong>DL <strong>1.1</strong> Section 3.1 incorrectly show the use of XML Schema<br />

types (e.g. "xsd:string") as a valid value for the element attribute of a wsdl:part element.<br />

R2206 A wsdl:message in a DESCRIPTION containing a wsdl:part that uses the element<br />

attribute MUST refer, in that attribute, to a global element declaration.<br />

For example,<br />

INCORRECT:<br />

<br />

<br />

<br />

<br />

INCORRECT:<br />

<br />

<br />

<br />

CORRECT:<br />

<br />

From www.ws-i.org/<strong>Profile</strong>s/<strong>Basic</strong><strong>Profile</strong>-<strong>1.1</strong>.html 37 8 February 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!