Two way sms using IBM worklight without internet connection - sms

I have implemented two way SMS communication using IBM worklight V6.1 .But I wanted to know is it possible to send SMS without internet connection.Because I am not able to hit worklight server without internet connection

If you are using SMS Gateway Ultimate app as the gateway then you would need internet connection (dataplan/wifi). This article might be of help
https://www.ibm.com/developerworks/community/blogs/worklight/entry/testing_worklight_push_notifications_over_sms?lang=en

Related

Websocket send not working from phone network

I have a game based on websockets for real-time. With WIFI everything is working as expected. But over phone network, the connection is opened but messages aren't received on the server. While the server pings are received at the client. I am using websocket implementation on heroku using ruby/sinatra for the server and my client is an android app using a websocket library.
This behavior only happens from a 3G phone network and not WIFI.
I have read about websockets not working from phone network because of proxy servers used by phone network providers, then how come I receive the pings from the server? Please help.
I resolved this issue by passing it over SSL. I used wss:// instead of ws:// and it worked fine even over phone network.

Is it possible to maintain multiple clients in NanoHttpd?

I am trying to build a simple server/client application where the NanoHttpd server communicates with the client using WebSockets.
The server replies back with the same text that the client sent.
Is it possible to broacast messages to all the clients connected?
Any links about Nanohttpd with multiple-clients connected would be helpful.
https://github.com/PathikDevani/NanoHttpd-Demo
check my github project. here some example for multi user handle on websocket.
-------link is broken now

Mule connection to Exchange Server

I need to connect to Exchange Server in Mule but Mule provided OOB IMAP and POP3 are not enabled on our exchange server hence we cannot use them.
Can anyone shed some light here on other alternative ways to connect to exchange server and read the emails.
Mule mail transport implements standard transports, these being IMAP, POP3 and SMTP.
If you need anything beside these to access your mail server you should consider writing a custom connector using devkit.
An example of such an approach is the gmail connector that leverages google API to retrieve emails rather than the standard mail transport.
Most of the connections from the Internet are handled by IIS on the Exchange Server. The options can be:
RPC Over Https. Well known as “Outlook Anywhere”.
EWS. Mostly used by MAC Outlook.
Activesync – Mobility
ECP – management console, configuration via OWA
Thanks,
hope answer the question

How to develop web sockets in worklight

I have an android application developed with IBM Worklight, in which a html file is making http request every 5 seconds and fetching the data from the server. Now I wish to replace this with HTML5 web sockets. But I wish to use the Worklight capabilities.
Is there anything like HTTP Adapter in Worklight for web socket?
If not could anyone please give any pointer about how to achieve it in worklight?
Is there anything like HTTP Adapter in Worklight for web socket?
No. At least to the best of my knowledge.
If not could anyone please give any pointer about how to achieve it in
worklight?
Web Sockets are not supported on Android (2.1-4.2): http://caniuse.com/#search=web%20sockets
However, you can try a Cordova Plugin like WebSocket-for-Android. There's a blog post that may help here. I just got those links for a quick Google Search.

Sending SMS, MMS messages from mobile device and getting that message to a Java application server

I've been tasked with a project where the customer would like to send SMS, MMS messages from a mobile device. They would like to have a dedicated phone number to send these messages to. We would like these messages get routed through a gateway so it can be processed in a Java Application Server and have the server generate a response that will make its way back to the users mobile device. The server side of this will be done in Java.
I'm new to this and trying to understand the best approach. Please let me know what services and APIs are available that will allow me to do this. It seems like there are plenty of services available to get the message from the server to the phone, but I'm not clear on the mechanism for getting the message from the device routed to the Java application server.
Any suggestions are greatly appreciated.
Thanks in advance.
Seth
You could get yourself an old Nokia 3210 or something with a data cable and connect it to a server.
There are a bunch of companies that can provide a phone number to receive incoming sms messages as well as send them (not sure about MMS; that is a different story). One of them is Clickatell. They have a variety of API's you can use from Java.
http://www.clickatell.com/products/gateway.php
There are some services which allow you to define a callback URL, so when their server receives an SMS, they forward the data to you via HTTP POST. Of course, there are several proprietary protocols, and SMPP (e.g. http://opensmpp.logica.com/), but that's a lot more complicated.
An example of such a service is http://www.textmagic.com/app/pages/en/products/bulk-sms-gateway-api

Resources