on 2015 Jun 10 6:20 PM
As far as I know, UltraliteJ does not have support for TCP connections to communicate with a Mobilink server 12.X, does it?
And what about the version 16.X? Can I configure a Mobilink 16.X service to listen to requests over a TCP port, instead of HTTP for an Android client?
The UltraLiteJ API only provides for data synchronization over HTTP or HTTPS. This is mostly for historical reasons, as the API came from our UltraLiteJ Blackberry API. It looks like the documentation is misleading in this regard. Sorry about that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alex, There is no current plan for this. What is the reason that you would want it? We'll consider it, but I cannot make any guarantees.
In fact, the only reason is because we have a product that works both in Android and iOS, where a Mobilink server can be configured for both at the same time. And maybe, if a customer required a special TLS implementation we would be able to delivery it to him. But nothing special, nothing to worry about. Thanks again, @Andy by your feedback. Really nice job =]
See Deploying an UltraLiteJ application for Android in SQL Anywhere 16...
Set the appropriate parameter settings when using synchronization in your UltraLite application:
Synchronization type Parameter settings
TCP/IP Set the Stream synchronization parameter to "tcpip".
HTTP Set the Stream synchronization parameter to "http".
RSA TLS Set the Stream synchronization parameter to "tls".
RSA HTTPS Set the Stream synchronization parameter to "https".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting enough, that change seems not to have made it to the v16 "What's New" section...
Even that v16 doc page still does only mention HTTP and HTTPS as possible Sync network protocols (as does the 12.0.1 page):
Data synchronization can be performed using HTTP or HTTPS network protocols. HTTPS synchronization provides secure encryption to the MobiLink server.
Exactly Volker. And since it was a limitation in the previous version, I was afraid it isn't avaiable yet. I'll do some tests and post the result here. Thank you for your quick replies!
@Breck, There is no TCP nor TLS options in the SyncParms enum, in the Android API. Also, the method createSyncParms of an Ultralite connection only returns the implementation of one of the following interfaces: StreamHTTPParms or StreamHTTPSParms. Does it mean that, in fact, these protocols are not supported?
Hm, given that Breck has cited the official docs, and even the SAP engineers seem to have been unclear whether that desired feature is supported or not, I'd think a downvote on his answer is a bit strong, when the docs themselves turn out to be misleading... - see, we usually tend to believe what the SA docs tell, because it's almost always correct IMHO, and therefore us customers often prefer to cite them, and that should not be "punished" here:) - Just my two cents, apparently.
User | Count |
---|---|
75 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.