← Prev in month ← Prev in thread

WSDL Example for Discussion

From
Stuart Chalk <>
Date
2009-02-12T19:55:00+00:00
ID
Thread
WSDL Example for Discussion
As we talked about yesterday please find below information regarding  
an example WSDL service that I have put up.

The service converts temperature and requires a value and a unit as  
input parameters.  The URL of the WSDL is
http://chalk.coas.unf.edu:8080/axis2/services/tempConvert?wsdl

Example queries are
http://chalk.coas.unf.edu:8080/axis2/services/tempConvert/getKelvin?value=25.0&unit=C
http://chalk.coas.unf.edu:8080/axis2/services/tempConvert/getKelvin?value=25.00&unit=C
http://chalk.coas.unf.edu:8080/axis2/services/tempConvert/getKelvin?value=-300&unit=C

You can play around with the other methods getCelcius and getFarenheit  
and units F and K

Attached is an example file with the unitsML WSDLConversionFrom  
element referencing the WSDL above.
(Bob the code references a slightly diferent version of the  
SimpleSchema I put up)

Personally, I think the initialUnit is not required because the  
pointer is to the generic conversion
service not to a method that requires a unit of kelvin as default.

Thoughts?

Stuart Chalk, Ph.D.
Associate Professor of Chemistry
Department of Chemistry and Physics
University of North Florida
1 UNF Drive
Jacksonville FL 32224
P: 904-620-1938
F: 904-620-1989
E: 
W: http://www.unf.edu/coas/chemphys/
← Prev in month ← Prev in thread