[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Third draft of TransWS Schema
All,
attached is the third draft of the XML schema that accompanies the WSDL
file.
Steve
<?xml version="1.0" encoding="UTF-8"?>
<schema elementFormDefault="qualified" targetNamespace=
"http://simship4.com" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:intf=
"http://simship4.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="acknowledgement" type="string"/>
<xsd:element name="acceptQuote">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:jobDetails"/>
<xsd:element ref="intf:purchaseOrder"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="acceptQuoteResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:acknowledgement"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="details" type="xsd:string"/>
<xsd:element name="domain">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0"
ref="intf:subdomain"/>
</xsd:sequence>
<xsd:attribute name="name" type="string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="domains">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1"
ref="intf:domain"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="downloadTranslation">
<xsd:complexType>
<xsd:attribute name="ticketId" type="xsd:string" use="optional"
/>
</xsd:complexType>
</xsd:element>
<xsd:element name="downloadTranslationResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:rejectionDeadline"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="expires">
<xsd:complexType>
<xsd:attribute name="date" type="dateTime" use="required"
/>
</xsd:complexType>
</xsd:element>
<xsd:element name="fileType">
<xsd:complexType>
<xsd:attribute name="name" type="string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="fileTypes">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1"
ref="intf:fileType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="info" type="string"/>
<xsd:element name="job">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:stage"/>
<xsd:element ref="intf:status"/>
<xsd:element ref="intf:info"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="jobDetails">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:wordCount"/>
<xsd:element ref="intf:service"/>
<xsd:element ref="intf:language"/>
<xsd:element ref="intf:requiredBy"/>
<xsd:element ref="intf:info"/>
</xsd:sequence>
<xsd:attribute name="id" type="string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="language">
<xsd:complexType>
<xsd:attribute name="source" type="string" use="required"
/>
<xsd:attribute name="target" type="string" use="required"
/>
</xsd:complexType>
</xsd:element>
<xsd:element name="languages">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1"
ref="intf:language"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="project" type="xsd:string"/>
<xsd:element name="purchaseOrder">
<xsd:complexType>
<xsd:attribute name="id" type="string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="queryStatus">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="queryStatusResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:stage"/>
<xsd:element ref="intf:status"/>
<xsd:element ref="intf:info"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="querySupport">
<xsd:complexType>
<xsd:sequence/>
</xsd:complexType>
</xsd:element>
<xsd:element name="querySupportResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:languages"/>
<xsd:element ref="intf:services"/>
<xsd:element ref="intf:fileTypes"/>
<xsd:element ref="intf:domains"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="quotation">
<xsd:complexType>
<xsd:attribute name="amount" type="decimal" use=
"required"/>
<xsd:attribute name="binding" type="boolean" use=
"required"/>
<xsd:attribute name="currency" type="string" use=
"required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="reason" type="xsd:string"/>
<xsd:element name="rejectTranslation">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:reason"/>
<xsd:element ref="intf:details"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="rejectTranslationResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:acknowledgement"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="rejectionDeadline">
<xsd:complexType>
<xsd:attribute name="date" type="string" use="optional"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="requestQuote">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:wordCount"/>
<xsd:element ref="intf:service"/>
<xsd:element ref="intf:language"/>
<xsd:element ref="intf:requiredBy"/>
<xsd:element ref="intf:info"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="requestQuoteResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:quotation"/>
<xsd:element ref="intf:expires"/>
<xsd:element ref="intf:info"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="requiredBy">
<xsd:complexType>
<xsd:attribute name="date" type="dateTime" use="optional"
/>
</xsd:complexType>
</xsd:element>
<xsd:element name="service">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0"
ref="intf:subservice"/>
</xsd:sequence>
<xsd:attribute name="name" type="string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="services">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1"
ref="intf:service"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="stage" type="string"/>
<xsd:element name="status" type="string"/>
<xsd:element name="subdomain">
<xsd:complexType>
<xsd:attribute name="name" type="string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="subservice">
<xsd:complexType>
<xsd:attribute name="name" type="string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="ticket">
<xsd:complexType>
<xsd:attribute name="jobId" type="string" use="required"
/>
<xsd:attribute name="projectId" type="string" use=
"required"/>
<xsd:attribute name="userId" type="string" use="required"
/>
</xsd:complexType>
</xsd:element>
<xsd:element name="translate">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:wordCount"/>
<xsd:element ref="intf:service"/>
<xsd:element ref="intf:language"/>
<xsd:element ref="intf:requiredBy"/>
<xsd:element ref="intf:info"/>
<xsd:element ref="intf:purchaseOrder"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="translateResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="intf:ticket"/>
<xsd:element ref="intf:acknowledgement"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="user" type="xsd:string"/>
<xsd:element name="viewJobs">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" ref="intf:user"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="intf:project"
/>
<xsd:element maxOccurs="1" minOccurs="0" ref="intf:stage"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="intf:status"
/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="viewJobsResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref=
"intf:job"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="wordCount">
<xsd:complexType>
<xsd:attribute name="count" type="decimal" use="required"
/>
</xsd:complexType>
</xsd:element>
</schema>
---------------------------------------------
Stephen Flinter
Connect Global Solutions
[t] +353 (0)1 882 9038
[f] +353 (0)1 882 9050
[m] +353 87 798 1228
[e] stephen.flinter@connectcgs.com
[w] www.connectcgs.com
--------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]