JSLEE Discussions
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Ussd Server reading form Socket
Forum Index » JAIN SLEE Discussions
Author Message
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Dear all,
I am testing ussd server by putting some extra codes to connect to a single socket server.
It seems rhino goes to a loop and tries to open/close more dialogues than expected.
Please go through attached files and let me know what can be done for this issue.

I am trying to present a Demo for proof of concept, using Rhino, backend simulator and ussd client/server examples.
The reason I am doing it, is after receiving request event from client, I need to pass a message to a socket server. when I get back response from socket server, then I will continue with the rest of dialogue.

Please advise


Brs,
Farokh
 Filename USSDServerSbb.java [Disk] Download
 Description Changes's been done in ussd server
 Filesize 7 Kbytes
 Downloaded:  76 time(s)

 Filename test1 [Disk] Download
 Description test result after putting some codes
 Filesize 5 Kbytes
 Downloaded:  68 time(s)


Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

I don't see any error. Your client is issuing two requests and the server is processing them...

In a real world development you should avoid SBBs communicating with resources outside the SLEE. The programming model of JSLEE requires that SBBs don't block a thread (eg, waiting for an asynchronous response from a network resource).

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

I had in my mind to forward ussd messages to external systems. If we receive ussd short code for "call me" for example how you forward this message to a middleware without interrupting SBB threads?

and why messages are repeating in the log outputs?

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

The USSD is not blocking the SBB thread because you're using a Resource Adaptor.

The socket operation is blocking the thread and such operation should be performed by a RA (like SOAP in this case).

The messages are not repeating because they have different times. Your client should be issuing the same request twice.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Thanks Bsd,
I got your point. Actually I am not issuing request twice. When I use a stand alone client it will print only once.

Is there any RA (for SOAP or xml-RPC) developed by you?
If yes are there any code example how to use them?


Rds,
Faorkh

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Hi Faorkh,

The SOAP RA is included with the Web Connectivity Pack and also includes example services.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Anything about xml-RPC as MTN interested in this.

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Sorry. Missed the reference to XML-RPC.

XML-RPC uses XML to encode the calls and HTTP as the transport protocol. The Web Connectivity Pack also includes an HTTP RA.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Hi Bsd,
Many thanks for your help so far.
Before we close this chapter I need to know differences between following messages:

ProcessUnstructuredSsRequestReq

UnstructuredSsRequestReq

UssdReq


Rds,
Farokh

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Hi Farokh,

The answer is too big to include it here. The best place to start learning about it is the MAP Specification.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Hi BSD,
Do you have it (MAP Specifiction)?
If yes Please give it to me as soon as you can.


Rds,
Farokh

Rds,
Farokh
davidf


Joined: 30/01/2008 17:59:09
Messages: 492
Location: Wellington, New Zealand
Offline

You can download it off the link Bruno posted ... pick one of the R98 versions ...

David Ferry
Lead Architect VoLTE TAS
Metaswitch
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

is it a link?
It is not clickable!

Rds,
Farokh
davidf


Joined: 30/01/2008 17:59:09
Messages: 492
Location: Wellington, New Zealand
Offline

Ok that is weird .. I can click it !!! (I wonder why you cannot)

Here is the URL he posted ...

http://www.3gpp.org/FTP/Specs/html-info/0902.htm

David Ferry
Lead Architect VoLTE TAS
Metaswitch
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

First time I see something like this.
Please guide me through right information about USSD messages


Rds,
Farokh

Rds,
Farokh
 
Forum Index » JAIN SLEE Discussions
Go to:   
Powered by JForum 2.1.8 © JForum Team