cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hilderich <hilde.sch...@yahoo.de>
Subject Client cannot connect: no Implementation found
Date Wed, 26 Jun 2013 11:27:04 GMT
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.engine.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(JAXWSMethodDispatcher.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.

Mime
View raw message