Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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!
Don't get me started about those stupid light bulbs.
subject: Converting from Document to SOAPEnvelope
Similar Threads
[SOAP-ENV:Envelope: null]
need help with document based web services
Adding JAXB object to Soap Header
difference between JAXRPC and SOAP
Binding XML to Java from SOAP message