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 @@ * * */ [EMAIL PROTECTED](name = "EndpointReference") [EMAIL PROTECTED](name = "EndpointReference", namespace = W3CEndpointReference.NS) @XmlAccessorType(XmlAccessType.FIELD) [EMAIL PROTECTED](name = "EndpointReferenceType", propOrder = { [EMAIL PROTECTED](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 @@ * * */ [EMAIL PROTECTED](name = "EndpointReference") [EMAIL PROTECTED](name = "EndpointReference", namespace = SubmissionEndpointReference.NS) @XmlAccessorType(XmlAccessType.FIELD) [EMAIL PROTECTED](name = "EndpointReferenceType", propOrder = { [EMAIL PROTECTED](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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]