Java class for anonymous complex type. diff --git a/src/main/java/com/techprimers/spring_boot_soap_example/GetUserResponse.java b/src/main/java/com/techprimers/spring_boot_soap_example/GetUserResponse.java index 3c3daa5..bdc6da8 100644 --- a/src/main/java/com/techprimers/spring_boot_soap_example/GetUserResponse.java +++ b/src/main/java/com/techprimers/spring_boot_soap_example/GetUserResponse.java @@ -8,12 +8,8 @@ package com.techprimers.spring_boot_soap_example; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.*; /** *
Java class for anonymous complex type. diff --git a/src/main/java/com/techprimers/spring_boot_soap_example/ObjectFactory.java b/src/main/java/com/techprimers/spring_boot_soap_example/ObjectFactory.java index 9ca0daf..f7bbfbe 100644 --- a/src/main/java/com/techprimers/spring_boot_soap_example/ObjectFactory.java +++ b/src/main/java/com/techprimers/spring_boot_soap_example/ObjectFactory.java @@ -8,8 +8,8 @@ package com.techprimers.spring_boot_soap_example; -import javax.xml.bind.annotation.XmlRegistry; +import jakarta.xml.bind.annotation.XmlRegistry; /** * This object contains factory methods for each diff --git a/src/main/java/com/techprimers/spring_boot_soap_example/User.java b/src/main/java/com/techprimers/spring_boot_soap_example/User.java index 63efdb8..c7df10b 100644 --- a/src/main/java/com/techprimers/spring_boot_soap_example/User.java +++ b/src/main/java/com/techprimers/spring_boot_soap_example/User.java @@ -8,11 +8,11 @@ package com.techprimers.spring_boot_soap_example; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; +import jakarta.xml.bind.annotation.XmlAccessType; +import jakarta.xml.bind.annotation.XmlAccessorType; +import jakarta.xml.bind.annotation.XmlElement; +import jakarta.xml.bind.annotation.XmlType; /** *
Java class for user complex type.
diff --git a/src/main/java/com/techprimers/springbootsoapexample/service/UserService.java b/src/main/java/com/techprimers/springbootsoapexample/service/UserService.java
index 401de1c..c839b1a 100644
--- a/src/main/java/com/techprimers/springbootsoapexample/service/UserService.java
+++ b/src/main/java/com/techprimers/springbootsoapexample/service/UserService.java
@@ -1,9 +1,10 @@
package com.techprimers.springbootsoapexample.service;
import com.techprimers.spring_boot_soap_example.User;
+import jakarta.annotation.PostConstruct;
import org.springframework.stereotype.Service;
-import javax.annotation.PostConstruct;
+
import java.util.HashMap;
import java.util.Map;
diff --git a/src/main/resources/user-request.xml b/src/main/resources/user-request.xml
index 7b16ddc..53c64a9 100644
--- a/src/main/resources/user-request.xml
+++ b/src/main/resources/user-request.xml
@@ -3,7 +3,7 @@