On Wednesday 22 August 2007, Davide Gesino wrote: > ReportService service = new ReportService(wsdlURL, SERVICE_NAME); > CreditReportPortType port = > service.getCreditReportPortType();org.apache.cxf.endpoint.Client > client = org.apache.cxf.frontend.ClientProxy.getClient(service); > > When I call the last line of code now I get the following exception: > > Exception in thread "main" java.lang.IllegalArgumentException: not a > proxy instance
That should be: org.apache.cxf.endpoint.Client client = org.apache.cxf.frontend.ClientProxy.getClient(port); The client comes off the port, not the service. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog
