Skip to content

FanyCastro/SS_Consuming_SOAPEndPoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Problem 1: Create a Spring Service to consume a SOAP endpoint.

Develop a Spring Service using a TDD approach to consume the value from from the web service: DailyDilbert published in the following endpoint: http://www.gcomputer.net/webservices/dilbert.asmx

  1. WSDL: http://www.gcomputer.net/webservices/dilbert.asmx?WSDL

Build System: Maven | Gradle

Application componentes: src/main/java

  • Application.java (main class to run the application)
  • ComputerClient.java (create a web service client extending the WebServiceGatewaySupport class and code the operations)
  • ComputerService.java (class to perform service tasks)
  • ComputerConfiguration.java (configuring web service components)

Application componentes: src/main/resources

  • application.yml (properties)

Application componentes: src/test/java

  • ComputerServiceTest.java (class to test the application)

Building a Project with Maven

The vast majority of Maven-built projects can be built with the following command:

mvn clean install

This command tells Maven to build all the modules, and to install it in the local repository. The local repository is created in your home directory (or alternative location that you created it), and is the location that all downloaded binaries and the projects you built are stored.

How to run unit test with Maven

To run unit test via Maven, issue this command :

mvn test

This will run the entire unit tests in your project.

About

Problem 1: Create a Spring Service to consume a SOAP endpoint.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages