Hi,
We would like to intercept a WSDL when it being returned to a client and replace a property placeholder in the WSDL with an actual property.
The WSDL snippet looks like this:
<wsdl:service name="ABCLayerService">
<wsdl:port name="ABCLayerSOAPPort" binding="tns:ABCLayerSOAPBinding">
<soap:address location="${soap.address}" />
</wsdl:port>
</wsdl:service>
The WSDL location is set in our service implementation, so it is a static WSDL. What we would like to do is intercept the WSDL when returned and replace ${soap.address} with the actual server address. The reason for doing this, if we have all other properties in our application in a property file or database and if we could do that our jars would be completely portable between dev, test and prod environments.
Has anyone implemented something similar or can steer me in the right direction. We are using XFire 1.2.6.
Thanks for your help.
Brian