I have a blob of text representing an EPR which I convert to a Document. I now want to extract the Address from that EPR. To do so I'd like to use the Apache ws-addressing implementation which provides an AddressingHeaders class.
However I don't know how to create AddressingHeaders from a Document. All I can see is how to create an AddressingHeaders from a SOAPEnvelope. But even so how can I create a SOAPEnvelope from a Document?
Many thanks, David.
No matter what they say in Ohio, we're still first in flight!