0
Answer

Cannot connect to a webservice under remote tomcat server

therese farhat

therese farhat

14y
7.9k
1

Hello,
I want to create a .net project and connect to a fax webservice so that I can use its features remotely. The fax webservice is a wsdl file located under tomcat server webapps folder. To connect to this webservice I use the following URL : http://serverIP:8080/faxservice/Fax.wsdl. At runtime when trying to get the result of a fax feature I get the following error: Client found response content type of '', but expected 'text/xml'. I removed the "redirectport" tag from the "http connector on port 8080" from the server.xml file under tomcat configuration. I can open the wsdl file from my browser.
What could be the problem, how can I proceed in resolving it?
Thanks in advance,