1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionEndpointReference.java Thu Apr 04 19:05:24 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionEndpointReference.java Tue Apr 09 14:51:13 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -81,8 +81,9 @@ 1.11 */ 1.12 public MemberSubmissionEndpointReference(@NotNull Source source) { 1.13 1.14 - if (source == null) 1.15 + if (source == null) { 1.16 throw new WebServiceException("Source parameter can not be null on constructor"); 1.17 + } 1.18 1.19 try { 1.20 Unmarshaller unmarshaller = MemberSubmissionEndpointReference.msjc.createUnmarshaller(); 1.21 @@ -102,6 +103,7 @@ 1.22 } 1.23 } 1.24 1.25 + @Override 1.26 public void writeTo(Result result) { 1.27 try { 1.28 Marshaller marshaller = MemberSubmissionEndpointReference.msjc.createMarshaller(); 1.29 @@ -160,6 +162,7 @@ 1.30 @XmlAnyElement 1.31 public List<Element> elements; 1.32 1.33 + @XmlType(name="address", namespace=MemberSubmissionEndpointReference.MSNS) 1.34 public static class Address { 1.35 public Address() { 1.36 } 1.37 @@ -170,6 +173,7 @@ 1.38 public Map<QName, String> attributes; 1.39 } 1.40 1.41 + @XmlType(name="elements", namespace=MemberSubmissionEndpointReference.MSNS) 1.42 public static class Elements { 1.43 public Elements() {} 1.44