• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

"SAAJ0537: Invalid Content-Type" Exception  RSS feed

 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using SAAJ and JAXM API implementations. When I send request soap message to the service I am getting back response soap message from the service but the client is abnormally terminating with exception "SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message". The details are hereunder.

Can anyone please tell me why I am getting this exception. As you see my client and service soap message consrtruction, I am using the same soap message for sending and receiving. Also, I see there are some junk characters like "179", "0" in my response soap message. I dont why they are generated by JAXM/SAAJ API








MessageReceiver.java
---------------------------------------------------------------------------





Response SOAP Message
---------------------------------------------------------------------------







Exception on Client Side
---------------------------------------------------------------------------







Thanks & Regards,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!