title: Empty namespace being skipped while mapping JSON to an XML SOAP webservice in IBM APIConnect
body: <p>We have a requirement to map the incoming JSON request into a SOAP XML request to invoke back-end web-service.
  The schema definition of the XML request has the namespace configured as given below:</p>
  
  <p>The "Field2" field has an empty namespace defined and the back-end is expecting us to send the empty namespace in the request being sent to them. However, after mapping it, API Connect is skipping the empty namespace and not passing it to the back-end which is causing failures. Has anyone faced such issue and what was the work-around to pass the empty namespace?</p>
  
  <p>Definition:</p>
  
  <pre><code>ReqMsg:
    type: object
    properties:
      Header:
       type: object
       properties:
         Field1:
           type: string
         Field2:
           type: string
           xml:
           namespace: ''
     xml:
       namespace: 'urn:abc'
  </code></pre>
  
  <p>Expected request by back-end:</p>
  
  <pre><code>&lt;ReqMsg xmlns="urn:abc"&gt;
    &lt;Header&gt;
      &lt;Field1&gt;Create&lt;/Field1&gt;
      &lt;Field2 xmlns=""&gt;ABC&lt;/Field2&gt;
    &lt;/Header&gt;
  &lt;/ReqMsg&gt;
  </code></pre>
  
  <p>Request being sent by APIC:</p>
  
  <pre><code>&lt;ReqMsg xmlns="urn:abc"&gt;
    &lt;Header&gt;
      &lt;Field1&gt;Create&lt;/Field1&gt;
      &lt;Field2&gt;ABC&lt;/Field2&gt;
    &lt;/Header&gt;
  &lt;/ReqMsg&gt;
  </code></pre>