大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
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.
解决方案
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.
I think with the API that you want to use it is even easier:
Using Axis:
just download the java class of the client.
Then the jar
Satisfy the requirements: add this in the classpath
Using JAX-WS:
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!
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/158331.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...