
Android project is on the fast track.
I need your help with three additional web services.

One is for Rachel, two others are for D'n.
I have ran the plan through Avi, and got it approved.

I have in the meantime created stubs for D'n's servcies.They work.
Therefore the input nad output params shoudl be preserved.

Deadline: Wednesday evening.I shall be in the office Thursday morning (may be very early).
Delivery: commit to SVN, into cmtsroot/3.0

==================================================
/3.0/dump_user_inv.php 
==================================================
-------------------
Parameters 
-------------------
Request: POST with params in the body:
    sessionId
Response: text with SQL commands, not url encoded !!!! no assignment to a variable
Optional: in reponse make Content-Type: text/plain;

-------------------
Comments 
-------------------
I have discussed it in details earlier today with Rachel.
She is almost ready

-------------------
Example
-------------------

==================================================
/3.0/streamMediaAndroid.php 
==================================================
-------------------
Parameters 
-------------------
Request: POST with params in the body:
    sessionId
    mediaId
Response: url encoded params:
    URL

-------------------
Comments 
-------------------
I have quickly created a simple php that always return the hard coded URL.
I tried streamMedia but it created an HTML and produced a streaming file, not url of an mp3 file.

-------------------
Example
-------------------
66997	5252.627651	192.168.11.47	192.168.11.132	HTTP	POST /3.0/streamMediaAndroid.php HTTP/1.1  (application/x-www-form-urlencoded)
sessionId=6c73b83e9cad5f74d822247fd50acf37&mediaId=15581446
69926	5659.363113	192.168.11.132	192.168.11.47	HTTP	HTTP/1.1 200 OK  (text/html)
URL=http://michael2.il.catchmedia.com/15581446mp3


==================================================
/3.0/logPlaybackAndroid.php 
==================================================

-------------------
Parameters 
-------------------
Request: POST with params in the body:
    mediaId
    sessionId
    serialNumber
    timeStamp
Response: url encoded params:
    media-record // it is the same as mediaId, but it does not matter. Its mere presense is enough

-------------------
Comments 
-------------------
This file is a copy of logPlaybackAndroid.php in 3.0 directory.
I removed the beginning that deals with the abiltiy to batch several logs in order to simplify my client side code to a simple POST.
It is even possible that it works.
-------------------
Example
-------------------
72192	5903.551103	192.168.11.47	192.168.11.132	HTTP	POST /3.0/logPlaybackAndroid.php HTTP/1.1  (application/x-www-form-urlencoded)
timeStamp=20090203&mediaId=15581446&sessionId=c8e2030755d331f9d408e10a5d5a3299&serialNumber=31130
72197	5903.981682	192.168.11.132	192.168.11.47	HTTP	HTTP/1.1 200 OK  (text/html)
media-record=15581446
