How to generate SOAP Service WSDL using loadbalancer URL
Loadbalancer is accessed via HTTPS and it redirects traffic to a HTTP URL. When generating WSDL for SOAP service, it generates URL at redirected URL(HTTP).
User enquires how to generate SOAP Service WSDL at loadbalancer URL(HTTPS). Following is the scenario:
SOAP Address Generated is : <soap:address location="http://URL:80/prweb/PRSOAPServlet/SOAP/Decisioning/Services"/>
SOAP Address Expected is: <soap:address location="https://URL/prweb/PRSOAPServlet/SOAP/Decisioning/Services"/>
Steps to Reproduce
1. Create a SOAP Service Package and Service.
2. Generate the WSDL by saving the service package.
3. Review the WSDL.
Reverse proxy needs to be implemented for this use case.
Configure a reverse proxy for the SOAP Service WSDL to be generated at the loadbalancer URL.
See the below PDN article for reverse proxy implementation:
0% found this useful