Hi Everybody,
I have built a dot net web Service for publishing a crystal report as web service
in dot net framework. Now I need to consume this crystal report webservice in a
J2ee client using Weblogic.
I have been trying this refering in j2ee appln, and then setting the report source
property with the url of the webservice. java crystal report viewer is not
recognising this url, it's taking as a string path. But the dot net client
applications which refer crystal report viewer of dot net are working fine. Is
this becuase of the crystal report viewer in dot net is not compatible with Java
crystal report viewer.
I would appreciate any help regarding this.
Code:
CrystalReportViewer viewer = new CrystalReportViewer();
String rptSource =
"http://172.20.50.79/ReportWebService/BillingInvoiceService.asmx";
viewer.setReportSource(rptSource);
viewer.setDisplayGroupTree(false);
viewer.setHasLogo(false);
viewer.processHttpRequest(request,response,getServletConfig().getServletContext(),
null);
suntihasr