Hi Senxian,
when your SOAP Web Service is publicly accessible (i.e. no on-demand to on-premise connectivity needed), then you can use e.g. CXF and do the necessary initialization and configurations in your application. The configuration could be stored via the persistence service in the database, e.g. using JPA.
Would this fit to your scenario?
Best regards,
Timo