Hi! I'm having problems with the subscription process. I downloaded PuSH 
Java's implementation from 
here<http://code.google.com/p/pubsubhubbub-java/downloads/list>. 
When I open Test class I find these two lines:

*String hub = "http://myhub.example.com/endpoint";;
String hub_topic = "http://publisher.example.com/topic.xml";*

In order to adapt them to my exercise, I changed them like this:

*String hub = "http://pubsubhubbub.appspot.com/subscribe";;
String hub_topic = "http://192.168.1.100:8080/receiveTemplate/feed/";*

*http://192.168.1.100:8080/receiveTemplate/feed/* is a webpage with a 
servlet that returns a RSS feed when reached by a GET request.
If I now run Test class, the answer I get is this:
*
2012-10-18 16:07:02.765:INFO:oejs.Server:jetty-8.1.7.v20120910
2012-10-18 16:07:02.819:INFO:oejs.AbstractConnector:Started 
[email protected]:8080
http://MyPcName:8080/
the status code of the subscription is:409*

I haven't written anywhere a callback link, so I would like to know where 
should I write it (and if my previous lines are correct): should I write it 
as my *hostname* (within startServer() method)?
I also noticed that Subscriber and Web classes both have a String called *
contextPath* whose value is *"/push/"* for the first one and *"/push"* for 
the latter: is that a typo? Should I leave it like this or do I have to 
change them?

Reply via email to