title: how to get child element from SOAP body?
body: <p>How can I get clientCode from requestHeader which is located under SOAP body?</p>
  
  <pre><code>&lt;soapenv:Body&gt;
        &lt;ser:GS&gt;
           &lt;!--Optional:--&gt;
           &lt;requestHeader&gt;
              &lt;!--Optional:--&gt;
              &lt;req:clientCode&gt;KL7MU&lt;/req:clientCode&gt;
              &lt;!--Optional:--&gt;
              &lt;req:clientUsername&gt;BLABLA&lt;/req:clientUsername&gt;
           &lt;/requestHeader&gt;
        &lt;/ser:GS&gt;
     &lt;/soapenv:Body&gt;
  </code></pre>
  
  <p>I try to get but <code>iterator.hasNext()</code> returns <code>false</code>.</p>
  
  <pre><code>SOAPBody soapBody = context.getMessage().getSOAPBody();
  
  java.util.Iterator iterator = soapBody.getChildElements();
  while (iterator.hasNext()) {
    SOAPBodyElement bodyElement = (SOAPBodyElement) iterator.next();
    String val = bodyElement.getValue();
    System.out.println("The Value is:" + val);
  }
  </code></pre>