Aug 11th, 2009, 12:31 PM
Mapping one namespace and one type to two different endpoints
We have some legacy WSDL and XSD types that we are trying to leverage for new services based on Spring-WS. The legacy WSDL was not carefully created, so we have endpoints that implement different functionality but share the same namespace and type. For example, we have service defined for an endpoint that performs queries sharing the namespace and type with an endpoint that performs updates.
We have been trying to use the PayloadRootAnnotationMethodEndpointMapping and annotating our endpoint methods with different localPart values, but since the type is shared the endpoint resolution is not finding the appropriate method.
So, I am wondering if there are any suggestions on how we can possibly map endpoints based on URL or some other means? The WSDL and XSD are legacy and therefore can not be changed, so that is not an option.
Thanks in advance!
Tags for this Thread