Author: tcunning
Date: Wed Jul 22 03:43:37 2009
New Revision: 796610
URL: http://svn.apache.org/viewvc?rev=796610&view=rev
Log:
JUDDI-72
Distinguish between ebXML/UDDI cases.
Modified:
webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/BusinessQueryManagerImpl.java
webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
Modified:
webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/BusinessQueryManagerImpl.java
URL:
http://svn.apache.org/viewvc/webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/BusinessQueryManagerImpl.java?rev=796610&r1=796609&r2=796610&view=diff
==============================================================================
---
webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/BusinessQueryManagerImpl.java
(original)
+++
webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/BusinessQueryManagerImpl.java
Wed Jul 22 03:43:37 2009
@@ -83,6 +83,7 @@
* Implements the JAXR BusinessQueryManager Interface
* For futher details, look into the JAXR API Javadoc.
*
+ * @author <a href="mailto:[email protected]">Tom Cunningham</a>
* @author <a href="mailto:[email protected]">Anil Saldhana</a>
* @author <a href="mailto:[email protected]">Jeremy Boynes</a>
* @author <a href="mailto:[email protected]">Geir Magnusson Jr.</a>
Modified:
webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
URL:
http://svn.apache.org/viewvc/webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java?rev=796610&r1=796609&r2=796610&view=diff
==============================================================================
---
webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
(original)
+++
webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
Wed Jul 22 03:43:37 2009
@@ -81,6 +81,7 @@
* @author <a href="mailto:[email protected]">Anil Saldhana</a>
* @author <a href="mailto:[email protected]">Geir Magnusson Jr.</a>
* @author <a href="mailto:[email protected]">Kurt T Stam</a>
+ * @author <a href="mailto:[email protected]">Tom Cunningham</a>
*/
public class ScoutJaxrUddiHelper
{
@@ -875,13 +876,19 @@
TModelBag tbag = objectFactory.createTModelBag();
Iterator speciter = specifications.iterator();
while (speciter.hasNext()) {
- SpecificationLink specification =
(SpecificationLink) speciter.next();
- if (specification.getSpecificationObject() !=
null) {
- RegistryObject ro =
specification.getSpecificationObject();
- if (ro.getKey() != null) {
- Key key = ro.getKey();
-
tbag.getTModelKey().add(key.toString());
+ RegistryObject registryobject =
(RegistryObject) speciter.next();
+ if (registryobject instanceof
SpecificationLink) {
+ SpecificationLink specificationlink =
(SpecificationLink) registryobject;
+ if
(specificationlink.getSpecificationObject() != null) {
+ RegistryObject ro =
specificationlink.getSpecificationObject();
+ if (ro.getKey() != null) {
+ Key key = ro.getKey();
+
tbag.getTModelKey().add(key.toString());
+ }
}
+ } else {
+ // ebXML case - the RegistryObject is
an ExtrinsicObject
+ // Not implemented
}
}
return tbag;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]