title: Receive String in Spring Boot SOAP Endpoint
body: <p>I need to create an Endpoint in Spring-boot to receive a SOAP request, but I need that request be a Java String. I have something like that:</p>
  
  <p>Config:</p>
  
  <pre><code>@Bean(name = "myService")
      public DefaultWsdl11Definition receiveM2Definition(XsdSchema mySchema) {
          DefaultWsdl11Definition wsdl11Definition = new 
          DefaultWsdl11Definition();
          wsdl11Definition.setPortTypeName("testPort");
          wsdl11Definition.setLocationUri("/my");
          wsdl11Definition.setTargetNamespace("http://test/me");
          wsdl11Definition.setSchema(mySchema);
          return wsdl11Definition;
  }
  </code></pre>
  
  <p>Endpoint:</p>
  
  <pre><code>@PayloadRoot(
  namespace       = "http://test/me", 
  localPart       = "getMyRequest"
  )
  @ResponsePayload
      public JAXBElement&lt;String&gt; getReq(@RequestPayload 
  JAXBElement&lt;String&gt; request) {
   .......   }
  </code></pre>
  
  <p>This work fine, but I need that my endpoint receives a String for my client instead of a JAXBElement.
  Is this possible?
  Thanks in advance.</p>