This project is read-only.

Error

Jul 15, 2009 at 6:24 AM

HI, I got some error on your sample.

in line

// call web service to get response
            string response = _webServiceProxy.Enlighten(ApiKey, Content, paramsXml);

error message as following

<html><head><title>Apache Tomcat/5.5.9 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.RuntimeException: An earlier attempt to initialize the calais-logic module has already failed: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException: The element type "entry" must be terminated by the matching end-tag "</entry>".
    com.clearforest.calais.ClfCalaisImpl.getInstance(ClfCalaisImpl.java:38)
    com.clearforest.calais.servlets.CalaisDotnetBackwardCompatabilityServlet.processRequest(CalaisDotnetBackwardCompatabilityServlet.java:104)
    com.clearforest.calais.servlets.CalaisDotnetBackwardCompatabilityServlet.doPost(CalaisDotnetBackwardCompatabilityServlet.java:121)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.9</h3></body></html>
--.

Aug 29, 2009 at 2:25 PM
Edited Aug 29, 2009 at 2:25 PM

Hi,

 

The opencalais wsdl has changed so when you call _webServiceProxy.Enlighten you will get an error as the content will be null. Regenerate the class by using the bat file in the solution folder.  Hope this helps. I am using the v4 support in branch tree.

Also does anyone know if this project has been abandoned as there has been no activity for a while.

Sep 3, 2009 at 7:07 PM

Hi Steve,

Thanks for the update :)

Work has not been abandoned (just a little slow due to r/l work constraints) .. I am currently looking at developing a system so Calais can auto-generate the classes it needs to use from the RDFS file provided by Calais. This will hopefully reduce the amount of analysis required each time a new version of the service is released and new features are added. Unfortunately i was close to releasing something but this issue (http://calaisdotnet.codeplex.com/WorkItem/View.aspx?WorkItemId=13525) has throw a bit of a spanner in the works. I am now looking at some other parsers as sometimes my understanding of the rules of RDF is the limitation here.

I hope to have an update soon..

Regards

[mRg]