Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spring boot vsersion updated #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.10.RELEASE</version>
<version>3.2.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

Expand All @@ -40,7 +40,12 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.1</version>
</dependency>
</dependencies>

<build>
<plugins>
Expand All @@ -52,7 +57,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>1.6</version>
<version>1.5</version>
<executions>
<execution>
<id>xjc</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;

/**
* <p>Java class for anonymous complex type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;

/**
* <p>Java class for anonymous complex type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
* <p>Java class for user complex type.
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/user-request.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<soapenv:Header/>
<soapenv:Body>
<us:getUserRequest>
<us:name>Sam</us:name>
<us:name>Praneeth</us:name>
</us:getUserRequest>
</soapenv:Body>
</soapenv:Envelope>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package com.techprimers.springbootsoapexample;

/*
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
Expand All @@ -14,3 +14,4 @@ public void contextLoads() {
}

}
*/