title: SAAJ0511: Unable to create envelope from given source
body: <p>I'm new to spring boot and web services and am trying to create a <code>soap</code> webservice, I followed a tutorial but i keep getting the below error:</p>
  
  <p><code>SAAJ0511: Unable to create envelope from given source</code> </p>
  
  <p>the code snippet is as below:</p>
  
  <p>thats the <code>xsd</code> : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;schema xmlns="http://www.w3.org/2001/XMLSchema"
          targetNamespace="http://www.binarystorage.com/binary-storage-soap"
          xmlns:tns="http://www.binarystorage.com/binary-storage-soap"
          elementFormDefault="qualified"&gt;
  
      &lt;element name="store-request" type="tns:binaryData"/&gt;
      &lt;element name="store-response" type="tns:idBody"/&gt;
      &lt;element name="retrieve-request" type="tns:idBody"/&gt;
      &lt;element name="retrieve-response" type="tns:binaryData"/&gt;
      &lt;element name="remove-request" type="tns:idBody"/&gt;
      &lt;element name="remove-response"/&gt;
      &lt;complexType name="binaryData"&gt;
          &lt;sequence&gt;
              &lt;element name="name" type="string"/&gt;
              &lt;element name="content" type="string"/&gt;
              &lt;element name="content-type" type="string"/&gt;
              &lt;element name="meta" minOccurs="0" maxOccurs="unbounded"&gt;
                  &lt;complexType&gt;
                      &lt;attribute name="key" type="string"&gt;&lt;/attribute&gt;
                      &lt;attribute name="value" type="string"&gt;&lt;/attribute&gt;
                  &lt;/complexType&gt;
              &lt;/element&gt;
          &lt;/sequence&gt;
      &lt;/complexType&gt;
      &lt;complexType name="idBody"&gt;
          &lt;sequence&gt;
              &lt;element name="id" type="string"/&gt;
          &lt;/sequence&gt;
      &lt;/complexType&gt;
  &lt;/schema&gt;
  </code></pre>
  
  
  
  <p>and the screen shot below is my try for an endpoint :</p>
  
  <p><a href="https://i.stack.imgur.com/ko0ww.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ko0ww.png" alt="thats the endpoint"></a></p>
  
  <p>Please advice</p>
  
  <p>Thanks</p>