<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to XMLWeatherService.xml</title><link>https://sourceforge.net/p/starlink/wiki/XMLWeatherService.xml/</link><description>Recent changes to XMLWeatherService.xml</description><atom:link href="https://sourceforge.net/p/starlink/wiki/XMLWeatherService.xml/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 03 Jun 2013 07:34:14 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/starlink/wiki/XMLWeatherService.xml/feed" rel="self" type="application/rss+xml"/><item><title>XMLWeatherService.xml modified by Paul Grace</title><link>https://sourceforge.net/p/starlink/wiki/XMLWeatherService.xml/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This xml describes the behaviour of an XML-RPC implementation of a weather service. The automaton format is the same as for the client i.e. in terms of send, recv actions. Although again, these mirror the actual operations - the mediator performs a send whereas the service itself will receive these messages.&lt;/p&gt;
&lt;p&gt;The key difference, is that a service must colour its automaton with a protocol and &lt;strong&gt; an endpoint address &lt;/strong&gt; so that the mediator knows how to interact with the services.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;protocolName&amp;gt;&lt;/span&gt;XMLWeatherService&lt;span class="nt"&gt;&amp;lt;/protocolName&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;attributes&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;ProtocolBinding&amp;gt;&lt;/span&gt;XMLRPCServerBinding.xml&lt;span class="nt"&gt;&amp;lt;/ProtocolBinding&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;ServerHost&amp;gt;&lt;/span&gt;http://127.0.0.1:8081&lt;span class="nt"&gt;&amp;lt;/ServerHost&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/attributes&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Here we using the XMLRPC server binding to colour the protocol and also point that the service is hosted on the &lt;strong&gt;localhost&lt;/strong&gt; at port &lt;strong&gt;8081&lt;/strong&gt;. Note, this must reference where the service is (it does not perform and hosting); therefore, if the service is hosted at port 8087 then the tag value would be &lt;a href="http://127.0.0.1:8087" rel="nofollow"&gt;http://127.0.0.1:8087&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Grace</dc:creator><pubDate>Mon, 03 Jun 2013 07:34:14 -0000</pubDate><guid>https://sourceforge.net72f1784267a307919cfa00cfa0846f35dba7040b</guid></item></channel></rss>