title: Missing/Invalid SOAP Envelope on SOAP request from SOAPUI
body: <p>I am generating a soap envelope with the <code>soap</code> package on NodeJS and generated envelope is below:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;  xmlns:msc=&quot;http://schemas.microsoft.com/ws/2005/12/wsdl/contract&quot; xmlns:i0=&quot;http://tempuri.org/&quot; xmlns:wsu=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&quot; xmlns:tns=&quot;http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice&quot; xmlns:sp=&quot;http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702&quot; xmlns:trust=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot; xmlns:q1=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot; xmlns:q2=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot; xmlns:q3=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot; xmlns:q4=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot; xmlns:q5=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot; xmlns:q6=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot; xmlns:q7=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot; xmlns:q8=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot;&gt;
      &lt;soap:Header&gt;
          &lt;Action&gt;http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue&lt;/Action&gt;
          &lt;MessageID&gt;urn:uuid:568d575f-6760-4fd7-837d-04c610abcff4&lt;/MessageID&gt;
          &lt;To&gt;https://kpsv2test.saglik.gov.tr/STS/STSService.svc&lt;/To&gt;
          &lt;ReplyTo&gt;
              &lt;Address&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/Address&gt;
          &lt;/ReplyTo&gt;
          &lt;SorgulayanKimlikNo&gt;10774881040&lt;/SorgulayanKimlikNo&gt;
          &lt;wsse:Security soap:mustUnderstand=&quot;1&quot; xmlns:wsse=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot; xmlns:wsu=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&quot;&gt;
              &lt;wsu:Timestamp wsu:Id=&quot;Timestamp-2021-02-26T13:15:20Z&quot;&gt;
                  &lt;wsu:Created&gt;2021-02-26T13:15:20Z&lt;/wsu:Created&gt;
                  &lt;wsu:Expires&gt;2021-02-26T13:25:20Z&lt;/wsu:Expires&gt;
              &lt;/wsu:Timestamp&gt;
              &lt;wsse:UsernameToken xmlns:wsu=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&quot; wsu:Id=&quot;SecurityToken-2021-02-26T13:15:20Z&quot;&gt;
                  &lt;wsse:Username&gt;test_user2&lt;/wsse:Username&gt;
                  &lt;wsse:Password Type=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText&quot;&gt;Twm=x5Gb&lt;/wsse:Password&gt;
                  &lt;wsse:Nonce EncodingType=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary&quot;&gt;r9V/OHo2DbI7hLmw+a2fpt12qZI=&lt;/wsse:Nonce&gt;
              &lt;/wsse:UsernameToken&gt;
          &lt;/wsse:Security&gt;
      &lt;/soap:Header&gt;
      &lt;soap:Body&gt;
          &lt;q7:RequestSecurityToken xmlns:q7=&quot;http://docs.oasis-open.org/ws-sx/ws-trust/200512&quot;&gt;
              &lt;wsp:AppliesTo xmlns:wsp=&quot;http://schemas.xmlsoap.org/ws/2004/09/policy&quot;&gt;
                  &lt;EndpointReference&gt;
                      &lt;Address&gt;https://kpsv2test.saglik.gov.tr/Router/RoutingService.svc&lt;/Address&gt;
                  &lt;/EndpointReference&gt;
              &lt;/wsp:AppliesTo&gt;
              &lt;trust:KeyType&gt;http://docs.oasis-open.org/ws-sx/ws-trust/200512/Bearer&lt;/trust:KeyType&gt;
              &lt;trust:RequestType&gt;http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue&lt;/trust:RequestType&gt;
          &lt;/q7:RequestSecurityToken&gt;
      &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  <p>I copied and pasted this request to SOAPUI but SOAPUI is giving below error.</p>
  <pre><code>ERROR:org.apache.xmlbeans.XmlException: Missing/Invalid SOAP Envelope, expecting [{http://www.w3.org/2003/05/soap-envelope}Envelope]
     org.apache.xmlbeans.XmlException: Missing/Invalid SOAP Envelope, expecting [{http://www.w3.org/2003/05/soap-envelope}Envelope]
      at com.eviware.soapui.impl.wsdl.support.soap.SoapUtils.getHeaderElement(SoapUtils.java:147)
      at com.eviware.soapui.impl.wsdl.support.wsa.WsaUtils.getHeader(WsaUtils.java:133)
      at com.eviware.soapui.impl.wsdl.support.wsa.WsaUtils.createNewWSAddressingRequest(WsaUtils.java:288)
      at com.eviware.soapui.impl.wsdl.support.wsa.WsaUtils.addWSAddressingRequest(WsaUtils.java:281)
      at com.eviware.soapui.impl.wsdl.submit.filters.WsaRequestFilter.filterAbstractHttpRequest(WsaRequestFilter.java:54)
      at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterRequest(AbstractRequestFilter.java:33)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.filterRequest(HttpClientRequestTransport.java:322)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:184)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:835)
  </code></pre>
  <p>I didn't understand where the problem is. Could you help me?</p>