File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Converting from Document to SOAPEnvelope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Converting from Document to SOAPEnvelope" Watch "Converting from Document to SOAPEnvelope" New topic

Converting from Document to SOAPEnvelope

David Brossard
Ranch Hand

Joined: Jun 03, 2004
Posts: 109
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,

No matter what they say in Ohio, we're still first in flight!
I agree. Here's the link:
subject: Converting from Document to SOAPEnvelope
jQuery in Action, 3rd edition