title: SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message
body: <p>I want to run a java application which calls a web service. Everything works fine from the netbeans ide, but fails when I run the .jar generated. What could be the problem?
  How can I check the content type that the error is pointing at?</p>
  
  <p>the error says: "<strong>SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message. com.sun.xml.messaging.saaj.MessageImpl identifyContentType</strong>"</p>
  
  <p>EDIT
  I am realizing that the problem could be originated by the fact that the web service that Im consuming uses a custom data type, but I have no idea where to look. 
  Please help</p>