Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 13 Rendezvous Palette : RawRVMsg2 Schema

RawRVMsg2 Schema
TIBCO ActiveMatrix BusinessWorks includes an XSD file that defines a generic message structure and some additional TIBCO Rendezvous message types. You can use this schema to send or receive a message with an arbitrary structure (raw TIBCO Rendezvous messages). This schema also describes the datatypes for fields that use the TIBRVMSG_XML, TIBRVMSG_IPADDR32, and TIBRVMSG_IPPORT16 TIBCO Rendezvous datatypes.
If you want to send or receive raw TIBCO Rendezvous messages, or you want to use the TIBRVMSG_XML, TIBRVMSG_IPADR32, or TIBRVMSG_IPPORT16 datatypes in a message, you must include this schema in your project.
The RawRVMsg2 Schema
The following is the RawRVMsg2 schema:
 
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:prefix0="http://xmlns.tibco.com/2003/5/bw/plugins/tibrv" targetNamespace="http://xmlns.tibco.com/2003/5/bw/plugins/tibrv" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
   <xsd:element name="msg">
      <xsd:complexType>
         <xsd:sequence>
            <xsd:element name="field" minOccurs="0" maxOccurs="unbounded">
               <xsd:complexType>
                  <xsd:sequence>
                     <xsd:element name="name" type="xsd:string"></xsd:element>
                     <xsd:element name="id" minOccurs="0" type="xsd:unsignedShort">
                     </xsd:element>
                     <xsd:choice>
                        <xsd:element name="simple" type="xsd:anySimpleType">
                        </xsd:element>
                        <xsd:element ref="prefix0:msg"></xsd:element>
                     </xsd:choice>
                  </xsd:sequence>
               </xsd:complexType>
            </xsd:element>
         </xsd:sequence>
      </xsd:complexType>
   </xsd:element>
 
   <xsd:simpleType name="ipPort">
      <xsd:restriction base="xsd:unsignedShort"/>
   </xsd:simpleType>
   <xsd:simpleType name="ipAddr">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>
   <xsd:simpleType name="tibrvXml">
      <xsd:restriction base="xsd:string"/>
   </xsd:simpleType>
</xsd:schema>
Adding the RawRVMsg2 Schema to Your Project
The RawRVMsg2.xsd file specifies the RawRVMsg2 schema. To add this schema to your project, perform the following procedure:
1.
Locate the bw/5.12/lib/palettes/plugins.jar file in your TIBCO ActiveMatrix BusinessWorks installation directory.
2.
The RawRVMsg2.xsd file is contained in the plugins.jar file. You can extract this file in a number of ways, depending upon your operating system. For example, on Windows, you can open up plugins.jar using WinZip and extract the RawRVMsg2.xsd file. On UNIX, you can use Java’s facilities to un-jar the file and copy the RawRVMsg2.xsd file.
3.
Once you have obtained the RawRVMsg2.xsd file, copy this file into your TIBCO ActiveMatrix BusinessWorks project directory. You can copy this file into the root project directory or to a subdirectory in your project.
4.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved