It looks like in the SimpleTopic implementation only flat topic spaces are allowed:
http://www.globus.org/toolkit/docs/development/4.2-drafts/common/javawscore/ javawscore-release-notes.html#id2686167 Rachana > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Michael Katai > Sent: Thursday, September 13, 2007 5:20 AM > To: [email protected] > Subject: [gt-user] SimpleTopic Topicpath > > Hello! > > In addition to my pervious post, i wan't to ask if anybody > can describe the correct procedure to construct a topic tree. > > I tried the following procedure (simplified example): > Topic newTopic1 = new SimpleTopic(new QName(NS, "action")); > newTopic1.setTopicPath("action"); > > Topic newTopic2 = new SimpleTopic(new QName(NS, "action/x")); > newTopic2.setTopicPath("action"|"x"); > newTopic1.addTopic(newTopic2); > > In the line newTopic1.addTopic() i get the exception > java.lang.RuntimeException: Topic path either null or not > of size 1 So I don't understand, what should the topicpath > contain - why should the path be of size 1? > Can anybody tell me? > > And in addition: Is there another tutorial oder help in > addition to Borja Sotomayor's "The Globus Toolkit 4 > Programmer's Tutorial"? > > thanks, > michael > >
