• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

Thanks,
Tan
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic