[jbossws-dev] [Design of JBoss Web Services] - Re: JBWS-1260 - such a part must refer to an element named a

darran.lofthouse@jboss.com do-not-reply at jboss.com
Fri Jan 12 07:16:03 EST 2007


BP only mentions a naming requirement for the wrappers for RPC, for document it just says that each operation must have a unique signature so that they can be identified.

It is the JAX-RPC spec and JAX-WS spec that specified requirements that must be met for an operation to be considered a wrapped operation.

>From JAX-RPC 6.4.1: -

anonymous wrote : In order to qualify as using the ?wrapper? style, an operation must fulfill the following
  | conditions:
  | ? its input and output messages (if present) must contain exactly one part;
  | ? such a part must refer to an element named after the operation;
  | ? such an element (a wrapper) must be of a complex type defined using the
  | xsd:sequence compositor and containing only elements declarations.

>From JAX-WS 2.3.1.2 this is refined slightly: -

anonymous wrote : 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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000882#4000882

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000882



More information about the jbossws-dev mailing list