Problem
1:
SOAPpyConverter Web Service
This is intended to be simple exercise in working with
multiple web services.
- all servers will:
- return a list of what operations it supports
- echo function to return message passed
- quit/stop function to kill server remotely
- use a naming convention such as mptMath, mptGeom,
mptSolve, etc. (mpt are my initials).
- servers should form a unique ID
- clients
- should have a unique ID to be associated with services
- the basic math service will support operations such
as:
- add, sub, div, mult
- trig functions
- exponential, sqrt
- event/logging:
- services should send messages to this service whenever
they perform a task.
- ID should be composited of client and service ID's, along
with date, time, etc.
- the conversion solver should support:
- unit conversion between metric and US:
- eg. convert inches, feet, yards, miles, to millimeters,
meters, km, etc.
- physical quantities: e.g. temperature conversion (F
<--> C)
- scale converter (e.g. 'milli' to 'peta', etc).
- Must support datatypes:
- Both client and server should accept command line ags
- to connect to a specific server, eg. -h
http://acel.sdsu.edu:8888, or default to a server
Problem 2: SOAPpy
echoClient.py, echoServer.py and echoHeader.py
- Run these codes and explain how these routines work.
Problem 3:
http://developerdays.com/cgi-bin/tempconverter.exe/wsdl/ITempConverter
- Write a SOAPpy client to this WSDL service.
Note
1:
See http://pipeline0.acel.sdsu.edu/cs696 for epydoc
libraries
Note 2:
for all homeworks, turn in both hardcopy and electronic
versions. Include the following for each problem:
- short summary of solution/approach
- printout showing server/client outputs, images, etc.
- copy of code
|