I'm trying to create a SOAP client for an existing web service. I used the
wsdl2java utility to generate a client from the project's wsdl. I am able to
populate a request, but when I submit it (running in Eclipse) I am getting a
415 response code. When I check the application log it indicates
"Unsupported Content-Type: application/x-www-form-urlencoded Supported ones
are: [text/xml]".

I have searched for how to set the content-type, but haven't been able to
find anything useful. I'm using CXF 2.2. Is there an easy way to accomplish
this?

Thanks,
Dave Derry
-- 
View this message in context: 
http://www.nabble.com/How-to-specify-content-type--tp25791924p25791924.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to