how to create SOAP webservice?

hey guys. i need to code soap webservice. i was wondering if you could help me out with a couple of questions?
1. i have these dependencies in my gradle file. do ineed smth more?
dependencies {
    xsd2java "com.sun.xml.bind:jaxb-xjc:2.2.6"
    xsd2java "com.sun.xml.bind:jaxb-impl:2.2.6"
    xsd2java "jakarta.xml.bind:jakarta.xml.bind-api:2.3.2"
    xsd2java "org.glassfish.jaxb:jaxb-runtime:2.3.2"

    implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml'

    implementation 'org.springframework.boot:spring-boot-starter-web'
    implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
    implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
    implementation 'org.springframework.boot:spring-boot-starter-security'

    implementation 'org.springframework.security:spring-security-test'
    implementation 'org.springframework.boot:spring-boot-devtools'

    implementation 'io.springfox:springfox-swagger2:3.0.0'  //:
    implementation 'io.springfox:springfox-swagger-ui:3.0.0' //:2.9.2

    implementation 'commons-codec:commons-codec:1.14' //:2.9.2
    implementation 'org.apache.httpcomponents:httpclient:4.5.14'

    compileOnly 'org.projectlombok:lombok:1.18.32'
    runtimeOnly 'org.postgresql:postgresql'
    annotationProcessor 'org.projectlombok:lombok:1.18.32'
    testImplementation('org.springframework.boot:spring-boot-starter-test') {
        exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
    }
    testCompile group: 'junit', name: 'junit', version: '4.12'

}

2. im given a wsdl file. do i need to have an xsd file too?
3. do i still need a controller?
thanks in advance
Was this page helpful?