使用 Coldfusion 以编程方式访问 Google Voice Java API
谁能告诉我如何使用 Coldfusion 访问 Google Voice Java API 并与之交互?
具体来说,我如何访问 API jar 文件?
我如何通过 Coldfusion 的 Java 功能以编程方式访问这些文件/类?例如,在 CFC 中,我需要调用哪些 java 类/函数?
更基本的是,Java API jar 需要安装在哪个 Coldfusion 文件夹中?
Stackoverflow 成员 @GuidDoody 提到他能够在此处成功使用 Java API 与 Coldfusion:CFHTTP用于发布到 Google Voice“API”的内容长度标头。但具体如何操作,并没有详细说明!
或者,我是否最好只使用 CFHTTP 以编程方式“破解”登录和数据捕获序列?
这是我迄今为止搜索过的资源。但我需要有关执行上述步骤 1 - 3 的帮助:
Google Voice Java API 操作方法:http://code.google.com/p/google-voice-java/wiki/GettingStarted
Java API 字符串值对:http://www.google.com/support/ forum/p/voice/thread?tid=7d165bcdbdba6464&hl=en
谢谢
Jason
Can anyone tell me how to use Coldfusion to access and interact with the Google Voice Java API?
Specifically how would I access API jar files?
How would I programtically access these files/classes via Coldfusion's Java capabilities? For example within a CFC what java classes/functions would I need to call?
Even more basic, in which coldfusion folder would the Java API jar need to be installed?
Stackoverflow member @GuidDoody mentioned he was able to successfully use the Java API with Coldfusion here: CFHTTP Content-Length Header for post to Google Voice "API" . However, no details were given as to how!
Alternatively, am I better off just using CFHTTP to "hack" a log-in and data capture sequence programamtically?
Here is are the resources I've searched so far. But I need help on doing steps 1 - 3 above :
Google Voice Java API How to: http://code.google.com/p/google-voice-java/wiki/GettingStarted
Java API string value pairs: http://www.google.com/support/forum/p/voice/thread?tid=7d165bcdbdba6464&hl=en
@GuidDoody's use of CFHTTP: CFHTTP Content-Length Header for post to Google Voice "API"
Thanks
Jason
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为 Mark Mandel 的 JavaLoader 就是您正在寻找的: http://javaloader.riaforge.org/
这是一个我如何使用它来使用 Evernote API jar 文件的示例:
I think Mark Mandel's JavaLoader is what you are looking for: http://javaloader.riaforge.org/
Here's an example of how I used it to use the Evernote API jar files: