项目作者: humbertodias

项目描述 :
Java SOAP Demo Service
高级语言: Java
项目地址: git://github.com/humbertodias/java-soap-demo.git
创建时间: 2017-06-07T16:02:26Z
项目社区:https://github.com/humbertodias/java-soap-demo

开源协议:

下载


Java SOAP Service

SOAP service for my demonstration.

Prerequisites

  1. Java 8+
  2. Maven 3+

How to run

Clone

  1. git clone https://github.com/humbertodias/java-soap-demo

Inside

  1. cd java-soap-demo

Run

  1. mvn package
  2. mvn embedded-glassfish:run -Dhttp.port=8080

Output

  1. -------------------------------------------------------
  2. T E S T S
  3. -------------------------------------------------------
  4. INFO: Webservice Endpoint deployed CalculadoraWS
  5. listening at address at http://localhost:8080//CalculadoraWSService.
  6. jun 07, 2017 6:16:59 PM org.glassfish.webservices.metroglue.MetroContainer deployWsTxServices
  7. INFO: Loading WS-TX Services. Please wait.
  8. jun 07, 2017 6:16:59 PM org.glassfish.webservices.metroglue.MetroContainer deployWsTxServices
  9. WARNING: Cannot deploy or load WS-TX Services: Required WAR file (wstx-services.war) is not installed
  10. jun 07, 2017 6:16:59 PM com.sun.enterprise.web.WebApplication start
  11. INFO: Loading application [calculadora-jax-ws] at [/]
  12. jun 07, 2017 6:16:59 PM org.glassfish.deployment.admin.DeployCommand execute
  13. INFO: calculadora-jax-ws was successfully deployed in 1.808 milliseconds.
  14. jun 07, 2017 6:16:59 PM PluginUtil doDeploy
  15. INFO: Deployed calculadora-jax-ws
  16. Hit ENTER to redeploy, X to exit

Endpoint

http://localhost:8080/CalculadoraWSService

WSDL

http://localhost:8080/CalculadoraWSService?wsdl

Client

SoapUI > SOAP > Initial WSDL > http://localhost:8080/CalculadoraWSService?wsdl

References

Maven plugin for GlassFish

WebServices SOAP with JAX-WS