1.1.2.3 Generating a WSDL File from a Native WSDF
Once an Oracle Tuxedo native WSDF is created, the corresponding
WSDL file can be generated using the SALT WSDL generation utility,
tmwsdlgen
. The following example command generates a
WSDL file named “app1.wsdl
” from a given
WSDF
named “app1.wsdf
”:
tmwsdlgen -c app1.wsdf -o app1.wsdl
Note:
Before executing tmwsdlgen, theTUXCONFIG
environment variable must be set correctly and the relevant Oracle Tuxedo application using TMMETADATA must be booted.
You can optionally specify the output WSDL file name using the
‘-o
’ option. Otherwise, tmwsdlgen creates
a default WSDL file named
“tuxedo.wsdl
”.
If the native WSDF file contains Oracle Tuxedo services that use CARRAY
buffers, you can specify tmwsdlgen options to generate different styled WSDL files for CARRAY
buffer mapping. By default, CARRAY
buffers are mapped as xsd:base64Binary
XML data types in the SOAP message. For more information, see Data Type Mapping and Message Conversion in SALT Programming Web Services and tmwsdlgen in the SALT Reference Guide.
Parent topic: Configuring Native Oracle Tuxedo Services