"WSP GET" request get rejected

"WSP GET" request get rejected SearchSearch
Author Message
munawwar
Unregistered guest
Posted on Tuesday, October 26, 2004 - 08:36 am:   

Hi,

I have a problem with WSP GET.req rejected. Here is good WSP GET.req and Bad WSP GET.req:-

Good:
GET /servlets/mms?message-id=3876540 HTTP/1.1
Host: 172.29.48.88
Accept: */*, application/vnd.wap.mms-message, application/vnd.wap.sic,text/x-hdml,image/mng,image/x-mng,video/mng,video/x-mng, image/bmp,text/html
Accept-Charset: utf-8,*
Accept-Language: en
User-Agent: Nokia6600/1.0 (4.09.1) SymbianOS/7.0s Series60/2.0 Profile/MIDP-2.0 Configuration/CLDC-1.0
x-wap-profile: "http://10.1.40.18:9092/UAProf/N6600r100.xml"
x-up-devcap-iscolor: 1
x-up-devcap-screendepth: 16
x-up-devcap-screenpixels: 176,208
x-up-devcap-max-pdu: 357000
x-up-calling-line-id: 6012345678
Via: 1.1 wapfe2-mms.xxxx.com.my
Connection: close


HTTP/1.1 200 OK
Server: Resin/2.1.6
Content-Type: application/vnd.wap.mms-message
Content-Length: 15983
Date: Mon, 18 Oct 2004 05:59:58 GMT


BAD WSP GET:

GET /servlets/mms?message-id=3876538 HTTP/1.1
Host: 172.29.48.88
Accept: text/css, application/vnd.wap.wmlscriptc, application/vnd.wap.wbxml, application/x-wap-prov.browser-settings, application/x-nokia.settings, application/vnd.wap.sic, text/x-vCard, text/x-vCalendar, application/vnd.wap.wtls-ca-certificate, application/x-wap-prov.browser-bookmarks, text/html, application/vnd.wap.wmlc, application/xhtml+xml, application/vnd.wap.xhtml+xml, text/x-co-desc, application/vnd.oma.drm.message, image/gif, image/jpeg, image/jpg, image/bmp, image/png, image/vnd.wap.wbmp, image/vnd.nok-wallpaper, audio/midi, audio/mid, audio/x-midi, audio/x-mid, audio/sp-midi, application/vnd.nokia.ringing-tone, image/vnd-nok-camera-snap, image/vnd-nok-camera-snsp, text/vnd.sun.j2me.app-descriptor, application/java, image/vnd.nok-oplogo-color, application/java-archive, application/x-java-archive, application/vnd.wap.mms-message,text/x-hdml,image/mng,image/x-mng,video/mng,vide o/x-mng,image/bmp,text/html,text/vnd.wap.wml
Accept-Charse
t: iso-8859-1, utf-8;q=0.8, iso-10646-ucs-2;q=0.6, us-ascii;q=0.7,*
Accept-Language: zh
User-Agent: Nokia3120/1.0 (05.30) Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Link/1.1
x-up-devcap-charset: iso-8859-1, utf-8;q=0.8, iso-10646-ucs-2;q=0.6, us-ascii;q=0.7
x-up-devcap-max-pdu: 51200
x-up-uplink: wapgw2.xxxx.com.my
x-wap-profile: "http://10.1.40.18:9092/UAProf/N3100r100.xml"
X-WAP.TOD: 00
x-up-devcap-iscolor: 1
x-up-devcap-
screendepth: 12
x-up-devcap-screenpixels: 128,128
Via: 1.1 wapfe3.xxxxx.com.my
Connection: close


HTTP/1.1 404 Not Found
Server: Resin/2.1.6
Cache-Control: no-cache
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Content-Type: text/html
Content-Length: 174
Date: Mon, 18 Oct 2004 06:00:09 GMT

<title>404 Not Found</title>
<h1>404 Not Found</h1>
/servlets/mms was not found on this server.
<p /><hr />
<small>
Resin 2.1.6 (built Fri Nov 8 08:18:18 PST 2002)
</small>

The different is the 404 (rejected) do not have "x-up-calling-line-id". Was it becuase of this missing parameter the WSP GET was rejected?

Would appreciate for the help

br,
Munawwar