Closed GoogleCodeExporter closed 9 years ago
I guess I have the error "Calais Backend-Server is Busy. Please try again
later." when it crashes. In this case, I retry some delay latter and it's ok
this way, but it doesn't mean that j-calais handles Open Calais' errors
correctly, though.
Thanks for all your work !
Original comment by ma.dous...@gmail.com
on 24 May 2011 at 4:52
Thank you I will add proper error handling for Open Calais XML errors.
Original comment by elmer.garduno@gmail.com
on 24 May 2011 at 4:58
Original comment by elmer.garduno@gmail.com
on 24 May 2011 at 5:00
I'll need to do an important refactoring of how the connection and parsing is
done in order to be able to process the error messages.
Original comment by elmer.garduno@gmail.com
on 4 Jul 2011 at 3:44
I guess so, unfortunately... Good luck if you take the job to the end !
Original comment by ma.dous...@gmail.com
on 4 Jul 2011 at 3:58
Hi, I have added appropriate error handling.
If an error returned by the OpenCalais Web service a CalaisException is thrown,
CalaisException contains all the information returned in the XML, and can be
retrieved using the following methods:
public String getMethod();
public String getCalaisRequestID();
public String getCreationDate();
public String getCalaisVersion();
public String getMessage();
Could you please test it using the following artifact and give me feedback so I
can release this changes.
<repositories>
<repository>
<id>sonatype-snapshots</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
<dependency>
<groupId>mx.bigdata.jcalais</groupId>
<artifactId>j-calais</artifactId>
<version>0.3-SNAPSHOT</version>
</dependency>
Or this jar:
http://code.google.com/p/j-calais/downloads/detail?name=j-calais-0.3-SNAPSHOT.ja
r
Thanks,
Original comment by elmer.garduno@gmail.com
on 17 Jul 2011 at 1:44
I'll give it a try along coming week and provide some feedback. Thanks for your
work !
Original comment by ma.dous...@gmail.com
on 17 Jul 2011 at 8:45
Original issue reported on code.google.com by
ma.dous...@gmail.com
on 24 May 2011 at 12:57