Skip to content
View lzkhouloud23's full-sized avatar

Block or report lzkhouloud23

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
lzkhouloud23/README.md

soap-bank (Spring Boot + Spring-WS)

Build & Run

mvn clean package
mvn spring-boot:run

WSDL

Open: http://localhost:8080/ws/bank.wsdl

Postman tests

GetAccount

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:ban="http://example.com/bank">
  <soapenv:Header/>
  <soapenv:Body>
    <ban:GetAccountRequest>
      <ban:accountId>A100</ban:accountId>
    </ban:GetAccountRequest>
  </soapenv:Body>
</soapenv:Envelope>

Deposit

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:ban="http://example.com/bank">
  <soapenv:Header/>
  <soapenv:Body>
    <ban:DepositRequest>
      <ban:accountId>A100</ban:accountId>
      <ban:amount>20.00</ban:amount>
    </ban:DepositRequest>
  </soapenv:Body>
</soapenv:Envelope>

Fault (amount <= 0)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:ban="http://example.com/bank">
  <soapenv:Header/>
  <soapenv:Body>
    <ban:DepositRequest>
      <ban:accountId>A100</ban:accountId>
      <ban:amount>-5</ban:amount>
    </ban:DepositRequest>
  </soapenv:Body>
</soapenv:Envelope>

Popular repositories Loading

  1. spring_boot spring_boot Public

  2. lzkhouloud23 lzkhouloud23 Public

    Config files for my GitHub profile.

    Java

  3. wellBeingApii wellBeingApii Public

  4. khouloud khouloud Public

    JavaScript

  5. toDoDjango toDoDjango Public

    site web to doListe

    HTML

  6. TP2 TP2 Public

    Java