1.4.3 Description

tmwsdlgen generates a WSDL document file from a Tuxedo native Web Service Definition File (WSDF). The generated WSDL document is WSDL 1.1 specification compliant, and represents both the service contracts and policies. tmwsdlgen collects Tuxedo service contract information throughout the Tuxedo Service Metadata Repository management (TMMETADATA) process. tmwsdlgen works as a Tuxedo native client and requires the following:

  • the TUXCONFIG environment variable must be set correctly
  • the relevant Tuxedo application using TMMETADATA must be booted prior to executing tmwsdlgen.

    WARNING:

    The given WSDF must be a Tuxedo native WSDF. Do not use a wsdlcvt converted non-native WSDF file as input.

tmwsdlgen accepts the following parameters:

-c wsdf_file
Mandatory. Used to specify the SALT WSDF local path.

tmwsdlgen accepts the following optional parameters:

-o wsdl_file
Used to specify the output WSDL document file path. If the option is not present, the default file, tuxedo.wsdl, is created in the current directory. If the specified WSDL document file already exists, then a prompt displays to confirm to overwriting the existing file.
-y
Overwrites the existing WSDL document file without prompting.
-m
Used to specify the WSDL data mapping policy for certain Tuxedo typed buffers. Currently, it applies to the Tuxedo CARRAY buffer type. If raw mode is specified, CARRAY is represented to the MIME attachment. If pack mode is specified, xsd:base64Binary is used to represent CARRAY. The default value is pack mode.

Note:

raw mode cannot be used for .Net clients. The .Net Framework does not support MIME attachments.
If mtom is specified, CARRAY is mapped to the MTOM SOAP message.
-t
This option takes effect only when the -m option is specified in raw mode. It accepts two options, wls or axis:
  • wls indicates tmwsdlgen generates the WSDL document file in compliance with WebLogic 9.x. The default is wls.
  • axis indicates the WSDL document file format can be recognized by the Apache Axis toolkit.