Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invalid Content-Type with Web Service!!

 
hani Ibrahim
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

i deploy a simple web service and test it in Sun it is work correctly..
but in webSphere when i called it from client it gives me that Exception:
---------------------------------------------------------------------------
SEVERE: SAAJ0537: SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
. Could be an error message instead of a SOAP message
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
---------------------------------------------------------------------------

any one has any idea about it?
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you explain how you deployed in websphere?
 
hani Ibrahim
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just walk step by step with Websphere wizard and check the option:
deploy web services.
if you know how to deploy web services correctly or how to deal with it please tell me to solve the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic