Make response part of body instead of header in SOAP response

I have requirements where I have to add response details in Body tag instead of Header. For now details are added in Header tag of soap response.

public class CheckBalanceResponse {
    private String checkBalanceResult;

    public String getCheckBalanceResult() {
        return checkBalanceResult;

    public void setCheckBalanceResult(String checkBalanceResult) {
        this.checkBalanceResult = checkBalanceResult;

Generated response is below:

<soap:Envelope xmlns:soap="">
      <CheckBalanceResponse xmlns="">
         <CheckBalanceResult>Incorrect PIN</CheckBalanceResult>

I want CheckBalanceResponse tag to be in Body instead of Header. Please suggest what should be done?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum