2.3.5.1 VIEW/VIEW32 Considerations
The following considerations apply when converting Oracle Tuxedo
VIEW/VIEW32
buffers to and from XML.
- You must create an environment for converting XML to and from
VIEW/VIEW32
. This includes setting up aVIEW
directory and systemVIEW
definition files. These definitions are automatically loaded by the GWWS server. - You must create an environment for converting XML to and from
VIEW/VIEW32
. This includes setting up aVIEW
directory and systemVIEW
definition files. These definitions are automatically loaded by the GWWS server. - The GWWS server provides strong consistency checking between the Oracle Tuxedo Service Metadata Repository
VIEW/VIEW32
parameter definition and theVIEW/VIEW32
definition file at start up.If an inconsistency is found, the GWWS server cannot start. Inconsistency messages are printed in the
ULOG
file. tmwsdlgen
also provides strong consistency checking between the Oracle Tuxedo Service Metadata RepositoryVIEW/VIEW32
parameter definition and theVIEW/VIEW32
definition file at start up. If an inconsistency is found, the GWWS server will not start. Inconsistency messages are printed in theULOG
file.If the
VIEW
definition file cannot be loaded,tmwsdlgen
attempts to use the Oracle Tuxedo Service Metadata Repository definitions to compose the WSDL document.Because dec_t
is not supported, if you defineVIEW
fields with typedec_t
, the service cannot be exported as a Web service and an error message is generated when the SALT configuration file is loading.- Although the Oracle Tuxedo Service Metadata Repository may define a size attribute for “
string/ mbstring
” typed parameters (which represents the maximum byte length that is allowed in the Oracle Tuxedo typed buffer), SALT does not expose such restriction in the generated WSDL document. - When a
VIEW32
embedded MBString buffer is requested and returned to the GWWS server, the GWWS miscalculates the requiredMBString
length and reports that the input string exceeds theVIEW32
maxlength. This is because the header is included in the transfer encoding information. You must include the header size when defining theVIEW32
field length. - The Oracle Tuxedo primary data type
“
long
” is indefinite between 32-bit and 64-bit scope, depending on the platform. However, the correspondingxsd:long
schema type is used to describe 64-bit numeric values.
If the GWWS server runs in 32-bit mode, and the Web service
client sends xsd:long
typed data that exceeds the
32-bit value range, you may get a SOAP fault.
Parent topic: Oracle Tuxedo VIEW/VIEW32 Typed Buffers