SOAP API教程 [英] SOAP API Tutorial
问题描述
我必须指出,我通过这个问题去最佳肥皂教程(它主要专注于Android和我的工作是在普通Java不是Android)和我非常清楚,SOAP是一个协议不是一个API。这将是巨大的,如果有人可以直接我一些Java教程或例如使用任何基于SOAP API。我工作的EB眼睛搜索API HTTP://www.ebi。 ac.uk/Tools/webservices/services/eb-eye 有犯规存在任何REST API实现,所以我必须去与SOAP API。任何帮助,将AP preciated。
I must mention that I went through this question Best soap tutorials (it mostly focuses on Android and my work is in plain Java not Android)and I am very much aware that SOAP is a protocol not an API. It would be great if someone could direct me to some tutorial or example in Java for using any SOAP based API. I am working on the EB eye search API http://www.ebi.ac.uk/Tools/webservices/services/eb-eye There doesnt exist any REST API implementation so I have to go with SOAP API. ANY help would be appreciated.
推荐答案
正如我被你所指向的网站上看到,他们提到的Java轴。我会建议使用Axis SOAP库也为客户端,以确保没有滑倒通过。在COM prehensive指南轴可以在这里找到 。一个简单的一步一步的教程,让你开始可以发现 - 我想你是感兴趣的只是故事的客户端部分。
As I see on the site pointed by you, they mention axis for java. I would recommend using the Axis SOAP library also for the client to make sure nothing slips by. The comprehensive guide for Axis can be found here. A simple step-by-step tutorial to get you started can be found here - I suppose you are interested only in the client part of the story.
我觉得跟你想用它的API是更容易:
I think with the API that you want to use it is even easier:
使用轴:
- 只需下载Java类的<一个href=\"http://www.ebi.ac.uk/Tools/webservices/download_clients/java/src/uk/ac/ebi/webservices/axis1/EBeyeClient.java\"相对=nofollow>客户端。
- 然后罐子
- 满足要求:添加这个一>在classpath
- just download the java class of the client.
- Then the jar
- Satisfy the requirements: add this in the classpath
使用JAX-WS:
- 只需下载Java类的<一个href=\"http://www.ebi.ac.uk/Tools/webservices/download_clients/java/src/uk/ac/ebi/webservices/jaxws/EBeyeClient.java\"相对=nofollow>客户端。
- 然后罐子
- 满足要求:添加这个一>在classpath
- just download the java class of the client.
- Then the jar
- Satisfy the requirements: add this in the classpath
我希望它可以帮助你。祝你好运!
I hope it helps you. Good luck!
这篇关于SOAP API教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!