OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

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

Raiser:                Mike Edwards

Target:                sca-javaci-1.1-spec-cd02-rev1.doc


Section 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.


Simple proposal:

Remove the whole subsection

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 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]