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

Reply via email to