getting mobile no by calling the servlet

Currently im doing a part of the project which is to get mobile no when when there got gprs connection.

When i call the servlet straight from the url, it successfully get the mobile no..while if i call thru the j2me..it wil jus fail to get the mobile no..the way to get the mobile, we need to call the servlet which located in another server and it may loop two times before we can get the mobile no.

Anyone can give me a better idea on the way to retrieve the mobile no for digi, maxis n celcom. Thanks.

regards,

angie

[550 byte] By [angelinetkya] at [2007-10-2 1:55:54]
# 1
Who do you get the mobile number anyway? A phones doesn't know it's own number...
deepspacea at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
show u the flow :j2me -> servlet1->servlet2(servlet tat located in another server(get the operator header))servlet1 will be called 2 times b4 can get the phone no.successful when only servlet1->servlet2but failed when
angelinetkya at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
Okay, so server2 will give you the phone number?Well, then why does it fail? It must be possible to pinpoint the problem...
deepspacea at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

I think it is j2me problem that only can go thru the things one level. can u see the different when i call straight the servlet1 and call servlet1 thru j2me.. i duno wat is the real reason...i guess is the limitation of j2me.

Thinking of a better solution so tat i can get the mobile thru j2me.

angelinetkya at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
Server 1 and 2 don't know that a j2me app is requesting...what is the actual difference in request between doing it in j2me, and withou j2me?
deepspacea at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
Act i wan to get the mobile no when i using the application..without asking user to keyin the mobile themselves.. Doing this step by step..and until j2me call servlet..it's alr failed. This is wat the problem i face..no matter wat..hv to access thru j2me.
angelinetkya at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7
I know, but you say that it works if you don't use j2me... So I want to know why..
deepspacea at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 8
do u have any contact ..i think i need to talk to u straight..msn?YM?thanks.
angelinetkya at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 9
Not right now... maybee tonight...
deepspacea at 2007-7-15 19:37:01 > top of Java-index,Java Mobility Forums,Java ME Technologies...