[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Example WSDL Service in UnitsML
URL for the WSDL definition http://chalk.coas.unf.edu:8080/axis2/services/tempConvert?wsdl Example of the service http://chalk.coas.unf.edu:8080/axis2/services/tempConvert/getKelvin?value=25&unit=C Example XML file using the WSDLConversion for UnitsML <simple:SimpleSchemaRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:simple="http://unitsml.nist.gov/simple" xmlns:unitsml="urn:oasis:names:tc:unitsml:schema:xsd:UnitsMLSchema-0.9.14" xsi:schemaLocation="http://unitsml.nist.gov/simple SimpleSchema.xsd urn:oasis:names:tc:unitsml:schema:xsd:UnitsMLSchema-0.9.14 http://unitsml.nist.gov/Schema/unitsmlSchema-0.9.14.xsd"> <simple:Text>The temperature of the room is: </simple:Text> <simple:Measurement unit="#K"> <simple:NumericValue>298.16</simple:NumericValue> <simple:Convert ID="tempwsdl"/> </simple:Measurement> <simple:Text>This is more text.</simple:Text> <unitsml:unit symbolicID="K"> <unitsml:UnitName lang="en-US">kelvin</unitsml:UnitName> <unitsml:Symbol type="ASCII">K</unitsml:Symbol> </unitsml:unit> <unitsml:Conversions> <unitsml:WSDLConversionFrom wsdlURL="http://chalk.coas.unf.edu:8080/axis2/services/tempConvert?wsdl" ID="tempwsdl" xmlns:ns1="urn:oasis:names:tc:unitsml:schema:xsd:UnitsMLSchema-0.9.14" ns1:initialUnit="K"> <unitsml:WSDLDescription>A Service to convert temperatures. There are three services getCelsius, getKelvin, and getFarenheit. Answers are quoted to the correct significant digits/decimal places.</unitsml:WSDLDescription> </unitsml:WSDLConversionFrom> </unitsml:Conversions> </simple:SimpleSchemaRoot>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]