wood burning stoves 2.0*
The moose likes Web Services and the fly likes Invalid Content-Type with Web Service!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
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://aspose.com/file-tools
 
subject: Invalid Content-Type with Web Service!!
 
Similar Threads
Exception when query the UDDI by JAXR
saaj problems
Problem in sending SOAP message using SAAJ on web service implemented in .NET
Internal server error in web service
SAAJ (SOAP 1.1) incompatibility with Java 1.6