sca-j message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [NEW ISSUE] Normative statement about @BindingType in POJO spec is notenforceable
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: "OASIS Java" <sca-j@lists.oasis-open.org>
- Date: Mon, 2 Aug 2010 22:54:19 +0100
Raiser:
Mike Edwards
Target:
sca-javaci-1.1-spec-cd02-rev1.doc
Description:
Section 8.2.8.1 deals with the @BindingType
JAXWS annotation.
It makes this statement about the component
type of a POJO containing the annotation:
"If the JAX-WS @BindingType annotation
is used, then the <binding.ws/> subelement has its @wsdlElement attribute
set such that the WSDL binding used
at runtime matches the value of the @BindingType annotation."
Unfortunately, a @wsdlElement attribute
must point at a WSDL document. There is not necessarily a WSDL
document present for the attribute to
reference. It cannot be expected that the SCA runtime will create
such
a document "on the fly" (it
may not be possible in some environments) with the result that this statement
is not
implementable or enforceable.
Proposal:
Simple proposal:
Remove the whole subsection 8.2.8.1
Complex proposal:
Add a new attribute to <binding.ws/>
element, called @bindingType, which contains a URI representing the required
binding type. (This requires cooperation
of the bindings TC) Then change 8.2.8.1 to indicate that it is this new
attribute
which gets its value set when @BindingType
annotation is present.
Yours, Mike.
Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431
Email: mike_edwards@uk.ibm.com
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]