[ http://issues.apache.org/jira/browse/AXIS2-993?page=all ]
Brian DePradine updated AXIS2-993:
----------------------------------
Attachment: newestpatch.txt
Hi,
I have now updated my patch to do the following:
1) I have added three new methods to
org.apache.axis2.addressing.AddressingHelper
OMElement toOM(EndpointReference epr, QName element, String
addressingNamespace);
EndpointReference fromOM(OMElement eprElement);
EndpointReference fromOM(OMElement eprElement, String addressingNamespace);
2) I have deprecated the following methods on
org.apache.axis2.addressing.EndpointReference
OMElement toOM(String nsurl, String localName, String prefix);
void fromOM(OMElement eprElement);
void setName(String localName);
String getName();
3) I have modified some code in the Savan module to use the new
AddressingHelper.toOM() method. I passed in an addressing namespace of
AddressingConstants.Submission.WSA_NAMESPACE. If this is not correct then I can
change it.
> 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: 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]