I have to consume a Web Service from a java application; the WS is generated with LANSA toolset I think.
I built a test application and had to use a local .wsdl file the other side provided me.
When I built the program, the stubs and everything seemed to be built OK.
The return object had getter methods for all the appropriate strings being returned.
But, I get the following error:
Exception: Unsupported Content-Type: application/soap+xml; charset=utf-8 Supported ones are: [text/xml]
Would you know what I should be looking at? Is it something on the provider side? they told me that they auto-generate their WebServices so they cannot change anything.
I would appreciate any help on this. Thanks.
Our community of experts have been thoroughly vetted for their expertise and industry experience.