Skip to content

Muhammederendemir/Spring-Boot-Soap-Web-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Soap Web Service

Spring Boot Soap Web Service

Spring Boot Soap Web Service

Prerequisites

  • Java 8
  • Maven 3.3+
  • Docker 19.03+
  • Docker Compose 1.25+

Used Technologies

  • Spring Boot 2.4.3
  • Spring Boot Web
  • Spring Boot Test
  • Maven Jib Plugin
  • Maven Clean Plugin
  • jaxb2-maven-plugin
  • wsdl4j

Installation

./mvnw compile jib:dockerBuild
docker-compose up -d 

Postman Request

You can access the Postman from the following url.

http://localhost:8080/ws

Postman Header

[{"key":"Content-Type","value":"text/xml","description":""}]

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:gs="http://com/muhammederendemir/soap">
    <soapenv:Header/>
    <soapenv:Body>
        <gs:getCountryRequest>
            <gs:name>Turkey</gs:name>
        </gs:getCountryRequest>
    </soapenv:Body>
</soapenv:Envelope>

Usage

Postman Request

Response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <ns2:getCountryResponse xmlns:ns2="http://com/muhammederendemir/soap">
            <ns2:country>
                <ns2:name>Turkey</ns2:name>
                <ns2:population>83614362</ns2:population>
                <ns2:capital>Ankara</ns2:capital>
                <ns2:currency>EUR</ns2:currency>
            </ns2:country>
        </ns2:getCountryResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Usage

Postman Request

WSDL file

http://localhost:8080/ws/countries.wsdl

Usage

Postman Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published