cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Downward compatible WSDL?
Date Fri, 06 Apr 2012 13:52:31 GMT
On Friday, April 06, 2012 11:43:50 AM Biest wrote:
> Hello,
> 
> I have a universal Web Service that starts with 3 offered Services.
> I am using the Buttom Up way to generate the Web Service Server from my
> Java Class. The corresponding Client is generated from the WSDL file.
> 
> Over time there will be some more offered Services. Lets say there are 5
> offered Services now. So the WSDL also changed over time. And that leads
> me to my actual problem:
> 
> The new Server with my 5 Services is not downward compatible. If I want
> to connect with my "old" (3 Services) client the following Exception
> occurs:
> 
> Caused by: javax.xml.ws.WebServiceException: The Endpoint validation
> failed to validate due to the following errors:  :: Invalid Endpoint
> Interface ::  :: The operation names in the WSDL portType do not match
> the method names in the SEI or Web service implementation class.

I believe you aren't using CXF on the client.   This is an error message 
from the RI.   With CXF, I think we admit a log.info about these, but will 
continue and allow you to use the operations that it WAS able to match.

Dan


 
> Updating all the clients is not always an option. Is there any way
> despite changes to the server to remain downward compatible with the
> clients?
> 
> Greetings,
> Mirco
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message