title: How to convert byte array of a SOAP message to raw XML in Java
body: <p>I am working on a web service, services talk to each other with SOAPMessage (SOAP XML). SOAPMessage enters my method as a byte array </p>
  
  <blockquote>
    <p><code>public void process(byte xmlByteArray[]){
    ...
    .....
    }</code></p>
  </blockquote>
  
  <p>what i need is to convert this byte array to raw XML so that i can process it with JDOM. </p>
  
  <p>do you know any solution for this problem?</p>