Hi,

It seems that you have different versions of OrderDataMerging class on build 
and at the runtime.

Regards,
Andrei.

> -----Original Message-----
> From: Hilderich [mailto:[email protected]]
> Sent: Mittwoch, 26. Juni 2013 13:27
> To: [email protected]
> Subject: [SPAM] Client cannot connect: no Implementation found
> 
> Hallo All!
> 
> We have a web service via CXF running and the wsdl is accessible. There are
> two operations available: /importOrder /and /deleteBrandData/
> 
> With the help of Maven and cxf I have generated the essential classes via
> wsdl2java and now to be able for constructing a client:
> 
> /URL url = new URL("http://localhost:8181/engine/datacombination?wsdl";);
> QName SERVICE_NAME = new
> QName("http://datacombination.engine.com/";,
> "OrderDataMergingService");
> Service service = OrderDataMergingService.create(url, SERVICE_NAME);
> OrderDataMerging om = service.getPort(OrderDataMerging.class);
> String orderId = om.importOrder(wsRequest);/
> 
> When I call this an exception occurs:
> /
> javax.xml.ws.WebServiceException:
> org.apache.cxf.service.factory.ServiceConstructionException: Service class
> com.engine.datacombination.OrderDataMerging does not implement the
> deleteBrandData method.
> Caused by: java.lang.NoSuchMethodException:
> com.engine.datacombination.OrderDataMerging.deleteBrandData(com.engi
> ne.datacombination.OrderDeleteBrandBean)
> at java.lang.Class.getMethod(Class.java:1605)
> at
> org.apache.cxf.jaxws.JAXWSMethodDispatcher.getImplementationMethod(
> JAXWSMethodDispatcher.java:90)
> at
> org.apache.cxf.jaxws.JAXWSMethodDispatcher.bind(JAXWSMethodDispatch
> er.java:57)
> /
> Do you have any idea what could be wrong?
> 
> Cheers
> Hilderich
> 
> 
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Client-
> cannot-connect-no-Implementation-found-tp5729868.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to