title: How to pass soap response to next viewController in swift3
body: <p>I am working on swift3 with SOAP. I received response from soap but i can not send this response to my secondView Controller </p>
  
  <pre><code>Body: &lt;&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;&lt;SOAP-ENV:Envelope 
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-
  ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;&lt;SOAP-ENV:Body&gt;
  &lt;ns1:doRegisterUserResponse 
  xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;response&gt;&lt;status 
  xsi:type="xsd:string"&gt;successful&lt;/status&gt;&lt;/response&gt;
  &lt;/ns1:doRegisterUserResponse&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-
  ENV:Envelope&gt;&gt;.value
  Response = successful
  </code></pre>
  
  <p>I tried to pass with </p>
  
  <pre><code>override func prepare(for segue: UIStoryboardSegue, sender: Any?)
  {
  
  if (segue.identifier == "secondView")
      {
  
          let  DestViewController1:secondViewController = segue.destination as! secondViewController
          DestViewController1.responseText = self.value(forKey: status as String) as! String!
  
      }
  }
  </code></pre>
  
  <p>Please help Thankyou</p>