[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [Issue 204] Normative statement about @BindingType in POJO spec isnot enforceable
This is issue 204 http://osoa.org/jira/browse/JAVA-204 On 8/2/2010 2:54 PM, Mike Edwards wrote: > > 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]