Advertisement
Guest User

wsdl sample from icephoenix.us

a guest
May 14th, 2013
1,129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.32 KB | None | 0 0
  1. <?xml version ='1.0' encoding ='UTF-8' ?>
  2. <definitions name='NewsFeed'
  3. targetNamespace='http://newscenter.b.m3v.us/server/newsfeed'
  4. xmlns:tns='http://newscenter.b.m3v.us/server/newsfeed'
  5. xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
  6. xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  7. xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
  8. xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
  9. xmlns='http://schemas.xmlsoap.org/wsdl/'>
  10.  
  11. <types>
  12. <xsd:schema targetNamespace="http://newscenter.b.m3v.us" xmlns="http://www.w3.org/2001/XMLSchema">
  13. <xsd:complexType name="FeedItem">
  14. <xsd:sequence>
  15. <xsd:element minOccurs="1" maxOccurs="1" name="InternalID" type="xsd:int" />
  16. <xsd:element minOccurs="1" maxOccurs="1" name="PostedDate" type="xsd:string" />
  17. <xsd:element minOccurs="1" maxOccurs="1" name="Head" type="xsd:string" />
  18. <xsd:element minOccurs="1" maxOccurs="1" name="SourceName" type="xsd:string" />
  19. <xsd:element minOccurs="1" maxOccurs="1" name="Subhead" type="xsd:string" />
  20. <xsd:element minOccurs="1" maxOccurs="1" name="Author1" type="xsd:string" />
  21. <xsd:element minOccurs="1" maxOccurs="1" name="Author2" type="xsd:string" />
  22. <xsd:element minOccurs="1" maxOccurs="1" name="Author3" type="xsd:string" />
  23. <xsd:element minOccurs="1" maxOccurs="1" name="Source" type="xsd:string" />
  24. <xsd:element minOccurs="1" maxOccurs="1" name="Groupword" type="xsd:string" />
  25. <xsd:element minOccurs="1" maxOccurs="1" name="Body" type="xsd:string" />
  26. </xsd:sequence>
  27. </xsd:complexType>
  28.  
  29. <complexType name="FeedItemList">
  30. <complexContent>
  31. <restriction base="soapenc:Array">
  32. <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd1:FeedItem[]"/>
  33. </restriction>
  34. </complexContent>
  35. </complexType>
  36. </xsd:schema>
  37. </types>
  38.  
  39. <message name='getLatestNewsRequest'>
  40. <part name='key' type='xsd:string'/> <!-- key -->
  41. <part name='number' type='xsd:integer'/> <!-- number of news -->
  42. <part name='days' type='xsd:integer'/> <!-- number of days -->
  43. </message>
  44. <message name='getLatestNewsResponse'>
  45. <part name='newsline' type='xsd1:FeedItemList' />
  46. </message>
  47.  
  48. <message name='getTopNewsRequest'>
  49. <part name='key' type='xsd:string'/> <!-- site identifier(key) -->
  50. </message>
  51.  
  52. <message name='getTopNewsResponse'>
  53. <part name='newsline' type='xsd1:FeedItemList' />
  54. </message>
  55.  
  56. <message name='getNewsByIdRequest'>
  57. <part name='key' type='xsd:string'/> <!-- key -->
  58. <part name='news_id' type='xsd:integer'/> <!-- news id -->
  59. </message>
  60. <message name='getNewsByIdResponse'>
  61. <part name='newsline' type='xsd1:FeedItem' />
  62. </message>
  63.  
  64. <message name='searchNewsRequest'>
  65. <part name='key' type='xsd:string'/> <!-- key -->
  66. <part name='query' type='xsd:string'/> <!-- search query -->
  67. </message>
  68. <message name='searchNewsResponse'>
  69. <part name='newsline' type='xsd1:FeedItemList' />
  70. </message>
  71.  
  72.  
  73.  
  74. <portType name='NewsFeedPortType'>
  75. <operation name='getLatestNews'>
  76. <input message='tns:getLatestNewsRequest'/>
  77. <output message='tns:getLatestNewsResponse'/>
  78. </operation>
  79.  
  80. <operation name='getTopNews'>
  81. <input message='tns:getTopNewsRequest'/>
  82. <output message='tns:getTopNewsResponse'/>
  83. </operation>
  84.  
  85. <operation name='getNewsById'>
  86. <input message='tns:getNewsByIdRequest'/>
  87. <output message='tns:getNewsByIdResponse'/>
  88. </operation>
  89.  
  90. <operation name='searchNews'>
  91. <input message='tns:searchNewsRequest'/>
  92. <output message='tns:searchNewsResponse'/>
  93. </operation>
  94.  
  95. </portType>
  96.  
  97. <binding name='NewsFeedBinding' type='tns:NewsFeedPortType'>
  98. <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
  99. <operation name='getLatestNews'>
  100. <soap:operation soapAction='urn:newsfeed#getLatestNews'/>
  101. <input>
  102. <soap:body use='encoded' namespace='urn:newsfeed'
  103. encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
  104. </input>
  105. <output>
  106. <soap:body use='encoded' namespace='urn:newsfeed'
  107. encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
  108. </output>
  109. </operation>
  110.  
  111. <operation name='getTopNews'>
  112. <soap:operation soapAction='urn:newsfeed#getTopNews'/>
  113. <input>
  114. <soap:body use='encoded' namespace='urn:newsfeed'
  115. encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
  116. </input>
  117. <output>
  118. <soap:body use='encoded' namespace='urn:newsfeed'
  119. encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
  120. </output>
  121. </operation>
  122.  
  123. <operation name='getNewsById'>
  124. <soap:operation soapAction='urn:newsfeed#getNewsById'/>
  125. <input>
  126. <soap:body use='encoded' namespace='urn:newsfeed'
  127. encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
  128. </input>
  129. <output>
  130. <soap:body use='encoded' namespace='urn:newsfeed'
  131. encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
  132. </output>
  133. </operation>
  134.  
  135. <operation name='searchNews'>
  136. <soap:operation soapAction='urn:newsfeed#searchNews'/>
  137. <input>
  138. <soap:body use='encoded' namespace='urn:newsfeed'
  139. encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
  140. </input>
  141. <output>
  142. <soap:body use='encoded' namespace='urn:newsfeed'
  143. encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
  144. </output>
  145. </operation>
  146.  
  147. </binding>
  148.  
  149. <service name='NewsFeedService'>
  150. <port name='NewsFeedPort' binding='NewsFeedBinding'>
  151. <soap:address location=''/>
  152. </port>
  153. </service>
  154.  
  155. </definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement