On Friday 21 January 2011 8:52:49 am chrisxaustin wrote: > What is the recommended way to solve this problem with CXF? > A few options that occurred to me: > 1) Ask the service provider to update the wsdl
That is difinitely the preferred option. People shouldn't publish WSDL's that are wrong. > 2) Download the wsdl from the server, modify it to include the > receiveReturn element, regenerate my stub That would be the next best option I think. Fairly simple. Would still allow things like schema validation and such to work. > 3) Add an interceptor to replace the soap body > 4) Give up, and just catch the exception, ignoring it if it matches > "receiveResponse was not recognized" Both of these smell like "hack". They would work, but I think the modified/fixed wsdl is the better option. -- Daniel Kulp [email protected] http://dankulp.com/blog
