Advertisement
Guest User

Untitled

a guest
May 4th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  1. <plugin>
  2. <groupId>org.jvnet.jax-ws-commons</groupId>
  3. <artifactId>jaxws-maven-plugin</artifactId>
  4. <executions>
  5. <execution>
  6. <goals>
  7. <goal>wsimport</goal>
  8. </goals>
  9. <configuration>
  10. <bindingDirectory>${basedir}/src/main/wsdl</bindingDirectory>
  11. <bindingFiles><bindingFile>Booking_normalized/Booking_1.0.1.0.xjb</bindingFile>
  12. </bindingFiles>
  13. <wsdlDirectory>${basedir}/src/main/wsdl</wsdlDirectory>
  14. <wsdlFiles>
  15. <wsdlFile>Booking_normalized/Booking_1.0.1.0.wsdl</wsdlFile>
  16. </wsdlFiles>
  17. <target>2.1</target>
  18. </configuration>
  19. </execution>
  20. </executions>
  21. </plugin>
  22.  
  23. <xs:complexType name="ScheduleQueryType">
  24. <xs:annotation>
  25. <xs:documentation>Describes a Schedule</xs:documentation>
  26. </xs:annotation>
  27. <xs:sequence>
  28. <xs:element name="start" type="ScheduleQueryTypestart"/>
  29. <xs:element name="end" type="ScheduleQueryTypeend"/>
  30. </xs:sequence>
  31. </xs:complexType>
  32.  
  33. <xs:complexType name="ScheduleQueryTypestart">
  34. <xs:annotation>
  35. <xs:documentation xml:lang="en">
  36. The start element contains the origin locationCode and departure dateTime
  37. </xs:documentation>
  38. </xs:annotation>
  39. <xs:complexContent>
  40. <xs:extension base="DateTimeLocationType">
  41. <xs:attribute name="windowBefore" type="xs:duration" use="optional">
  42. <xs:annotation>
  43. <xs:documentation xml:lang="en">A period of time that can be applied to another time resulting in an earlier range of time.</xs:documentation>
  44. </xs:annotation>
  45. </xs:attribute>
  46. <xs:attribute name="windowAfter" type="xs:duration" use="optional">
  47. <xs:annotation>
  48. <xs:documentation xml:lang="en">A period of time that can be applied to another time resulting in a later range of time.</xs:documentation>
  49. </xs:annotation>
  50. </xs:attribute>
  51. </xs:extension>
  52. </xs:complexContent>
  53. </xs:complexType>
  54. <xs:complexType name="ScheduleQueryTypeend">
  55. <xs:annotation>
  56. <xs:documentation xml:lang="en">
  57. The end element contains the destination locationCode and arrival dateTime.
  58. </xs:documentation>
  59. </xs:annotation>
  60. <xs:complexContent>
  61. <xs:extension base="DateTimeLocationType">
  62. <xs:attribute name="windowBefore" type="xs:duration" use="optional">
  63. <xs:annotation>
  64. <xs:documentation xml:lang="en">A period of time that can be applied to another time resulting in an earlier range of time.</xs:documentation>
  65. </xs:annotation>
  66. </xs:attribute>
  67. <xs:attribute name="windowAfter" type="xs:duration" use="optional">
  68. <xs:annotation>
  69. <xs:documentation xml:lang="en">A period of time that can be applied to another time resulting in a later range of time.</xs:documentation>
  70. </xs:annotation>
  71. </xs:attribute>
  72. </xs:extension>
  73. </xs:complexContent>
  74. </xs:complexType>
  75. <xs:complexType name="DateTimeLocationType">
  76. <xs:annotation>
  77. <xs:documentation xml:lang="en">Describes DateTime and Location</xs:documentation>
  78. </xs:annotation>
  79. <xs:sequence>
  80. <xs:element name="locationCode" minOccurs="0">
  81. <xs:annotation>
  82. <xs:documentation xml:lang="en">Code used to identify a location</xs:documentation>
  83. </xs:annotation>
  84. <xs:complexType>
  85. <xs:simpleContent>
  86. <xs:extension base="ota:StringLength1to16">
  87. <xs:attribute name="type" type="ota:AlphaNumericStringLength1to8" use="optional">
  88. <xs:annotation>
  89. <xs:documentation>Type of location code</xs:documentation>
  90. </xs:annotation>
  91. </xs:attribute>
  92. </xs:extension>
  93. </xs:simpleContent>
  94. </xs:complexType>
  95. </xs:element>
  96. </xs:sequence>
  97. <xs:attribute name="dateTime" type="ota:DateOrDateTimeType">
  98. <xs:annotation>
  99. <xs:documentation>Date and optional time</xs:documentation>
  100. </xs:annotation>
  101. </xs:attribute>
  102. <xs:attribute name="locationName" type="ota:StringLength1to64" use="optional">
  103. <xs:annotation>
  104. <xs:documentation xml:lang="en">Name of the location</xs:documentation>
  105. </xs:annotation>
  106. </xs:attribute>
  107. </xs:complexType>
  108.  
  109. <ns5:Schedule>
  110. <ns5:Segment TID="SEG_1" Inventory="FRR">
  111. <ns2:start xsi:type="ns2:ScheduleQueryTypestart" dateTime="2015-05-06" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  112. <ns2:locationCode type="NLS">FRPLY</ns2:locationCode>
  113. </ns2:start>
  114. <ns2:end xsi:type="ns2:ScheduleQueryTypeend" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  115. <ns2:locationCode type="NLS">FRLPD</ns2:locationCode>
  116. </ns2:end>
  117. <ns2:serviceProvider Code="SNF"/>
  118. <ns2:identifier>6609</ns2:identifier>
  119. </ns5:Segment>
  120. </ns5:Schedule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement