You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Andrei Shakirin <as...@talend.com> on 2013/06/26 15:40:04 UTC
RE: [SPAM] Client cannot connect: no Implementation found
Hi,
It seems that you have different versions of OrderDataMerging class on build and at the runtime.
Regards,
Andrei.
> -----Original Message-----
> From: Hilderich [mailto:hilde.schwed@yahoo.de]
> Sent: Mittwoch, 26. Juni 2013 13:27
> To: users@cxf.apache.org
> 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.
RE: [SPAM] Client cannot connect: no Implementation found
Posted by Andrei Shakirin <as...@talend.com>.
Hi,
Is OrderDataMerging generated class?
Could you check is it contains really deleteBrandData(com.engine.datacombination.OrderDeleteBrandBean) method?
Is it possible to see your WSDL?
Regards,
Andrei.
> -----Original Message-----
> From: Hilderich [mailto:hilde.schwed@yahoo.de]
> Sent: Mittwoch, 26. Juni 2013 16:10
> To: users@cxf.apache.org
> Subject: RE: [SPAM] Client cannot connect: no Implementation found
>
> The generated required classes by the client are up to date.
>
> For that I have used a current valid wsdl that is also running at the moment.
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Client-
> cannot-connect-no-Implementation-found-tp5729868p5729878.html
> Sent from the cxf-user mailing list archive at Nabble.com.
RE: [SPAM] Client cannot connect: no Implementation found
Posted by Hilderich <hi...@yahoo.de>.
The generated required classes by the client are up to date.
For that I have used a current valid wsdl that is also running at the
moment.
--
View this message in context: http://cxf.547215.n5.nabble.com/Client-cannot-connect-no-Implementation-found-tp5729868p5729878.html
Sent from the cxf-user mailing list archive at Nabble.com.