Identify the correct example of Annotation of Reference Element in Composition:

Identify the correct example of Annotation of Reference Element in Composition:

Identify the correct example of Annotation of Reference Element in Composition:

A.
<reference ui: wsdLocation ………………..“ >
< interface.wsdl / ><
.ws ……… . . />
< ! – – <svcdoc:AIA >
<svcdoc: reference >
< svcdoc: ArtifactType> Enterprisedoc: ArtifactType >
<svcdoc: ServiceOperation>
<svcdoc:Name > GetCreditScoreCustomerPartyList </svcdoc: Name >
< /svcdoc: ServiceOperation >
</svcdoc: reference >
</svcdoc: AIA> – – >
<reference>

B.
<reference ui: wsdLocation ………………..“ >
< interface.wsdl / >
< .ws ……… . . />
< ! – -<svcdoc:AIA >
< svcdoc: ServiceSolutionComponentAssociation>
<svcEnterpriseBusinessService</svcdox: ArtifactType >
<svcdoc: ServiceOperation>
<svcdoc: Name > GetComplaintDetails</svcdoc:Name >
</svcdoc: ServiceOperations>
<svcdoc: ServiceOperationComponentAssociation>
</svcdoc: AIA> – – >
< / reference>

C.
<reference ui: wsdLocation ………………..“ >
< interface.wsdl / >
< .ws ……… . . />
< ! – -<svcdoc: AIA>
<svcdoc:Service>
<svcdoc:ArtifactType> Enterprisedoc: ArtifactType>
<: ServiceOperation >
< svcdoc: Name > getComplaintDetails </svcdoc: Name >
</svcdoc: ServiceOperations>
</svcdoc: GUID >
</svcdoc: AIA> — >
< / reference >

D.
<reference ui: wsdLocation ………………..“ >
< interface.wsdl />
< .ws ……… . . />
< ! – -<svcdoc: AIA >
< svcdoc: GUID >
< svcdoc: ArtifactType> EnterpriseBusiness: ArtifactType >
< svcdoc: ServiceOperations >
< svcdoc: Name > getCompliantDetails </svcdoc: Name >
</svcdoc: ServiceOperation >
</svcdoc: GUID >
</svcdoc:AIA>– >
< / reference >

Explanation:

Example, A Skeletal Reference Element in a composite.xml with Annotations
<reference ui:wsdlLocation ……..”>

<interface.wsdl …………/>
<binding.ws ……………./>
<!– <svcdoc:AIA>
<svcdoc:Reference>
</svcdoc:Reference>
</svcdoc:AIA> –>
</reference>
Note:AIA recommends annotations in the composite XML file to provide detailed information
about:
*AIA artifacts and their relationships to other AIA artifacts.
* Composite-level descriptor properties that are used to configure the component at deployment
and run time.
You must provide annotations in the composites for the exposed services and for the referenced
services, according to AIA guidelines, and you must insert these comments at development time.
In line with SOA modeling and development practices, these composites are expected to be
harvested multiple times during the development cycle, from conception till deployment to
production environment.
Embed annotations in the <svcdoc:AIA> element and place the <svcdoc:AIA> element itself inside
the xml comments tags <!– and — > as shown in the example above.
Reference: Oracle Fusion Middleware Concepts and Technologies Guide for Oracle Application
Integration Architecture Foundation Pack:
Why Annotate a SOA Composite?



Leave a Reply 0

Your email address will not be published. Required fields are marked *