File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Converting from Document to SOAPEnvelope" Watch "Converting from Document to SOAPEnvelope" New topic
Author

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,
David.


No matter what they say in Ohio, we're still first in flight!
 
 
subject: Converting from Document to SOAPEnvelope