You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pr...@apache.org on 2008/02/26 18:03:10 UTC

svn commit: r631299 - in /webservices/axis2/trunk/java/modules: jaxws-api/src/javax/xml/ws/wsaddressing/W3CEndpointReference.java jaxws/src/org/apache/axis2/jaxws/addressing/SubmissionEndpointReference.java

Author: pradine
Date: Tue Feb 26 09:03:09 2008
New Revision: 631299

URL: http://svn.apache.org/viewvc?rev=631299&view=rev
Log:
Specify the namespace explicitly in the JAXB annotations.

Modified:
    webservices/axis2/trunk/java/modules/jaxws-api/src/javax/xml/ws/wsaddressing/W3CEndpointReference.java
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/addressing/SubmissionEndpointReference.java

Modified: webservices/axis2/trunk/java/modules/jaxws-api/src/javax/xml/ws/wsaddressing/W3CEndpointReference.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-api/src/javax/xml/ws/wsaddressing/W3CEndpointReference.java?rev=631299&r1=631298&r2=631299&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-api/src/javax/xml/ws/wsaddressing/W3CEndpointReference.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws-api/src/javax/xml/ws/wsaddressing/W3CEndpointReference.java Tue Feb 26 09:03:09 2008
@@ -62,9 +62,9 @@
  * 
  * 
  */
-@XmlRootElement(name = "EndpointReference")
+@XmlRootElement(name = "EndpointReference", namespace = W3CEndpointReference.NS)
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "EndpointReferenceType", propOrder = {
+@XmlType(name = "EndpointReferenceType", namespace = W3CEndpointReference.NS, propOrder = {
     "address",
     "referenceParameters",
     "metadata",
@@ -74,11 +74,11 @@
     protected static final String NS = "http://www.w3.org/2005/08/addressing";
     protected static JAXBContext jaxbContext;
     
-    @XmlElement(name = "Address", required = true)
+    @XmlElement(name = "Address", namespace = NS, required = true)
     protected AttributedURIType address;
-    @XmlElement(name = "ReferenceParameters")
+    @XmlElement(name = "ReferenceParameters", namespace = NS)
     protected ReferenceParametersType referenceParameters;
-    @XmlElement(name = "Metadata")
+    @XmlElement(name = "Metadata", namespace = NS)
     protected MetadataType metadata;
     @XmlAnyElement(lax = true)
     protected List<Object> any;

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/addressing/SubmissionEndpointReference.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/addressing/SubmissionEndpointReference.java?rev=631299&r1=631298&r2=631299&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/addressing/SubmissionEndpointReference.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/addressing/SubmissionEndpointReference.java Tue Feb 26 09:03:09 2008
@@ -67,9 +67,9 @@
  * 
  * 
  */
-@XmlRootElement(name = "EndpointReference")
+@XmlRootElement(name = "EndpointReference", namespace = SubmissionEndpointReference.NS)
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "EndpointReferenceType", propOrder = {
+@XmlType(name = "EndpointReferenceType", namespace = SubmissionEndpointReference.NS, propOrder = {
     "address",
     "referenceProperties",
     "referenceParameters",
@@ -81,15 +81,15 @@
     protected static final String NS = "http://schemas.xmlsoap.org/ws/2004/08/addressing";
     protected static JAXBContext jaxbContext;
 
-    @XmlElement(name = "Address", required = true)
+    @XmlElement(name = "Address", namespace = NS, required = true)
     protected AttributedURI address;
-    @XmlElement(name = "ReferenceProperties")
+    @XmlElement(name = "ReferenceProperties", namespace = NS)
     protected ReferencePropertiesType referenceProperties;
-    @XmlElement(name = "ReferenceParameters")
+    @XmlElement(name = "ReferenceParameters", namespace = NS)
     protected ReferenceParametersType referenceParameters;
-    @XmlElement(name = "PortType")
+    @XmlElement(name = "PortType", namespace = NS)
     protected AttributedQName portType;
-    @XmlElement(name = "ServiceName")
+    @XmlElement(name = "ServiceName", namespace = NS)
     protected ServiceNameType serviceName;
     @XmlAnyElement(lax = true)
     protected List<Object> any;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org