[ http://issues.apache.org/jira/browse/AXIS2-993?page=all ]

Brian DePradine updated AXIS2-993:
----------------------------------

    Attachment: finalpatch.txt

Submitting a final patch for this issue. Please ignore all previous patches.

1) The new helper methods are now in a class called EndpointReferenceHelper, 
which is a new class in the Addressing module. Anyone who uses these methods 
will now have an explicit dependency on the Addressing module.

2) Changed the method,

EndpointReference fromOM(OMElement eprElement, String addressingNamespace);

to

void fromOM(EndpointReference epr, OMElement eprElement, String 
addressingNamespace)

> org.apache.axis2.addressing.EndpointReference should explicitly save the 
> WS-Addressing namespace
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-993
>                 URL: http://issues.apache.org/jira/browse/AXIS2-993
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: Addressing
>            Reporter: Brian DePradine
>            Priority: Blocker
>         Attachments: finalpatch.txt, newerpatch.txt, newestpatch.txt, 
> newpatch.txt, patch.txt
>
>
> Currently, the EndpointReference class always assumes that it is a 
> representation of endpoint references based on the WS-Addressing 2005/08 
> (final) spec. However, this class is also used to represent endpoint 
> references based on the 2004/08 (submission) spec. The problem is that the 
> methods toOM() and fromOM() only work correctly in the former case. If the 
> EndpointReference class is modified to explicitly save the WS-Addressing 
> namespace then these methods can be made to work correctly for both specs. 
> Patch to follow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to