SOAP endpoint URL in Dockerized PASOE - Forum - OpenEdge Development - Progress Community

SOAP endpoint URL in Dockerized PASOE

 Forum

SOAP endpoint URL in Dockerized PASOE

This question is not answered

Hello,

I'm trying to prepare a Docker image of a PASOE instance with pre-deployed WebServices. So at build time, I use deploySOAP.sh on the WSM files, but the generated WSDL file has a reference to the hostname of the temporary container in <soap:address >, something like:

<soap:address location="e05bdd1a76ee:8810/.../>

As the URL will only be known at runtime, is there a nice and clean way to inject the URL when executing the container ?

Gilles

All Replies
  • An option  could be environment variables on the host or a .env file with your Docker Compose file that uses this to set variable in the container when it gets created.

    We do the same thing with load balancers like traefik.

  • Yes, I've seen that I can change the value directly in the WSDL file at runtime, but I was wondering if there was a better way than using sed when starting the container.