![]() ![]() ![]() ![]() ![]() ![]() |
This section contains the following information:
Listing A-1 shows an ATMI and JTMI C/C++ binding schema.
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
elementFormDefault="qualified">
<element name="binding.atmi" type="sca:AtmiBinding"
substitutionGroup="sca:binding"/>
<complexType name="AtmiBinding">
<complexContent>
<extension base="sca:Binding">
<sequence>
<element name="tuxconfig" type="string"
minOccurs="0"/>
<element name="map" type="sca:TargetMapType" minOccurs="0"
maxOccurs="unbounded"/>
<element name="serviceType" type="sca:SvcType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="inputBufferType" type="sca:BufferType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="outputBufferType" type="sca:BufferType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="errorBufferType" type="sca:BufferType"
minOccurs="0" maxOccurs="unbounded"/>
<element name="workStationParameters"
type="sca:WorkStationParameters"
minOccurs="0"/>
<element name="authentication" type="sca:Authentication"
minOccurs="0"/>
<element name="fieldTablesLocation" type="string"
minOccurs="0"/>
<element name="fieldTables" type="string"
minOccurs="0"/>
<element name="fieldTablesLocation32" type="string"
minOccurs="0"/>
<element name="fieldTables32" type="string"
minOccurs="0"/>
<element name="viewFilesLocation" type="string"
minOccurs="0"/>
<element name="viewFiles" type="string" minOccurs="0"/>
<element name="viewFilesLocation32" type="string"
minOccurs="0"/>
<element name="viewFiles32" type="string"
minOccurs="0"/>
<element name="remoteAccess" type="sca:RemoteAccess"
minOccurs="0"/>
<element name="transaction" type="sca:TransactionType"
minOccurs="0"/>
</sequence>
<anyAttribute namespace="##any" processContents="lax" />
</extension>
</complexContent>
</complexType>
<complexType name="TargetMapType">
<simpleContent>
<extension base="TargetSimple">
<attribute name="target" type="string" use="optional"/>
</extension>
</simpleContent>
</complexType>
<simpleType name="TargetSimple">
<restriction base="string"/>
</simpleType>
<complexType name="SvcType">
<simpleContent>
<extension base="SvcTypeEnum">
<attribute name="target" type="string" use="optional"/>
</extension>
</simpleContent>
</complexType>
<simpleType name="SvcTypeEnum">
<restriction base="string">
<enumeration value="oneway"/>
<enumeration value="requestresponse"/>
</restriction>
</simpleType>
<complexType name="BufferType">
<simpleContent>
<extension base="BufferTypeEnum">
<attribute name="target" type="string" use="optional"/>
</extension>
</simpleContent>
</complexType>
<simpleType name="BufferTypeEnum">
<restriction base="string">
<enumeration value="string"/>
<enumeration value="carray"/>
<enumeration value="x_octet"/>
<enumeration value="view"/>
<enumeration value="x_c_type"/>
<enumeration value="x_common"/>
<enumeration value="view32"/>
<enumeration value="xml"/>
<enumeration value="fml"/>
<enumeration value="fml32"/>
<enumeration value="mbstring"/>
</restriction>
</simpleType>
<complexType name="WorkStationParameters">
<sequence>
<element name="networkAddress" type="string" minOccurs="0"/>
<element name="secPrincipalName" type="string" minOccurs="0"/>
<element name="secPrincipalLocation" type="string"
minOccurs="0"/>
<element name="secPrincipalPassId" type="string"
minOccurs="0"/>
<element name="encryptbits" type="string" minOccurs="0"/>
</sequence>
</complexType>
<complexType name="Authentication">
<sequence>
<element name="userName" type="string" minOccurs="0"/>
<element name="clientName" type="string" minOccurs="0"/>
<element name="groupName" type="string" minOccurs="0"/>
<element name="passwordIdentifier" type="string"
minOccurs="0"/>
<element name="userPasswordIdentifier" type="string"
minOccurs="0"/>
</sequence>
</complexType>
<complexType name="RemoteAccess">
<restriction base="string">
<enumeration value="native"/>
<enumeration value="workstation"/>
</restriction>
</complexType>
<complexType name="TransactionType">
<attribute name="timeout" type="int" use="optional"/>
</complexType>
</schema
Listing A-2 shows a Web service binding schema..
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
elementFormDefault="qualified">
<element name="binding.ws" type="sca:WebServiceBinding" substitutionGroup="sca:binding"/>
<complexType name="WebServiceBinding">
<complexContent>
<extension base="sca:Binding">
<sequence>
<element name="soapbinding" type="sca:SOAPBinding" minOccurs="0" maxOccurs="unbounded"/>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="endpoint" type="anyURI" use="optional" />
<attribute name="location" type="anyURI" use="optional" />
<attribute name="conformanceURIs" type="sca:ConformanceURIList" use="optional" />
<attribute name="interfaceMapping" type="string" use="optional" />
<anyAttribute namespace="##any" processContents="lax" />
</extension>
</complexContent>
</complexType>
<complexType name="SOAPBinding">
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="name" type="NCName" use="optional" />
<attribute name="version" type="string" use="optional" />
<anyAttribute namespace="##any" processContents="lax" />
</complexType>
<simpleType name="ConformanceURIList">
<list itemType="anyURI"/>
</simpleType>
</schema>
![]() ![]() ![]() |