ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <scout-...@ws.apache.org>
Subject [jira] Reopened: (SCOUT-72) Scout - need to transfor specifications to TModelBag
Date Mon, 22 Jun 2009 07:54:07 GMT

     [ https://issues.apache.org/jira/browse/SCOUT-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks reopened SCOUT-72:
-------------------------------


Paying attention to the specifications parameter seems all to the good however the javadoc
says about it...

specifications - a Collection of RegistryObjects that represent (proxy) a technical specification.
It is analogous to a tModelBag in the UDDI specification. In the case of a UDDI provider,
the RegistryObject is a specification Concept. In the case of an ebXML provider, the RegistryObject
is likely to be an ExtrinsicObject.

so I think you're obligated to accept any RegistryObject in the collection, and certainly
obligated to accept Concept, rather than only SpecificationLinks which are not mentioned in
the javadoc.

It would be great if one of the active scout developers would arrange the NDA and join the
geronimo tck list to help find problems like this more quickly in the future.

> Scout - need to transfor specifications to TModelBag
> ----------------------------------------------------
>
>                 Key: SCOUT-72
>                 URL: https://issues.apache.org/jira/browse/SCOUT-72
>             Project: Scout
>          Issue Type: Bug
>            Reporter: Tom Cunningham
>            Assignee: Kurt T Stam
>
> In findServiceBindings, we pass in a collection of specifications but we never transform
that into a TModelBag before passing it into findBinding.
>     public BulkResponse findServiceBindings(Key serviceKey,
>                                             Collection findQualifiers,
>                                             Collection classifications,
>                                             Collection specifications) throws JAXRException
>     {
>         BulkResponseImpl blkRes = new BulkResponseImpl();
>         IRegistry iRegistry = registryService.getRegistry();
>         FindQualifiers juddiFindQualifiers = mapFindQualifiers(findQualifiers);
>         try
>         {
>  
>             BindingDetail l = iRegistry.findBinding(serviceKey.getId(),
>                     ScoutJaxrUddiHelper.getCategoryBagFromClassifications(classifications),

>             		null,
>             		juddiFindQualifiers,registryService.getMaxRows());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


Mime
View raw message