This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web-service built on Axis2-1.6 java code generation from wsdl does not support Soap1.2 msg binding

Tanmaya Mohanty
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am working on Axis2-1.6.1 java code generation from wsdl. I am facing an issue with a web-service, which uses axis2 generated code, and ready to consume by the clients.

This web-service is hosted on tomcat server. Problem with this, it accepts Soap1.1 and I required this to accept Soap1.2.
when I consume the service in Soap1.1 it works fine. In case of Soap1.2, the web-service is getting called and I could see my trace for the same, but from the client side I am getting an exception:

The content type text/xml;charset=utf-8 of the response message does not match
the content type of the binding (application/soap+xml; charset=utf-8). If using
a custom encoder, be sure that the IsContentTypeSupported method is implemented
properly. The first 0 bytes of the response were: ''.

I am not getting any clue to make this Soap1.2 compatible. Since I don’t really see it using Soap1.1 either in configuration file or code.

Any help would be greatly appreciated.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic