Consider the following scenario:
- Using a message-receive policy to forward messages to a specific endpoint based on the incoming port using the “Resolve Service” assertion to an endpoint in a subfolder. So http://gateway:8443/service is resolved as http://gateway:8443/internal/service
- Enabled the WSDL download services on the incoming port.
If we now try to download the WSDL from http://gateway:8443/service?wsdl this fails. It seems like the WSDL download service does not trigger the message-received policy.
We could get a WSDL from http://gateway:8443/internal/service?wsdl but then the WSDL will include the wrong endpoint for the client.
Does anyone know of a way to make the correct WSDL download available on the correct path in this case?