• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in Simple Client-Server sending SOAP messages

 
chander shivdasani
Ranch Hand
Posts: 206
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm started reading the following tutorial to come up with a simple Client Server that sends SOAP messages. I'm getting the following error:
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?

I'm using apache tomcat - 6.0.32. I have also attached my log file. I have spent almost 3 hrs on it, but couldnt find what went wrong. The following is my code:

SOAPClient.java


SOAPServer.java


web.xml


LOG:


 
chander shivdasani
Ranch Hand
Posts: 206
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is solved. The problem was with missing jar's. I had them in my classpath, but i forgot to add them in my Tomcat/lib folder.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic