Hi,
I make a servlet request, than my request computing on A servers and then
tyey calling another service calling but this is a web servis calling soap
on B servers.
The problem is when I open a connection my connection header is "text/html"
but the server B accept only "text/xml" header.
I set on these additiona header but the problem didnt solve.

HttpPost postMethod = new HttpPost("
http://tiklakazan3.turkcell.com.tr/TiklaKazanReg/Registration";);
postMethod.addHeader("Content-Type", "application/xml");
postMethod.addHeader("Accept", "text/xml");

How I can solve this problem?

Thanks.

Filiz Gökçe

Reply via email to