Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

424 lines
17 KiB

  1. <%@ Page Language='C#' Inherits='UDDI.Web.UddiPage'%>
  2. <%@ Register Tagprefix='uddi' Tagname='Header' Src='./controls/header.ascx' %>
  3. <%@ Register Tagprefix='uddi' Tagname='Footer' Src='./controls/footer.ascx' %>
  4. <%@ Register Tagprefix='uddi' Tagname='SideMenu' Src='./controls/sidemenu.ascx' %>
  5. <%@ Register TagPrefix='uddi' Namespace='UDDI.Web' Assembly='uddi.web' %>
  6. <%@ Import Namespace='UDDI.API' %>
  7. <%@ Import Namespace='UDDI.API.ServiceType' %>
  8. <%@ Import Namespace='UDDI' %>
  9. <%@ Import Namespace='System.Data' %>
  10. <%@ Import Namespace='System.Xml' %>
  11. <script language='C#' runat='server'>
  12. protected string siteStatus = Config.GetString( "Web.SiteStatus", UDDI.Constants.Web.SiteStatus ).ToLower();
  13. protected string outageStart = Config.GetString( "Web.OutageStart", UDDI.Constants.Web.OutageStart );
  14. protected string outageEnd = Config.GetString( "Web.OutageEnd", UDDI.Constants.Web.OutageEnd );
  15. protected void Page_Load( object sender, EventArgs e )
  16. {
  17. if( "closed" == siteStatus )
  18. {
  19. contentSiteClosed.Visible = true;
  20. contentMain.Visible = false;
  21. }
  22. else if( "warn" == siteStatus )
  23. contentSiteWarn.Visible = true;
  24. }
  25. protected string LimitText( string text, int length )
  26. {
  27. return text;
  28. }
  29. </script>
  30. <uddi:StyleSheetControl
  31. Runat='server'
  32. Default='./stylesheets/uddi.css'
  33. Downlevel='./stylesheets/uddidl.css'
  34. />
  35. <uddi:PageStyleControl
  36. Runat='server'
  37. OnClientContextMenu='Document_OnContextMenu()'
  38. ShowHeader='true'
  39. Title="TITLE"
  40. AltTitle="TITLE_ALT"
  41. RenderProtectionTable = 'false'
  42. />
  43. <uddi:ClientScriptRegister
  44. Runat='server'
  45. Source='./client.js'
  46. Language='javascript'
  47. />
  48. <uddi:SecurityControl
  49. Runat='server'
  50. />
  51. <form enctype='multipart/form-data' Runat='server'>
  52. <table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0">
  53. <tr >
  54. <td height="100%" valign="top">
  55. <asp:PlaceHolder ID='contentSiteClosed' Visible='false' Runat='server'>
  56. <table width="100%" bgcolor="#003366" bordercolor="SteelBlue" border="0" cellpadding="20">
  57. <tr>
  58. <td>
  59. <STRONG><FONT color="#ffffff" size="5" face="verdana">Microsoft UDDI Notice</FONT></STRONG>
  60. <br>
  61. <br>
  62. <FONT color="#ffffff" size="2" face="verdana">The service is temporarily
  63. unavailable. This planned outage is scheduled for the following times:
  64. <BR>
  65. <BR>
  66. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From:
  67. <%=outageStart%>
  68. <BR>
  69. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To:
  70. <%=outageEnd%>
  71. </FONT>
  72. </td>
  73. </tr>
  74. </table>
  75. </asp:PlaceHolder>
  76. <asp:PlaceHolder ID='contentMain' Visible='true' Runat='server'>
  77. <table width='100%' border='0' height='100%' cellpadding='0' cellspacing='0' >
  78. <asp:PlaceHolder
  79. Id='HeaderBag'
  80. Runat='server'
  81. >
  82. <tr height='95'>
  83. <td height='95'>
  84. <!-- Header Control Here -->
  85. <uddi:Header
  86. Runat='server'
  87. />
  88. </td>
  89. </tr>
  90. </asp:PlaceHolder>
  91. <tr valign='top'>
  92. <td valign='top' height='100%'>
  93. <TABLE width='100%' height='100%' cellpadding='0' cellspacing='0' border='0'>
  94. <tr height='100%'>
  95. <td valign='top' bgcolor='#F1F1F1' width='200' height='100%'>
  96. <uddi:SideMenu
  97. Runat='server'
  98. SelectedIndex='1'
  99. />
  100. </td>
  101. <td valign='top' height='100%'>
  102. <TABLE width='100%' height='100%' cellpadding='0' cellspacing='0' border='0'>
  103. <tr>
  104. <td valign='top'>
  105. <asp:Panel ID='contentSiteWarn' Visible='false' Runat='server'>
  106. <table width="98%" bgcolor="#003366" bordercolor="SteelBlue" border="0" cellpadding="20">
  107. <tr>
  108. <td width="100">
  109. <STRONG><FONT color="#ffffff" size="4">Notice:</FONT></STRONG></td>
  110. <td>
  111. <FONT color="#ffffff">The service will be temporarily unavailable between the
  112. following times:
  113. <BR>
  114. <BR>
  115. From:
  116. <%=outageStart%>
  117. <BR>
  118. To:
  119. <%=outageEnd%>
  120. </FONT>
  121. </td>
  122. </tr>
  123. </table>
  124. </asp:Panel>
  125. <table width="100%" border="0" bordercolor="orange" cellpadding="0" cellspacing="0">
  126. <tr>
  127. <td colspan="6">
  128. <img src="images/trans_pixel.gif" width="1" height="13">
  129. </td>
  130. </tr>
  131. <tr valign="top">
  132. <td width="10">
  133. <img src="images/trans_pixel.gif" width="10" height="1">
  134. </td>
  135. <td align="center" width="95">
  136. <table cellpadding="0" cellspacing="0" border="0" bordercolor="black">
  137. <tr>
  138. <td>
  139. <img src="images/trans_pixel.gif" width="10" height="1">
  140. </td>
  141. <td>
  142. <img src="images/image_home.jpg" width="73" height="73" border="0">
  143. </td>
  144. <td>
  145. <img src="images/trans_pixel.gif" width="12" height="1">
  146. </td>
  147. </tr>
  148. </table>
  149. </td>
  150. <td class="small" colspan="3">
  151. <table cellpadding="0" cellspacing="0" border="0" bordercolor="green">
  152. <tr>
  153. <td>
  154. <a href="<%= ( ((0==Config.GetInt( "Security.HTTPS",UDDI.Constants.Security.HTTPS ) )?"http://":"https://" ) + Request.ServerVariables[ "SERVER_NAME" ] + Root ) %>/register.aspx"><img src="images/register.gif" width="78" height="21" border="0"></a>
  155. </td>
  156. </tr>
  157. <tr>
  158. <td class="small">
  159. Think of this free UDDI registry as both a white pages business directory and a
  160. technical specifications library.
  161. <br>
  162. </td>
  163. </tr>
  164. <tr>
  165. <td class="small">
  166. <b>With no-cost UDDI registration, you can:</b>
  167. </td>
  168. </tr>
  169. <tr>
  170. <td>
  171. <table cellpadding="0" cellspacing="0" border="0">
  172. <tr valign="top">
  173. <td>
  174. <img src="images/orange_arrow_right.gif" width="8" height="7" border="0" align="absmiddle">&nbsp;Look
  175. up the Web services interfaces of your business partners and potential
  176. partners.
  177. </td>
  178. </tr>
  179. <tr valign="top">
  180. <td valign="baseline">
  181. <img src="images/orange_arrow_right.gif" width="8" height="7" border="0" align="absmiddle">&nbsp;Discover
  182. technical details on working with other Web services, and post details.
  183. </td>
  184. </tr>
  185. </table>
  186. </td>
  187. </tr>
  188. </table>
  189. </td>
  190. <td width="10">
  191. <img src="images/trans_pixel.gif" width="10" height="1">
  192. </td>
  193. </tr>
  194. <tr height='10'>
  195. <td colspan="6">
  196. <img src="images/trans_pixel.gif" width="1" height="10">
  197. </td>
  198. </tr>
  199. <tr height='1'>
  200. <td colspan="6">
  201. <hr color="#639ACE" size="1" width='95%'>
  202. </td>
  203. </tr>
  204. <tr height='10'>
  205. <td colspan="6">
  206. <img src="images/trans_pixel.gif" width="1" height="1">
  207. </td>
  208. </tr>
  209. <tr valign="top" >
  210. <td width="10">
  211. <img src="images/trans_pixel.gif" width="10" height="1">
  212. </td>
  213. <td align="center" width="95">
  214. <table cellpadding="0" cellspacing="0" border="0" bordercolor="black">
  215. <tr>
  216. <td>
  217. <img src="images/trans_pixel.gif" width="10" height="1">
  218. </td>
  219. <td>
  220. <img src="images/image_events.jpg" width="73" height="73" border="0">
  221. </td>
  222. <td>
  223. <img src="images/trans_pixel.gif" width="12" height="1">
  224. </td>
  225. </tr>
  226. </table>
  227. </td>
  228. <td>
  229. <!--<table width=100% cellpadding=0 cellspacing=0 border=1 bordercolor=red>
  230. <tr valign=top>
  231. <td>//-->
  232. <table width="100%" border="0" bordercolor="blue" cellpadding="0" cellspacing="0">
  233. <tr>
  234. <td>
  235. <a class="navbold" href="http://www.microsoft.com/windows.netserver/evaluation/overview/dotnet/uddi.mspx" target="_new">
  236. UDDI Services available with Windows .NET Server Release Candidate 1</a>
  237. <br>
  238. <font class="normal">
  239. <%=
  240. LimitText( "The Windows .NET Server UDDI Services is an integrated, standards-based solution for enterprise developers, enabling efficient discovery, sharing and reuse of Web Services across and between enterprises.", 240 )
  241. %>
  242. <a href="http://www.microsoft.com/windows.netserver/evaluation/overview/dotnet/uddi.mspx" target="_new"><img src="images/orange_box_arrow_right.gif" width="17" height="11" border="0"></a></font>
  243. </td>
  244. </tr>
  245. </table>
  246. </td>
  247. <td align="center" width="95">
  248. <table cellpadding="0" cellspacing="0" border="0" bordercolor="black">
  249. <tr>
  250. <td>
  251. <img src="images/trans_pixel.gif" width="10" height="1"></td>
  252. <td>
  253. <img src="images/image_news.jpg" width="73" height="73" border="0">
  254. </td>
  255. <td>
  256. <img src="images/trans_pixel.gif" width="12" height="1"></td>
  257. </tr>
  258. </table>
  259. </td>
  260. <td>
  261. <table width="100%" border="0" bordercolor="blue" cellpadding="0" cellspacing="0">
  262. <tr>
  263. <td>
  264. <a class="navbold" href="http://www.microsoft.com/office/developer/webservices/default.asp" target="_new">
  265. UDDI support in Office!</a>
  266. <br>
  267. <font class="normal">
  268. <%=
  269. LimitText( "The Office XP Web Services Toolkit enables developers to quickly and easily discover, reference, and integrate XML Web Services into their custom Office XP solutions. From Web Services Reference tool, a developer can easily search a UDDI registry for XML Web Services by keyword or business. " , 110 )
  270. %>
  271. <a href="http://www.microsoft.com/office/developer/webservices/default.asp" target="_new"><img src="images/orange_box_arrow_right.gif" width="17" height="11" border="0"></a></font>
  272. </td>
  273. </tr>
  274. </table>
  275. </td>
  276. <!--<td><img src="images/trans_pixel.gif" width=17 height=1></td>
  277. </tr>
  278. </table>//-->
  279. <td width="10">
  280. <img src="images/trans_pixel.gif" width="10" height="1">
  281. </td>
  282. </tr>
  283. <tr>
  284. <td colspan="6">
  285. <img src="images/trans_pixel.gif" width="1" height="35">
  286. </td>
  287. </tr>
  288. <tr valign="top" >
  289. <td width="10">
  290. <img src="images/trans_pixel.gif" width="10" height="1">
  291. </td>
  292. <td align="center" width="95">
  293. <table cellpadding="0" cellspacing="0" border="0" bordercolor="black">
  294. <tr>
  295. <td>
  296. <img src="images/trans_pixel.gif" width="10" height="1"></td>
  297. <td>
  298. <img src="images/image_fordevelop.jpg" width="73" height="73" border="0">
  299. </td>
  300. <td>
  301. <img src="images/trans_pixel.gif" width="12" height="1">
  302. </td>
  303. </tr>
  304. </table>
  305. </td>
  306. <!--RED ONE//-->
  307. <!--<table width=100% cellpadding=0 cellspacing=0 border=1 bordercolor=red>
  308. <tr valign=top>
  309. <td>//-->
  310. <td width="50%" valign="top">
  311. <table width="100%" border="0" bordercolor="blue" cellpadding="0" cellspacing="0">
  312. <tr>
  313. <td valign="top">
  314. <a class="navbold" href="http://go.microsoft.com/fwlink/?LinkId=7750&clcid=0x409" target="_new">
  315. UDDI SDK simplifies integration with UDDI registries</a>
  316. <br>
  317. <font class="normal">
  318. <%=
  319. LimitText( "The UDDI SDK is a collection of client development components, sample code, and reference documentation that enables developers to interact programmatically with UDDI-compliant servers. This is available for Visual Studio .NET and separately for Visual Studio 6.0 or any other COM-based development environment.",240 )
  320. %>
  321. <a href="http://go.microsoft.com/fwlink/?LinkId=7750&clcid=0x409" target="_new">
  322. <img src="images/orange_box_arrow_right.gif" width="17" height="11" border="0"></a></font>
  323. </td>
  324. </tr>
  325. </table>
  326. </td>
  327. <td align="center" width="95">
  328. <table cellpadding="0" cellspacing="0" border="0" bordercolor="black">
  329. <tr>
  330. <td>
  331. <img src="images/trans_pixel.gif" width="10" height="1">
  332. </td>
  333. <td>
  334. <img src="images/image_about.jpg" width="73" height="73" border="0">
  335. </td>
  336. <td>
  337. <img src="images/trans_pixel.gif" width="12" height="1">
  338. </td>
  339. </tr>
  340. </table>
  341. </td>
  342. <td width="50%">
  343. <table width="100%" border="0" bordercolor="blue" cellpadding="0" cellspacing="0">
  344. <tr>
  345. <td>
  346. <a class="navbold" href="http://msdn.microsoft.com/vstudio/" target="_new">
  347. UDDI support in Visual Studio .NET</a>
  348. <br>
  349. <font class="normal">
  350. <%=
  351. LimitText( "Visual Studio .NET offers the ability to both search and publish to a UDDI registry. Service registration is available in the 'XML Web Services' section of the start page and service searching and integration is available in the 'Add Web Reference' dialog.", 260 )
  352. %>
  353. <a href="http://msdn.microsoft.com/vstudio/" target="_new"><img src="images/orange_box_arrow_right.gif" width="17" height="11" border="0"></a></font>
  354. </td>
  355. </tr>
  356. </table>
  357. </td>
  358. <!--</td>
  359. <td><img src="images/trans_pixel.gif" width=17 height=1></td>
  360. </tr>
  361. </table>//-->
  362. <td width="10">
  363. <img src="images/trans_pixel.gif" width="10" height="1">
  364. </td>
  365. </tr>
  366. <tr>
  367. <td colspan="6">
  368. <img src="images/trans_pixel.gif" width="1" height="29">
  369. </td>
  370. </tr>
  371. <tr >
  372. <td height='100%' colspan="6">
  373. <img src="images/trans_pixel.gif" width="1" height="1">
  374. </td>
  375. </tr>
  376. </TABLE>
  377. </td>
  378. </tr>
  379. <asp:PlaceHolder
  380. Id='FooterBag'
  381. Runat='server'
  382. >
  383. <tr height='95'>
  384. <td valing='bottom'>
  385. <!-- Footer Control Here -->
  386. <uddi:Footer
  387. Runat='server'
  388. />
  389. </td>
  390. </tr>
  391. </asp:PlaceHolder>
  392. </table>
  393. </td>
  394. </tr>
  395. </table>
  396. </td>
  397. </tr>
  398. </table>
  399. </asp:PlaceHolder>
  400. </td>
  401. </tr>
  402. </table>
  403. </form>