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
2018 SOAP(1)Introduction and Build the Client/Server from WSDL
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326079977&siteId=291194637
Ranking