Conversie van de TransSmart solution van BizTalk 2013 naar 2016.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

404 lignes
17KB

  1. namespace TM.TransSmart.Schemas {
  2. using Microsoft.XLANGs.BaseTypes;
  3. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
  4. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  6. [SchemaType(SchemaTypeEnum.Document)]
  7. [Schema(@"http://TM.TransSmart.Shipment",@"carrierBooking")]
  8. [System.SerializableAttribute()]
  9. [SchemaRoots(new string[] {@"carrierBooking"})]
  10. public sealed class Shipment : Microsoft.XLANGs.BaseTypes.SchemaBase {
  11. [System.NonSerializedAttribute()]
  12. private static object _rawSchema;
  13. [System.NonSerializedAttribute()]
  14. private const string _strSchema = @"<?xml version=""1.0"" encoding=""utf-16""?>
  15. <xs:schema xmlns:t=""http://TM.TransSmart.Shipment"" xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:b=""http://schemas.microsoft.com/BizTalk/2003"" elementFormDefault=""qualified"" targetNamespace=""http://TM.TransSmart.Shipment"" xmlns:xs=""http://www.w3.org/2001/XMLSchema"">
  16. <xs:annotation>
  17. <xs:appinfo>
  18. <schemaInfo root_reference=""carrierBooking"" xmlns=""http://schemas.microsoft.com/BizTalk/2003"" />
  19. </xs:appinfo>
  20. </xs:annotation>
  21. <xs:element name=""carrierBooking"">
  22. <xs:complexType>
  23. <xs:sequence>
  24. <xs:element ref=""t:carrierBookingInfo"" />
  25. <xs:element ref=""t:shipments"" />
  26. </xs:sequence>
  27. </xs:complexType>
  28. </xs:element>
  29. <xs:element name=""carrierBookingInfo"">
  30. <xs:complexType>
  31. <xs:all>
  32. <xs:element ref=""t:version"" />
  33. <xs:element ref=""t:status"" />
  34. <xs:element ref=""t:description"" />
  35. </xs:all>
  36. </xs:complexType>
  37. </xs:element>
  38. <xs:element name=""version"" type=""xs:string"" />
  39. <xs:element name=""status"" type=""xs:string"" />
  40. <xs:element name=""shipments"">
  41. <xs:complexType>
  42. <xs:sequence>
  43. <xs:element maxOccurs=""unbounded"" ref=""t:shipmentInfo"" />
  44. </xs:sequence>
  45. </xs:complexType>
  46. </xs:element>
  47. <xs:element name=""shipmentInfo"">
  48. <xs:complexType>
  49. <xs:all>
  50. <xs:element minOccurs=""0"" ref=""t:customerId"" />
  51. <xs:element minOccurs=""0"" ref=""t:costcenter"" />
  52. <xs:element minOccurs=""0"" ref=""t:carrier"" />
  53. <xs:element minOccurs=""0"" ref=""t:executingCarrier"" />
  54. <xs:element minOccurs=""0"" ref=""t:reference"" />
  55. <xs:element minOccurs=""0"" ref=""t:awb"" />
  56. <xs:element minOccurs=""0"" ref=""t:description"" />
  57. <xs:element minOccurs=""0"" ref=""t:instruction"" />
  58. <xs:element minOccurs=""0"" ref=""t:value"" />
  59. <xs:element minOccurs=""0"" ref=""t:valueCurrency"" />
  60. <xs:element minOccurs=""0"" ref=""t:pickupDate"" />
  61. <xs:element minOccurs=""0"" ref=""t:pickupTime"" />
  62. <xs:element minOccurs=""0"" ref=""t:pickupTimeTo"" />
  63. <xs:element minOccurs=""0"" ref=""t:requestedDeliveryDate"" />
  64. <xs:element minOccurs=""0"" ref=""t:requestedDeliveryTime"" />
  65. <xs:element minOccurs=""0"" ref=""t:requestedDeliveryTimeTo"" />
  66. <xs:element minOccurs=""0"" ref=""t:plannedDeliveryDate"" />
  67. <xs:element minOccurs=""0"" ref=""t:plannedDeliveryTime"" />
  68. <xs:element minOccurs=""0"" ref=""t:service"" />
  69. <xs:element minOccurs=""0"" ref=""t:serviceLevelTime"" />
  70. <xs:element minOccurs=""0"" ref=""t:serviceLevelOther"" />
  71. <xs:element minOccurs=""0"" ref=""t:incoterms"" />
  72. <xs:element minOccurs=""0"" ref=""t:inbound"" />
  73. <xs:element minOccurs=""0"" ref=""t:noOfPackages"" />
  74. <xs:element minOccurs=""0"" ref=""t:weight"" />
  75. <xs:element minOccurs=""0"" ref=""t:weightUom"" />
  76. <xs:element minOccurs=""0"" ref=""t:price"" />
  77. <xs:element minOccurs=""0"" ref=""t:salesPrice"" />
  78. <xs:element minOccurs=""0"" ref=""t:currency"" />
  79. <xs:element minOccurs=""0"" ref=""t:trackingUrl"" />
  80. <xs:element minOccurs=""0"" ref=""t:shipmentStatusCode"" />
  81. <xs:element minOccurs=""0"" ref=""t:additionalReferences"" />
  82. <xs:element minOccurs=""0"" ref=""t:shipmentLines"" />
  83. <xs:element minOccurs=""0"" ref=""t:addresses"" />
  84. </xs:all>
  85. </xs:complexType>
  86. </xs:element>
  87. <xs:element name=""customerId"" type=""xs:string"" />
  88. <xs:element name=""costcenter"" type=""xs:string"" />
  89. <xs:element name=""carrier"" type=""xs:string"" />
  90. <xs:element name=""executingCarrier"" type=""xs:string"" />
  91. <xs:element name=""reference"" type=""xs:string"" />
  92. <xs:element name=""instruction"" type=""xs:string"" />
  93. <xs:element name=""valueCurrency"" type=""xs:string"" />
  94. <xs:element name=""pickupDate"" type=""xs:string"" />
  95. <xs:element name=""pickupTime"" type=""xs:string"" />
  96. <xs:element name=""pickupTimeTo"" type=""xs:string"" />
  97. <xs:element name=""requestedDeliveryDate"" type=""xs:string"" />
  98. <xs:element name=""requestedDeliveryTime"" type=""xs:string"" />
  99. <xs:element name=""requestedDeliveryTimeTo"" type=""xs:string"" />
  100. <xs:element name=""plannedDeliveryDate"" type=""xs:string"" />
  101. <xs:element name=""plannedDeliveryTime"" type=""xs:string"" />
  102. <xs:element name=""service"" type=""xs:string"" />
  103. <xs:element name=""serviceLevelTime"" type=""xs:string"" />
  104. <xs:element name=""serviceLevelOther"" type=""xs:string"" />
  105. <xs:element name=""incoterms"" type=""xs:string"" />
  106. <xs:element name=""inbound"" type=""xs:string"" />
  107. <xs:element name=""noOfPackages"" type=""xs:integer"" />
  108. <xs:element name=""weightUom"" type=""xs:string"" />
  109. <xs:element name=""price"" nillable=""true"" type=""xs:string"" />
  110. <xs:element name=""salesPrice"" nillable=""true"" type=""xs:string"" />
  111. <xs:element name=""currency"" type=""xs:string"" />
  112. <xs:element name=""trackingUrl"" type=""xs:string"" />
  113. <xs:element name=""shipmentStatusCode"" type=""xs:string"" />
  114. <xs:element name=""additionalReferences"">
  115. <xs:complexType>
  116. <xs:sequence>
  117. <xs:element minOccurs=""0"" maxOccurs=""unbounded"" ref=""t:additionalReference"" />
  118. </xs:sequence>
  119. </xs:complexType>
  120. </xs:element>
  121. <xs:element name=""additionalReference"">
  122. <xs:complexType>
  123. <xs:sequence>
  124. <xs:element ref=""t:type"" />
  125. <xs:element ref=""t:value"" />
  126. </xs:sequence>
  127. </xs:complexType>
  128. </xs:element>
  129. <xs:element name=""shipmentLines"">
  130. <xs:complexType>
  131. <xs:sequence>
  132. <xs:element maxOccurs=""unbounded"" ref=""t:shipmentLine"" />
  133. </xs:sequence>
  134. </xs:complexType>
  135. </xs:element>
  136. <xs:element name=""shipmentLine"">
  137. <xs:complexType>
  138. <xs:all>
  139. <xs:element minOccurs=""0"" ref=""t:sequence"" />
  140. <xs:element minOccurs=""0"" ref=""t:lineNo"" />
  141. <xs:element minOccurs=""0"" ref=""t:shipmentLineId"" />
  142. <xs:element minOccurs=""0"" ref=""t:awb"" />
  143. <xs:element minOccurs=""0"" ref=""t:packageType"" />
  144. <xs:element minOccurs=""0"" ref=""t:description"" />
  145. <xs:element minOccurs=""0"" ref=""t:quantity"" />
  146. <xs:element minOccurs=""0"" ref=""t:genericStatusCode"" />
  147. <xs:element minOccurs=""0"" ref=""t:carrierStatusCode"" />
  148. <xs:element minOccurs=""0"" ref=""t:carrierStatusDescription"" />
  149. <xs:element minOccurs=""0"" ref=""t:deliveryDate"" />
  150. <xs:element minOccurs=""0"" ref=""t:deliveryTime"" />
  151. <xs:element minOccurs=""0"" ref=""t:acceptedBy"" />
  152. <xs:element minOccurs=""0"" ref=""t:measurements"" />
  153. <xs:element minOccurs=""0"" ref=""t:dangerousGoods"" />
  154. </xs:all>
  155. </xs:complexType>
  156. </xs:element>
  157. <xs:element name=""sequence"" type=""xs:integer"" />
  158. <xs:element name=""lineNo"" type=""xs:integer"" />
  159. <xs:element name=""shipmentLineId"" type=""xs:string"" />
  160. <xs:element name=""packageType"" type=""xs:string"" />
  161. <xs:element name=""quantity"" type=""xs:integer"" />
  162. <xs:element name=""genericStatusCode"" type=""xs:string"" />
  163. <xs:element name=""carrierStatusCode"" type=""xs:string"" />
  164. <xs:element name=""carrierStatusDescription"" type=""xs:string"" />
  165. <xs:element name=""deliveryDate"" type=""xs:date"" />
  166. <xs:element name=""deliveryTime"" type=""xs:time"" />
  167. <xs:element name=""acceptedBy"" type=""xs:string"" />
  168. <xs:element name=""measurements"">
  169. <xs:complexType>
  170. <xs:all>
  171. <xs:element minOccurs=""0"" ref=""t:length"" />
  172. <xs:element minOccurs=""0"" ref=""t:width"" />
  173. <xs:element minOccurs=""0"" ref=""t:height"" />
  174. <xs:element minOccurs=""0"" ref=""t:weight"" />
  175. </xs:all>
  176. </xs:complexType>
  177. </xs:element>
  178. <xs:element name=""length"" nillable=""true"" type=""xs:decimal"" />
  179. <xs:element name=""width"" nillable=""true"" type=""xs:decimal"" />
  180. <xs:element name=""height"" nillable=""true"" type=""xs:decimal"" />
  181. <xs:element name=""addresses"">
  182. <xs:complexType>
  183. <xs:sequence>
  184. <xs:element maxOccurs=""unbounded"" ref=""t:address"" />
  185. </xs:sequence>
  186. </xs:complexType>
  187. </xs:element>
  188. <xs:element name=""address"">
  189. <xs:complexType>
  190. <xs:all>
  191. <xs:element minOccurs=""0"" ref=""t:type"" />
  192. <xs:element minOccurs=""0"" ref=""t:name"" />
  193. <xs:element minOccurs=""0"" ref=""t:street1"" />
  194. <xs:element minOccurs=""0"" ref=""t:street2"" />
  195. <xs:element minOccurs=""0"" ref=""t:city"" />
  196. <xs:element minOccurs=""0"" ref=""t:houseNo"" />
  197. <xs:element minOccurs=""0"" ref=""t:zipCode"" />
  198. <xs:element minOccurs=""0"" ref=""t:state"" />
  199. <xs:element minOccurs=""0"" ref=""t:countryCode"" />
  200. <xs:element minOccurs=""0"" ref=""t:contact"" />
  201. <xs:element minOccurs=""0"" ref=""t:telNo"" />
  202. <xs:element minOccurs=""0"" ref=""t:faxNo"" />
  203. <xs:element minOccurs=""0"" ref=""t:email"" />
  204. <xs:element minOccurs=""0"" ref=""t:VATNumber"" />
  205. <xs:element minOccurs=""0"" ref=""t:accountNo"" />
  206. </xs:all>
  207. </xs:complexType>
  208. </xs:element>
  209. <xs:element name=""dangerousGoods"" nillable=""true"">
  210. <xs:complexType>
  211. <xs:sequence>
  212. <xs:element maxOccurs=""unbounded"" ref=""t:dangerousGoodsInfo"" />
  213. </xs:sequence>
  214. </xs:complexType>
  215. </xs:element>
  216. <xs:element name=""name"" type=""xs:string"" />
  217. <xs:element name=""street1"" type=""xs:string"" />
  218. <xs:element name=""street2"" type=""xs:string"" />
  219. <xs:element name=""city"" type=""xs:string"" />
  220. <xs:element name=""houseNo"" type=""xs:string"" />
  221. <xs:element name=""zipCode"" type=""xs:string"" />
  222. <xs:element name=""state"" type=""xs:string"" />
  223. <xs:element name=""countryCode"" type=""xs:string"" />
  224. <xs:element name=""contact"" type=""xs:string"" />
  225. <xs:element name=""telNo"" type=""xs:string"" />
  226. <xs:element name=""faxNo"" type=""xs:string"" />
  227. <xs:element name=""email"" type=""xs:string"" />
  228. <xs:element name=""VATNumber"" type=""xs:string"" />
  229. <xs:element name=""accountNo"" type=""xs:string"" />
  230. <xs:element name=""description"" type=""xs:string"" />
  231. <xs:element name=""awb"" type=""xs:string"" />
  232. <xs:element name=""value"" nillable=""true"" type=""xs:string"" />
  233. <xs:element name=""weight"" nillable=""true"" type=""xs:string"" />
  234. <xs:element name=""type"" type=""xs:string"" />
  235. <xs:element name=""dangerousGoodsInfo"" nillable=""true"">
  236. <xs:complexType>
  237. <xs:all>
  238. <xs:element minOccurs=""0"" ref=""t:idCode"">
  239. <xs:annotation>
  240. <xs:documentation>hazard identification code</xs:documentation>
  241. </xs:annotation>
  242. </xs:element>
  243. <xs:element minOccurs=""0"" ref=""t:unCode"">
  244. <xs:annotation>
  245. <xs:documentation>united nations dangerous goods (UNDG) identifier</xs:documentation>
  246. </xs:annotation>
  247. </xs:element>
  248. <xs:element minOccurs=""0"" ref=""t:packingGroup"">
  249. <xs:annotation>
  250. <xs:documentation>packing group</xs:documentation>
  251. </xs:annotation>
  252. </xs:element>
  253. <xs:element minOccurs=""0"" ref=""t:packingType"">
  254. <xs:annotation>
  255. <xs:documentation>packing instruction type code</xs:documentation>
  256. </xs:annotation>
  257. </xs:element>
  258. <xs:element minOccurs=""0"" ref=""t:packingClassification"">
  259. <xs:annotation>
  260. <xs:documentation>classification identifier</xs:documentation>
  261. </xs:annotation>
  262. </xs:element>
  263. <xs:element minOccurs=""0"" ref=""t:description"">
  264. <xs:annotation>
  265. <xs:documentation>description of the dangerous good</xs:documentation>
  266. </xs:annotation>
  267. </xs:element>
  268. <xs:element minOccurs=""0"" ref=""t:markingIdentifier"">
  269. <xs:annotation>
  270. <xs:documentation>dangerous goods marking identifier</xs:documentation>
  271. </xs:annotation>
  272. </xs:element>
  273. <xs:element minOccurs=""0"" ref=""t:limitedQuantity"">
  274. <xs:annotation>
  275. <xs:documentation>flag to indicate if limited quantity is true or false</xs:documentation>
  276. </xs:annotation>
  277. </xs:element>
  278. <xs:element minOccurs=""0"" ref=""t:instruction"">
  279. <xs:annotation>
  280. <xs:documentation>special instructions concerning the dangerous good</xs:documentation>
  281. </xs:annotation>
  282. </xs:element>
  283. <xs:element minOccurs=""0"" ref=""t:flashPointDegree"">
  284. <xs:annotation>
  285. <xs:documentation>dangerous goods flashpoint degree</xs:documentation>
  286. </xs:annotation>
  287. </xs:element>
  288. <xs:element minOccurs=""0"" ref=""t:limitedQuantityPoints"">
  289. <xs:annotation>
  290. <xs:documentation>limited quantity points</xs:documentation>
  291. </xs:annotation>
  292. </xs:element>
  293. <xs:element minOccurs=""0"" ref=""t:tunnelCode"">
  294. <xs:annotation>
  295. <xs:documentation>dangerous goods tunnel code</xs:documentation>
  296. </xs:annotation>
  297. </xs:element>
  298. <xs:element minOccurs=""0"" ref=""t:measurements"" />
  299. </xs:all>
  300. </xs:complexType>
  301. </xs:element>
  302. <xs:element name=""idCode"" nillable=""true"">
  303. <xs:simpleType>
  304. <xs:restriction base=""xs:string"">
  305. <xs:minLength value=""0"" />
  306. <xs:maxLength value=""64"" />
  307. </xs:restriction>
  308. </xs:simpleType>
  309. </xs:element>
  310. <xs:element name=""unCode"" nillable=""true"">
  311. <xs:simpleType>
  312. <xs:restriction base=""xs:string"">
  313. <xs:minLength value=""0"" />
  314. <xs:maxLength value=""64"" />
  315. </xs:restriction>
  316. </xs:simpleType>
  317. </xs:element>
  318. <xs:element name=""packingGroup"" nillable=""true"">
  319. <xs:simpleType>
  320. <xs:restriction base=""xs:string"">
  321. <xs:minLength value=""0"" />
  322. <xs:maxLength value=""64"" />
  323. </xs:restriction>
  324. </xs:simpleType>
  325. </xs:element>
  326. <xs:element name=""packingType"" nillable=""true"">
  327. <xs:simpleType>
  328. <xs:restriction base=""xs:string"">
  329. <xs:minLength value=""0"" />
  330. <xs:maxLength value=""64"" />
  331. </xs:restriction>
  332. </xs:simpleType>
  333. </xs:element>
  334. <xs:element name=""packingClassification"" nillable=""true"">
  335. <xs:simpleType>
  336. <xs:restriction base=""xs:string"">
  337. <xs:minLength value=""0"" />
  338. <xs:maxLength value=""64"" />
  339. </xs:restriction>
  340. </xs:simpleType>
  341. </xs:element>
  342. <xs:element name=""markingIdentifier"" nillable=""true"">
  343. <xs:simpleType>
  344. <xs:restriction base=""xs:string"">
  345. <xs:minLength value=""0"" />
  346. <xs:maxLength value=""64"" />
  347. </xs:restriction>
  348. </xs:simpleType>
  349. </xs:element>
  350. <xs:element name=""limitedQuantity"" nillable=""true"">
  351. <xs:simpleType>
  352. <xs:restriction base=""xs:string"">
  353. <xs:minLength value=""0"" />
  354. <xs:maxLength value=""1"" />
  355. <xs:enumeration value="""" />
  356. <xs:enumeration value=""0"" />
  357. <xs:enumeration value=""1"" />
  358. </xs:restriction>
  359. </xs:simpleType>
  360. </xs:element>
  361. <xs:element name=""flashPointDegree"" nillable=""true"" type=""xs:decimal"" />
  362. <xs:element name=""limitedQuantityPoints"" nillable=""true"" type=""xs:int"" />
  363. <xs:element name=""tunnelCode"" nillable=""true"">
  364. <xs:simpleType>
  365. <xs:restriction base=""xs:string"">
  366. <xs:minLength value=""0"" />
  367. <xs:maxLength value=""16"" />
  368. </xs:restriction>
  369. </xs:simpleType>
  370. </xs:element>
  371. </xs:schema>";
  372. public Shipment() {
  373. }
  374. public override string XmlContent {
  375. get {
  376. return _strSchema;
  377. }
  378. }
  379. public override string[] RootNodes {
  380. get {
  381. string[] _RootElements = new string [1];
  382. _RootElements[0] = "carrierBooking";
  383. return _RootElements;
  384. }
  385. }
  386. protected override object RawSchema {
  387. get {
  388. return _rawSchema;
  389. }
  390. set {
  391. _rawSchema = value;
  392. }
  393. }
  394. }
  395. }