package Ġcom . pos . identity . business . config Ċ Ċ import Ġcom . pos . identity . endpoints . Identity Management Endpoint Ċ import Ġorg . springframework . boot . web . servlet . Servlet Registration Bean Ċ import Ġorg . springframework . context . ApplicationContext Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . core . io . Class Path Resource Ċ import Ġorg . springframework . ws . config . annotation . Enable Ws Ċ import Ġorg . springframework . ws . config . annotation . Ws Configurer Adapter Ċ import Ġorg . springframework . ws . transport . http . Message Dispatcher Servlet Ċ import Ġorg . springframework . ws . wsdl . wsdl 1 1 . Default W sdl 1 1 Definition Ċ import Ġorg . springframework . xml . xsd . Simple X sd Schema Ċ import Ġorg . springframework . xml . xsd . X sd Schema Ċ Ċ @ Enable Ws Ċ @ Configuration Ċ class ĠWeb Service Configuration Ġ: ĠW s Configurer Adapter () Ġ{ ĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġmessage Dispatcher Servlet ( application Context : ĠApplication Context ) Ġ= ĊĠĠĠĠĠĠĠ ĠMessage Dispatcher Servlet (). run Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset ApplicationContext ( application Context ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis Transform W sdl Locations Ġ= Ġtrue ĊĠĠĠĠĠĠĠĠĠĠĠ ĠServlet Registration Bean ( this , Ġ"/ api /* ") ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ( name Ġ= Ġ[" identity "]) ĊĠĠĠ Ġfun Ġdefault W sdl 1 1 Definition ( identity Schema : ĠX sd Schema ) Ġ= ĊĠĠĠĠĠĠĠ ĠDefault W sdl 1 1 Definition (). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Port TypeName (" Identity Management Port ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Location Uri ("/ api ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Target Namespace ( Identity Management Endpoint . NAMESPACE _ URL ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset Schema ( identity Schema ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġauthentication Schema () Ġ= ĠSimple X sd Schema ( Class Path Resource (" identity . xsd ")) Ċ }