Hi,
I am trying to call the Open Calais Web Services through the HTTP POST interface and I get a 500 error. Here is more information regarding the request
POST
http://api.opencalais.com/enlighten/calais.asmx
Body of post:
licenseID=XXXXXXXXXXXXXX&content=Representative%20Capuano%20brought%20up%20an%20interesting%2C%20if%20somewhat%20implausible%20example%20of%20poor%20ad%20targeting%3A%20a%20message%20from%20a%20politician%20where%20an%20advertisement%20runs%20next%20to%20it%20for%20Viagra.%20A%20more%20likely%20example%20is%20something%20like%20what%20Adam%20found%20last%20month%2C%20on%20a%20CNN%20article%20headlined%20'Sixth%20Severed%20Foot%20Surfaces%20Off%20Canadian%20Coast'%2C%20accompanied%20by%20a%20banner%20advertisement%20for%20PutUpYourFeet.com%20(or%20one%20Sean%20came%20across%20this%20evening%3A%20sluttly%20clubwear%20for%20women%20on%20AintItCool%20News)¶msXML=%3Cc%3Aparams%20xmlns%3Ac%3D%22http%3A%2F%2Fs.opencalais.com%2F1%2Fpred%2F%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%3E%3Cc%3AprocessingDirectives%20c%3AcontentType%3D%22text%2Ftxt%22%20c%3AoutputFormat%3D%22text%2Fsimple%22%3E%3C%2Fc%3AprocessingDirectives%3E%3Cc%3AuserDirectives%20c%3AallowDistribution%3D%22false%22%20c%3AallowSearch%3D%22false%22%20c%3AexternalID%3D%22112121%22%20c%3Asubmitter%3D%22feedly%22%3E%3C%2Fc%3AuserDirectives%3E%3Cc%3AexternalMetadata%3E%3C%2Fc%3AexternalMetadata%3E%3C%2Fc%3Aparams%3E
Note: I have tried with both the paramsXML encoded and not encoded and I get that same error message. Do you have any idea of what I could be doing wrong?
I am a little stuck at this point and any help would be much appreciated.
Edwin


Comments
I found the problem. I was not using the right end point. I changed the end point to:
http://api.opencalais.com/enlighten/calais.asmx/Enlighten and I am now able to do simple request/responses. :-)