Currently in my wsdl file i have the following address which points to dev box.
<wsdl:service name="SecurityTokenService">
<wsdl:port name="STS_Port" binding="tns:UT_Binding">
<soap:address location="http://DEVbox:8080/DoubleItSTS/STS" />
</wsdl:port>
</wsdl:service>
I would like to read from maven profile and dynamically set soap:address property so i dont have to change code every time i deploy to QA or Production boxes. Is there any way this can be done?
Yeah, try the maven velocity plugin. You can build your WSDL from a template, and inject in URL's varying on your profile.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With