Removing namespace prefix from Web Service Request
<p>How to remove namespace (here ws in request xml)</p>

<pre><code>public class SOAPInputGenerator2 {

    public static void main(String[] args) throws Exception {

        WsdlProject project = new WsdlProject();

        String url = new String("http://ws.cdyne.com/emailverify/Emailvernotestemail.asmx?WSDL");

        WsdlInterface[] wsdls = WsdlImporter.importWsdl(project, url);
        WsdlInterface wsdl = wsdls[0];

        Iterator&lt;com.eviware.soapui.model.iface.Operation&gt; itr = wsdl.getOperationList().iterator();
        WsdlOperation op;
        while (itr.hasNext()) {
            op = (WsdlOperation) itr.next();


            System.out.println("Operation: " + op.getName());

            System.out.println("Request here: ");
            System.out.println(op.createRequest(true));


            System.out.println("Response here: ");
            System.out.println(op.createResponse(true));
        }

    }
</code></pre>

<p>I have above class which generates request like this: <br/></p>

<pre><code>    &lt;soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" **xmlns:ws="http://ws.cdyne.com/"&gt;**
   &lt;soap:Header/&gt;
   &lt;soap:Body&gt;
      **&lt;ws:AdvancedVerifyEmail&gt;**
         &lt;!--Optional:--&gt;
         **&lt;ws:email&gt;?&lt;/ws:email&gt;**
         **&lt;ws:timeout&gt;?&lt;/ws:timeout&gt;**
         &lt;!--Optional:--&gt;
         **&lt;ws:LicenseKey&gt;?&lt;/ws:LicenseKey&gt;
      &lt;/ws:AdvancedVerifyEmail&gt;**
   &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;
</code></pre>

<p>but expected result is without namespace. I have already tried solutions from [<a href="https://stackoverflow.com/questions/12889943/customising-jax-ws-prefix-of-a-soap-response]">Customising JAX-WS prefix of a SOAP response</a> and [<a href="https://stackoverflow.com/questions/16616544/removing-namespace-prefix-in-the-output-of-spring-ws-web-service]">Removing namespace prefix in the output of Spring WS web service</a>, but not getting expected output like</p>

<pre><code>&lt;soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ws="http://ws.cdyne.com/"&gt;
   &lt;soap:Header/&gt;
   &lt;soap:Body&gt;
      &lt;AdvancedVerifyEmail&gt;
         &lt;!--Optional:--&gt;
         &lt;email&gt;?&lt;/email&gt;
         &lt;timeout&gt;?&lt;/timeout&gt;
         &lt;!--Optional:--&gt;
         &lt;LicenseKey&gt;?&lt;/LicenseKey&gt;
      &lt;/AdvancedVerifyEmail&gt;
   &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;
</code></pre>