spring-guides / gs-consuming-web-service

Consuming a SOAP web service :: Learn how to create a client that consumes a WSDL-based service
http://spring.io/guides/gs/consuming-web-service
Apache License 2.0
136 stars 164 forks source link

Unknown jaxb exception #65

Closed azimlishakir closed 8 months ago

azimlishakir commented 8 months ago

I checked this dependency for java 21, it doesn't work, it works with java 17, but has anyone tested it for java 21?

`plugins { id 'org.springframework.boot' version '3.2.4' id 'io.spring.dependency-management' version '1.1.4' id 'java' id "org.owasp.dependencycheck" version "6.1.2" }

dependencies { implementation('org.springframework.boot:spring-boot-starter-web-services') { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat' } implementation "com.sun.xml.ws:jaxws-tools:3.0.0" implementation "jakarta.xml.ws:jakarta.xml.ws-api:3.0.0" implementation "jakarta.activation:jakarta.activation-api:2.0.0" implementation "com.sun.xml.ws:jaxws-rt:3.0.0"

implementation "jakarta.xml.bind:jakarta.xml.bind-api:3.0.0" implementation 'org.apache.httpcomponents:httpclient:4.5.13' }`