title: worklight adapter invoke web service. error Cannot read property Body
body: <p>Invoking the following adapter return <code>Ecma Error: TypeError: Cannot read property \"Body\" from undefined.</code></p>
  
  <p>I have read similar threads and had </p>
  
  <p><code>-Dorg.xml.sax.driver = com.sun.org.apache.xerces.internal.parsers.SAXParser</code> </p>
  
  <p>to eclipse.ini
  but didn't solve the issue.</p>
  
  <pre><code>function getStateDetails(idstate) { 
      var request='&lt;?xml version="1.0" encoding="utf-8"?&gt;'+
        '&lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;'
        +'&lt;soap:Body&gt;'
        + '&lt;test_demo&gt;&lt;in0&gt;{idstate}&lt;/in0&gt;&lt;/test_demo&gt;'
        +'&lt;/soap:Body&gt;'
        +'&lt;/soap:Envelope&gt;';
  
      var input = {
          method : 'post',
          returnedContentType : 'xml',
          path : '/axis2/services/ws_demo/test_demo.wsdl',
          body : {
              content: request.toString(),
              contentType: 'text/xml; charset=utf-8'
          }
      };
  
      var result = WL.Server.invokeHttp(input);
      return result.Envelope.Body;
  }
  </code></pre>