专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > XML/SOAP

2018 SOAP(一)Introduction and Build the Client/Server from WSDL

发布时间:2010-05-20 14:01:29 文章来源:www.iduyao.cn 采编人员:星星草
2018 SOAP(1)Introduction and Build the Client/Server from WSDL
2018 SOAP(1)Introduction and Build the Client/Server from WSDL

Recently, deal with SOAP, it drives me back to 2004 in Alibaba. SOAP services. Old days.

Generate the JAVA client codes from WSDL
http://sillycat.iteye.com/blog/716791
http://sillycat.iteye.com/blog/2229813
http://sillycat.iteye.com/blog/2230083

wsimport is installed if we have jdk 8.
> wsimport -version
wsimport version "2.2.9"

Try to generate the client and check the API
> wsimport -keep -verbose -B-XautoNameResolution -s src/main/java/ -p com.lifesize.servicessoapexport.ws https://directory.starleaf.com/dir?wsdl


Try to build Service from WSDL
Download Tomcat 9.0.6, Set up that and start with Dynamic Web Project
Give project a name services.soapexport.server.java, all the way “Next”

Select on the Project, say “New” —> “Web Service”
“Top Down Java Bean Web Service”
“Browse” and put the WSDL URL there
Start Service for Server side, No client for Client side

Check Publish the web service and Monitor the web service, all the way “Next” —> “Finish"

Visit page http://localhost:8080/services.soapexport.server.java/services/PhoneBookServiceSoap?wsdl

References:
https://github.com/vpulim/node-soap
https://github.com/RobinBuschmann/soap-typescript

Some JAVA Related SOAP
http://sillycat.iteye.com/blog/2229813
http://sillycat.iteye.com/blog/2230083

http://sillycat.iteye.com/blog/1555080

http://sillycat.iteye.com/blog/1276828
http://sillycat.iteye.com/blog/990330

http://sillycat.iteye.com/blog/563748
http://sillycat.iteye.com/blog/716791
http://sillycat.iteye.com/blog/837803
http://sillycat.iteye.com/blog/841804

Start a SOAP Server from WSDL
https://wiki.eclipse.org/Creating_a_Top-Down_Java_Web_Service_Skeleton_from_a_WSDL_Document
https://docs.oracle.com/cd/E19509-01/820-7006/ghyto/index.html
https://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_52/jdtut_11r2_52_3.html





友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: