views:

7

answers:

0

THe WSDL is: https://webqa.cfwebservices.dealerconnection.com/cfwebservices/fcsdwsdlservlet?wsdlfile=CMDPrv

I mocked a WebService response as:

<%
  response.setContentType("text/xml;charset=utf-8");
  response.addHeader("Pragma", "No-cache");
  response.addDateHeader("Expires", 0);
  response.addHeader("Cache-Control", "no-cache");

  StringBuilder sb = new StringBuilder();
        sb.append("<sProfile>")
              .append("<sReturnCode/>")
              .append("<sReturnMessage/>")
              .append("<sSiteSource>MYF</sSiteSource>")
...
out.write(sb.toString());
...
%>

WebService client are generated by Axis