Advertisement

10.30.2007 at 08:50PM PDT, ID: 22928941
[x]
Attachment Details

Error trying to consume Web Services

Asked by awilner in Web Services for .Net, Web Services Description Language, SOAP

Tags: Java, Web Services

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.

Start Free Trial
[+][-]10.31.2007 at 03:28AM PDT, ID: 20183883

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Web Services for .Net, Web Services Description Language, SOAP
Tags: Java, Web Services
Sign Up Now!
Solution Provided By: ShahzadAtta
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.31.2007 at 10:04AM PDT, ID: 20187185

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628