I have found something a bit odd while looking at the source code for
Subscribe and SubscribeResponse.
The Subscribe class does something like this in it's toXML(Document doc)
method
EndpointReference consumer = getConsumerReference();
XmlUtils.setElement(root, WsnConstants.CONSUMER_QNAME, consumer);
while SubscribeResponse is doing something like this (in the same method)
Element eprXML = getSubscriptionReference().toXML();
XmlUtils.setElement(root, WsnConstants.SUBSCRIPTION_EPR_QNAME, eprXML);
I wanted to know if there is some reason for which SubscribeResponse does
not just get the subscription epr and set it as the element and instead gets
the XML representation of the epr. This is causing me some issues with
serialization, as I have modified XmlUtils a bit in order to serialize
EndpointReferences correctly.
--
View this message in context:
http://www.nabble.com/Subscribe-and-SubscribeResponse-tf4238546.html#a12060177
Sent from the Muse User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]