Skip to content

Commit 40f57cc

Browse files
committed
SWS-596 - MessageAddressingProperties not Serializable
1 parent 9fedbac commit 40f57cc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

core/src/main/java/org/springframework/ws/soap/addressing/core/EndpointReference.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.ws.soap.addressing.core;
1818

19+
import java.io.Serializable;
1920
import java.net.URI;
2021
import java.util.Collections;
2122
import java.util.List;
@@ -31,7 +32,9 @@
3132
* @see <a href="http://www.w3.org/TR/ws-addr-core/#eprs">Endpoint References</a>
3233
* @since 1.5.0
3334
*/
34-
public final class EndpointReference {
35+
public final class EndpointReference implements Serializable {
36+
37+
private static final long serialVersionUID = 8999416009328865260L;
3538

3639
private final URI address;
3740

core/src/main/java/org/springframework/ws/soap/addressing/core/MessageAddressingProperties.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.ws.soap.addressing.core;
1818

19+
import java.io.Serializable;
1920
import java.net.URI;
2021
import java.util.Collections;
2122
import java.util.List;
@@ -29,7 +30,9 @@
2930
* @see <a href="http://www.w3.org/TR/ws-addr-core/#msgaddrprops">Message Addressing Properties</a>
3031
* @since 1.5.0
3132
*/
32-
public final class MessageAddressingProperties {
33+
public final class MessageAddressingProperties implements Serializable {
34+
35+
private static final long serialVersionUID = -6980663311446506672L;
3336

3437
private final URI to;
3538

0 commit comments

Comments
 (0)