06-15-2010 05:13 AM
i got this from an articel
The third part of MDS is a service that runs on the BES that acts as middleware. It allows developers to quickly build BlackBerry applications that allow the BlackBerry user to interact with corporate databases to either extract information from them, or add information to them. The developers get a tool that allows them to build the interfaces or forms, and control how that data is accessed via MDS. These applications are not full blown BlackBerry applications but are rather more forms based in nature. It really allows developers to build something quickly without having to build a BlackBerry application from scratch using Java and having to build their own middleware.
So i would like to ask you how i can develope an application who is communication thru BES (MDS ???) (;deviceside=false is enought ???? )and connects to an intranet WCF service.
A little skech:
BES activated BB, ----- firewall ---- BES server ---- intranet-------DB server & WCF..... (the WCF will not be public on the internet......)
If i know my app will works only thru BES and BES activated BlackBerrys somebody can tell me what i need to sepcify in my code, or any advice who did something like this ??
Somebody did this ?
Just for curiosity have any possibility to install a test system with a free BES server, MDS ?
Mainly is more important to be familiar application development with BES. Till now ididn`t something like this....
I know it is a little bit long, sorry for that
06-15-2010 05:29 AM
;deviceside=false is enough for the connection. You are using the intranet db server or WCF in the BES side you should configure for that host.
We are doing the same thing. I ll connect my device with the local host first it will reach the BES and BES redirect to the my server.
06-15-2010 05:50 AM
Another maybe stupid question....
How can i access the WCF service (i don`t know if it wil be in the DB server or not, but behind the BES)
lets say i will make a request to an intratnet ip with ;deviceside=false, and if in the BES is configured will be redirected to the WCF service ?
I just was cruious for all things because somebody else make the server side and from his documentation i wasn`t sure about the whole procedure. So from my side is enought to put the deviceside=false and the intranet ip for the WCF service??
06-15-2010 06:36 AM
deviceside=false is enough. In fact in some situations, the device will use this as the default but I think it is always best to specify it.
Regarding your other question, you can test BES/MDS connection using the MDS Simulator that should come with the IDE you are using, or you can download it. You do not need a 'free BES' to test this processing.
06-15-2010 07:43 AM
thx for the replies...
i used MDS before and ESS simulators....
But i still don`t get it how i can connect to the WFC service behind the BES (private network, only the BES is visible from outside), so when i make a http call i can use the internal server address where the WFC run with ;deviceside=false .
I don`t know why, but everybody ask this from me, but i`m not a BES Admin so i don`t know how it will work. I my other projects the service side was in public domain.