<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>WS-Inspection</title>
<meta name="AUTHOR" content="Jose M Vidal"></meta>
<meta name="GENERATOR" content="xslides.el, written by J.M. Vidal"></meta>
<link rel="previous" href="wsdl2uddi.xml"  title="From WSDL to UDDI"/>
<link rel="author" href="../../index.html" title="Jose M Vidal"/>
<link rel="parent" href="index.xml" title="Index"/>
<link rel="top" href="../index.html" title="Presentation List"/>

<link rel="stylesheet" type="text/css" href="../xslides-medwhite.css" title="White" media="all" />
 	    <link rel="alternate stylesheet" type="text/css" href="../xslides-medblue.css" title="Blue" media="all" />
 	    <link rel="alternate stylesheet" type="text/css" href="../xslides-usc.css" title="USCTheme" media="all" />
<script type="text/javascript" src="../scripts/stylehelper.js"></script>
</head>
<body>
<div class="navbar">
<p>
<a onclick="javascript:this.href=getURL('wsdl2uddi.xml');return true;" rel="prev" href="wsdl2uddi.xml" accesskey="P" title="From WSDL to UDDI">&larr;</a>
<a rel="index" href="index.xml" onclick="javascript:this.href=getURL('index.xml');return true;" accesskey="I" title="Index Page">^</a>
</p>
</div>
<div class="talktitle"><p>UDDI and WS-Inspection</p></div>
<h1 class="slide">WS-Inspection</h1>
<div class="slidebody">
      <ul>
	<li>UDDI has a lot of features. It might be overkill for a small
	  (in-house) application. </li>

	<li>IBM and Microsoft got together and came up with the <a class="remote" href="http://www-106.ibm.com/developerworks/webservices/library/ws-wsilspec.html">Web
	    Services Inspection Language</a>. </li>

	<li>It can be used to create a simple index of service
	  descriptions. </li>

	<li>An example of two services. The first provides stock quotes
	  with a HTTP-accessible WSDL file and UDDI-accessible. The second
	  provides a calculator with an FTP-accessible WSDL file. </li>
      </ul>
      <pre>
<span class="variable-name">&lt;?xml version=</span><span class="string">"1.0"</span><span class="variable-name">?&gt;</span>
<span class="type">&lt;inspection </span><span class="keyword">xmlns="http://schemas.xmlsoap.org/ws/2001/10/inspection/"</span><span class="type">
            </span><span class="keyword">xmlns:wsiluddi="http://schemas.xmlsoap.org/ws/2001/10/inspection/uddi/"</span><span class="type">&gt;</span>
  <span class="type">&lt;service&gt;</span>
    <span class="type">&lt;abstract&gt;</span>A stock quote service with two descriptions<span class="type">&lt;/abstract&gt;</span>
    <span class="type">&lt;description referencedNamespace=</span><span class="string">"http://schemas.xmlsoap.org/wsdl/"</span><span class="type">
                 location=</span><span class="string">"http://example.com/stockquote.wsdl"</span><span class="type">/&gt;</span>
    <span class="type">&lt;description referencedNamespace=</span><span class="string">"urn:uddi-org:api"</span><span class="type">&gt;</span>
      <span class="type">&lt;wsiluddi:serviceDescription location=</span><span class="string">"http://www.example.com/uddi/inquiryapi"</span><span class="type">&gt;</span>
        <span class="type">&lt;wsiluddi:serviceKey&gt;</span>4FA28580-5C39-11D5-9FCF-BB3200333F79<span class="type">&lt;/wsiluddi:serviceKey&gt;</span>
      <span class="type">&lt;/wsiluddi:serviceDescription&gt;</span>
    <span class="type">&lt;/description&gt;</span>
  <span class="type">&lt;/service&gt;</span>
  <span class="type">&lt;service&gt;</span>
    <span class="type">&lt;description referencedNamespace=</span><span class="string">"http://schemas.xmlsoap.org/wsdl/"</span><span class="type">
                 location=</span><span class="string">"ftp://anotherexample.com/tools/calculator.wsdl"</span><span class="type">/&gt;</span>
  <span class="type">&lt;/service&gt;</span>
  <span class="type">&lt;link referencedNamespace=</span><span class="string">"http://schemas.xmlsoap.org/ws/2001/10/inspection/"</span><span class="type">
        location=</span><span class="string">"http://example.com/moreservices.wsil"</span><span class="type">/&gt;</span>
<span class="type">&lt;/inspection&gt;</span>

</pre>
      <ul>
	<li>These documents should be placed in a website which must
	  also have a http:&#047;&#047;host&#047;inspection.wsil file that
	  lists the services.</li>

	<li>UDDI is useful when you don't know who provides the service
	  you want. WS-Inspection can only be used if you know who you
	  want to use. </li>
      </ul>
    </div><hr class="bottom"/>
<p class="author"><a href="../../index.html">Jos&eacute; M. Vidal</a>
<a href=" http://validator.w3.org/check?uri=http://jmvidal.cse.sc.edu/talks/uddi/wsinspection.xml">.</a></p>
<p class="pagenumber">12 of 12</p>
</body>
</html>