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.
Thanks,
Tan