... I mean, why the clause "only affects operations that qualify for the wrapper style...[OR] for all qualified operations"?"The <jaxws:enableWrapperStyle> declaration only affects operations that qualify for the wrapper style per the JAX-WS specification. ... wrapper style processing is turned on by default for all qualified operations"
About Question enthuware.ocejws.v6.2.120 :
Moderators: Site Manager, fjwalraven
-
- Posts: 41
- Joined: Mon Oct 27, 2014 11:35 pm
- Contact:
About Question enthuware.ocejws.v6.2.120 :
Just curious: why the conditional in this statement:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.120 :
Not all operations can be mapped in the wrapper style.
Frits
Regards,JAX-WS 2.2
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 (if present) part refers to a global element declaration
(iv) The elements referred to by the input and output message (if present) 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.
- Conformance (Default mapping mode): Operations that do not meet the criteria above MUST be mapped using non-wrapper style.
Frits
-
- Posts: 41
- Joined: Mon Oct 27, 2014 11:35 pm
- Contact:
Re: About Question enthuware.ocejws.v6.2.120 :
Taking me a good deal of time to wrap my head around these points.fjwalraven wrote:Not all operations can be mapped in the wrapper style.
Regards,JAX-WS 2.2
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 (if present) part refers to a global element declaration
(iv) The elements referred to by the input and output message (if present) 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.
- Conformance (Default mapping mode): Operations that do not meet the criteria above MUST be mapped using non-wrapper style.
Frits
Who is online
Users browsing this forum: No registered users and 69 guests