title: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/plain. Is this an error message instead of a SOAP response?
body: <p>Hello I am trying to create a dirty test for my soap integration test. I just got SSL working on my spring boot app and I wanted to see if it will hit my soap end point.</p>
  
  <p>When I run man verify on my integration test I get this error:</p>
  
  <pre><code>com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/plain. Is this an error message instead of a SOAP response?
  </code></pre>
  
  <p>Here is my test code :</p>
  
  <pre><code>@RunWith(SpringRunner.class)
  @SpringBootTest(classes = {EndPointTestConfiguration.class
  })
  
  
  public class SoapIT {
  private static ApplicationContext context;
      @BeforeClass
      static public void  setup(){
          SpringApplication springApplication = new SpringApplicationBuilder()           
                  .sources(MockServerApp.class)
                  .build();
          context = springApplication.run();
      }
  
  
      @Autowired
      private String studyDetailDemo;
      @Test
      public void soapTest() throws ClientProtocolException, IOException {
          String result = Request.Post("https://127.0.0.1:28443/nulogix/ws/billingtool")
                  .connectTimeout(2000)
                  .socketTimeout(2000)
                  .bodyString(studyDetailDemo, ContentType.TEXT_PLAIN)
                  .execute().returnContent().asString();
  
      }
  }
  </code></pre>
  
  <p>I am kind of new to integration testing and have no idea what this error means</p>
  
  <p>Thank you for any help</p>