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 aVIEWdirectory and systemVIEWdefinition 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 aVIEWdirectory and systemVIEWdefinition 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/VIEW32parameter definition and theVIEW/VIEW32definition file at start up.If an inconsistency is found, the GWWS server cannot start. Inconsistency messages are printed in the
ULOGfile. tmwsdlgenalso provides strong consistency checking between the Oracle Tuxedo Service Metadata RepositoryVIEW/VIEW32parameter definition and theVIEW/VIEW32definition file at start up. If an inconsistency is found, the GWWS server will not start. Inconsistency messages are printed in theULOGfile.If the
VIEWdefinition file cannot be loaded,tmwsdlgenattempts to use the Oracle Tuxedo Service Metadata Repository definitions to compose the WSDL document.Because dec_tis not supported, if you defineVIEWfields 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
VIEW32embedded MBString buffer is requested and returned to the GWWS server, the GWWS miscalculates the requiredMBStringlength and reports that the input string exceeds theVIEW32maxlength. This is because the header is included in the transfer encoding information. You must include the header size when defining theVIEW32field length. - The Oracle Tuxedo primary data type
“
long” is indefinite between 32-bit and 64-bit scope, depending on the platform. However, the correspondingxsd:longschema 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