Knowledge Partner
Knowledge Partner
253 views

ECMA or Java function to send a text message?

Silly question, but does anyone have a Java class, or ECMA function to
send an SMS/Text message?
Labels (1)
0 Likes
9 Replies
Anonymous_User Absent Member.
Absent Member.

Re: ECMA or Java function to send a text message?

Geoffrey Carman wrote:

> Silly question, but does anyone have a Java class, or ECMA function to send an SMS/Text message?


We use a workflow for this, which calls a web service that talks to a commercial SMS gateway.

We've used various gateways depending on customer preference.
0 Likes
Knowledge Partner
Knowledge Partner

Re: ECMA or Java function to send a text message?

On 12/15/2014 2:13 PM, Alex McHugh wrote:
> Geoffrey Carman wrote:
>
>> Silly question, but does anyone have a Java class, or ECMA function to send an SMS/Text message?

>
> We use a workflow for this, which calls a web service that talks to a commercial SMS gateway.
>
> We've used various gateways depending on customer preference.


What is the state of commercial SMS gateways? What are costs like?
Good ones? Bad ones?



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: ECMA or Java function to send a text message?

Geoffrey Carman <geoffreycarmanNOSPAM@NOSPAMgmail.com> wrote:

> What is the state of commercial SMS gateways? What are costs like? Good ones? Bad ones?


Mostly of customers we have worked with already have a preferred SMS
gateway provider. This is extremely popular in Scandinavia, few bother with
hardware token these days. Cost wise works out cheaper than tokens. Can't
really compare prices with other regions that do crazy things like charging
to receive SMS.

The handful of SMS gateway providers we have worked with have had quite
good service and support.


--
If you find this post helpful and are logged into the web interface, show
your appreciation and click on the star below...
0 Likes
Knowledge Partner
Knowledge Partner

Re: ECMA or Java function to send a text message?

Geoffrey Carman wrote:

> Silly question, but does anyone have a Java class, or ECMA function to send
> an SMS/Text message?


Silly answer: look at the PWM aka SSPR source code...
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner
Knowledge Partner

Re: ECMA or Java function to send a text message?

On 12/16/2014 3:21 AM, Lothar Haeger wrote:
> Geoffrey Carman wrote:
>
>> Silly question, but does anyone have a Java class, or ECMA function to send
>> an SMS/Text message?

>
> Silly answer: look at the PWM aka SSPR source code...


You know, good one! 🙂 I had not considered that.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: ECMA or Java function to send a text message?


There is a method in ecmascript but I'm not sure what version we have.
http://www.w3.org/TR/2010/WD-messaging-api-20100810/


--
joakim_ganse
------------------------------------------------------------------------
joakim_ganse's Profile: https://forums.netiq.com/member.php?userid=159
View this thread: https://forums.netiq.com/showthread.php?t=52425

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: ECMA or Java function to send a text message?


Do your cell providers allow Text via email? example: email
phonenumber@provideraddress.com
I have used that method before in scripting.


--
stampsr
------------------------------------------------------------------------
stampsr's Profile: https://forums.netiq.com/member.php?userid=7353
View this thread: https://forums.netiq.com/showthread.php?t=52425

0 Likes
Knowledge Partner
Knowledge Partner

Re: ECMA or Java function to send a text message?

On 12/17/2014 3:24 PM, stampsr wrote:
>
> Do your cell providers allow Text via email? example: email
> phonenumber@provideraddress.com
> I have used that method before in scripting.


You would have to 'know' the provider for each number. So maybe a call
to a web service to determine who the carrier is for any given number?

Starts to get a bit out of hand there.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: ECMA or Java function to send a text message?

Geoffrey Carman wrote:

> On 12/17/2014 3:24 PM, stampsr wrote:
> >
> > Do your cell providers allow Text via email? example: email
> > phonenumber@provideraddress.com
> > I have used that method before in scripting.

>
> You would have to 'know' the provider for each number. So maybe a call to a web service to determine who the carrier is for any given number?
>
> Starts to get a bit out of hand there.


That is the whole purpose of SMS gateways, they handle the "work out which provider the number begins with" part.

Also. Providers vary very widely on what they support when it comes to anything other than the basic SMS from a number to a number. We had an issue where we used a text value as the "from" with a SMS gateway.
I think it was some Turkish carriers that barfed on this if I recall correctly. When we switched to a number as the "from" it was fine.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.