Affects Version/s: 2.0 GA
Fix Version/s: None
In the earlier Spring ws version like in 1.5 it was possible for xpath to define nameSpace like this :
This is not more present in
1-Not retro compatible
So if someone try to upgrade to the latest version, the sws:xpath-endpoints is not more present.
So he have to declare the bean
I was thinking that this element was remove because this class XPathParamAnnotationMethodEndpointAdapter was remove too.
But that is no the case.It is deprecated.
2-So the actual solution is to upgrade to DefaultMethodEndpointAdapter according to the documentation.
Now we have this issue : it is not possible to declare the namespace globally like previously.
We have to use @org.springframework.ws.server.endpoint.annotation.Namespace(s) instead.
Let say that i have a package organizing like this :
Enpoint1 and enpoint2 were using the namespace modv1.0 with @XPathParam.
Now i have to declare informations in two package-info.java to make it work.
For example for the package tomato i will be :