1.1.11.2 Adopting SALT 2.0 Configuration Style by Converting SALT 1.1 Configuration File
When wsloadcf
loads a binary
SALTCONFIG
from a SALT 1.1 configuration file, it also
converts this SALT 1.1 configuration file into one
WSDF
file and one SALTDEPLOY
file.
It is highly recommended to start using the SALT 2.0 styled
configuration once you get the converted files from SALT 1.1
configuration. If you want to incorporate more than one SALT 1.1
configuration file into one SALT 2.0 deployment, you must manually
edit the SATLDEPLOY
file for importing the other WSDF
files.
The following example shows the converted SALTDEPLOY
file and WSDF
file from a given SALT 1.1 configuration file.
Example 1-35 A Sample of SALT 1.1 Configuration File (simpapp.xml)
<Configuration xmlns=" http://www.bea.com/Tuxedo/Salt/200606">
<Servicelist id="simpapp">
<Service name="toupper" />
<Service name="tolower" />
</Servicelist>
<Policy />
<System />
<WSGateway>
<GWInstance id="GWWS1">
<HTTP address="//127.0.0.1:7805" />
<HTTPS address="127.0.0.1:7806" />
<Property name="timeout" value="300" />
</GWInstance>
</WSGateway>
</Configuration>
The converted SALT 2.0 WSDF file and deployment file are shown in the following examples:
Example 1-36 Converted WSDF File for SALT 1.1 Configuration File (simpapp.xml.wsdf)
<Definition name="simpapp" wsdlNamespace="urn:simpapp.wsdl"
xmlns=" http://www.bea.com/Tuxedo/WSDF/2007">
<WSBinding id="simpapp_binding">
<Servicegroup id="simpapp">
<Service name="toupper" />
<Service name="tolower" />
</Servicegroup>
<SOAP>
<AccessingPoints>
<Endpoint id="simpapp_GWWS1_HTTPPort"
address=http://127.0.0.1:7805/simpapp />
<Endpoint id=" simpapp_GWWS1_HTTPSPort"
address=https://127.0.0.1:7806/simpapp tlsversion=TLSv1.2/>
</AccessingPoints>
</SOAP>
</WSBinding>
</Definition>
Example 1-37 Converted SALTDEPLOY File for SALT 1.1 Configuration File (simpapp.xml.dep)
<Deployment xmlns=" http://www.bea.com/Tuxedo/SALTDEPLOY/2007">
<WSDF>
<Import location="/home/myapp/simpapp.wsdf" />
</ WSDF>
<WSGateway>
<GWInstance id="GWWS1">
<Inbound>
<Binding ref="simpapp:simpapp_binding">
<Endpoint use=" simpapp_GWWS1_HTTPPort" />
<Endpoint use=" simpapp_GWWS1_HTTPSPort" />
</Binding>
</Inbound>
<Properties>
<Property name="timeout" value="300" />
</Properties>
</GWInstance>
</WSGateway>
</ Deployment>
Parent topic: Migrating from SALT 1.1