aspose file tools
The moose likes Web Services and the fly likes Invalid Content-Type with Web Service!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Invalid Content-Type with Web Service!!" Watch "Invalid Content-Type with Web Service!!" New topic
Author

Invalid Content-Type with Web Service!!

hani Ibrahim
Ranch Hand

Joined: Sep 06, 2006
Posts: 182
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

Joined: Nov 16, 2005
Posts: 502

can you explain how you deployed in websphere?


Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />prabhu.venkatachalam@gmail.com
hani Ibrahim
Ranch Hand

Joined: Sep 06, 2006
Posts: 182
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Invalid Content-Type with Web Service!!
 
Similar Threads
Problem in sending SOAP message using SAAJ on web service implemented in .NET
Internal server error in web service
saaj problems
Exception when query the UDDI by JAXR
SAAJ (SOAP 1.1) incompatibility with Java 1.6