<?xml version="1.0" ?>
<rdf:RDF
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:process="http://www.daml.org/services/daml-s/0.7/Process.daml#"
xmlns:profile="http://www.daml.org/services/daml-s/0.7/Profile.daml#"
xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:service="http://www.daml.org/services/daml-s/0.7/Service.daml#"
xmlns:grounding="http://www.daml.org/services/daml-s/0.7/Grounding.daml#"
xmlns:fla="http://www.flacp.fujitsulabs.com/~mhgrove/services/FLACP-ServiceOnt.daml#"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema#"
>

<rdf:Property rdf:ID="in0Process">
  <rdfs:subPropertyOf rdf:resource="http://www.daml.org/services/daml-s/0.7/Process.daml#input"/>
  <rdfs:range rdf:resource="http://www.mindswap.org/services/Teknowledge.daml#Address"/>
  <rdfs:domain rdf:resource="#getWeatherInfoProcess"/>
</rdf:Property>

<rdf:Property rdf:ID="returnProcess">
  <rdfs:subPropertyOf rdf:resource="http://www.daml.org/services/daml-s/0.7/Process.daml#output"/>
  <rdfs:range rdf:resource="http://www.flacp.fujitsulabs.com/~mhgrove/services/FLACP-ServiceOnt.daml#WebPage"/>
  <rdfs:domain rdf:resource="#getWeatherInfoProcess"/>
</rdf:Property>

<rdfs:Class rdf:ID="getWeatherInfoProcess">
  <rdfs:subClassOf rdf:resource="http://www.daml.org/services/daml-s/0.7/Process.daml#AtomicProcess"/>
</rdfs:Class>

<profile:Profile rdf:ID="getWeatherInfoProfile">
  <profile:output>
    <profile:ParameterDescription rdf:ID="returnProfile">
      <profile:parameterName>WeatherURL</profile:parameterName>
      <profile:restrictedTo rdf:resource="http://www.flacp.fujitsulabs.com/~mhgrove/services/FLACP-ServiceOnt.daml#WebPage"/>
      <profile:refersTo rdf:resource="#returnProcess"/>
    </profile:ParameterDescription>
  </profile:output>
  <profile:serviceName>Weather Info</profile:serviceName>
  <profile:textDescription>Auto generated from http://www.mindswap.org/services/WeatherService.wsdl</profile:textDescription>
  <profile:input>
    <profile:ParameterDescription rdf:ID="Location">
      <profile:parameterName>Location</profile:parameterName>
      <profile:restrictedTo rdf:resource="http://www.mindswap.org/services/Teknowledge.daml#Address" />
      <profile:refersTo rdf:resource="#in0Process"/>
    </profile:ParameterDescription>
  </profile:input>
  <service:isPresentedBy rdf:resource="#getWeatherInfoService"/>
</profile:Profile>

<process:ProcessModel rdf:ID="getWeatherInfoProcessModel">
  <process:hasProcess rdf:resource="#getWeatherInfoProcess"/>
  <service:describes rdf:resource="#getWeatherInfoService"/>
</process:ProcessModel>

<grounding:WsdlAtomicProcessGrounding rdf:ID="getWeatherInfoProcessGrounding">
  <grounding:damlsProcess rdf:resource="#getWeatherInfoProcess"/>
  <grounding:wsdlReference>http://www.w3.org/TR/2001/NOTE-wsdl-20010315</grounding:wsdlReference>
  <grounding:wsdlDocument>http://www.mindswap.org/services/WeatherService.wsdl</grounding:wsdlDocument>
  <grounding:wsdlOperation rdf:resource="getWeatherInfo"/>
  <grounding:wsdlInputMessage rdf:resource="getWeatherInfoRequest"/>
  <grounding:wsdlOutputMessageParts rdf:parseType="daml:collection">
    <grounding:WsdlMessageMap>
      <grounding:wsdlMessagePart rdf:resource="return"/>
      <grounding:damlsParameter rdf:resource="#returnProcess"/>
    </grounding:WsdlMessageMap>
  </grounding:wsdlOutputMessageParts>
  <grounding:wsdlOutputMessage rdf:resource="getWeatherInfoResponse"/>
  <grounding:wsdlInputMessageParts rdf:parseType="daml:collection">
    <grounding:WsdlMessageMap>
      <grounding:wsdlMessagePart rdf:resource="in0"/>
      <grounding:damlsParameter rdf:resource="#in0Process"/>
      <fla:xsltTransformation rdf:parseType="Literal">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:teknowledge="http://www.mindswap.org/services/Teknowledge.daml#">

<xsl:template match="/">

<xsl:variable name="X1" select="//teknowledge:postalCodeOfAddress"/>
<zip><xsl:value-of select="$X1"/></zip>

</xsl:template>
</xsl:stylesheet>
      </fla:xsltTransformation>
    </grounding:WsdlMessageMap>
  </grounding:wsdlInputMessageParts>
</grounding:WsdlAtomicProcessGrounding>

<grounding:WsdlGrounding rdf:ID="getWeatherInfoGrounding">
  <grounding:hasAtomicProcessGrounding rdf:resource="#getWeatherInfoProcessGrounding"/>
  <service:supportedBy rdf:resource="#getWeatherInfoService"/>
</grounding:WsdlGrounding>

<service:Service rdf:ID="getWeatherInfoService">
  <service:describedBy rdf:resource="#getWeatherInfoProcessModel"/>
  <service:presents rdf:resource="#getWeatherInfoProfile"/>
  <service:supports rdf:resource="#getWeatherInfoGrounding"/>
</service:Service>

</rdf:RDF>

