Anonymous_User Absent Member.
Absent Member.
663 views

Send SMS token return error


Hi,

I'm using the sms token (rest service) config in the SSPR to activate
users, the request generated by SSPR is

HTTPS://XXX.XXX.COM/SMSR?USER/PWD/CELLPHONE/COUNTRY/MESSAGE

but the sms service return this error

<html>
<head>
<meta content="HTML Tidy for Java (vers. 26 sep 2004), see
www.w3.org" name="generator"/>
<title>Apache Tomcat - Error report</title>
<style type="text/css"><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head>
<body>
<h1>HTTP Status 404 - Not Found</h1>
<hr noshade="noshade" size="1"/>
<p>
<b>type</b>
Status report
</p>
<p>
<b>message</b>
<u>Not Found</u>
</p>
<p>
<b>description</b>
<u>The requested resource (Not Found) is not available.</u>
</p>
<hr noshade="noshade" size="1"/>
<h3>Apache Tomcat</h3>
</body>
</html>

i think the problem is the character '?', is there anyway to remove it
from the request generated by SSPR ?

Thanks,
Robert


--
rhuachani
------------------------------------------------------------------------
rhuachani's Profile: https://forums.netiq.com/member.php?userid=10078
View this thread: https://forums.netiq.com/showthread.php?t=54584

0 Likes
2 Replies
Knowledge Partner
Knowledge Partner

Re: Send SMS token return error

Have you talked to your SMS service provider? Arguments sent via HTTP GET
are separated from the base URL in this way, and I do not remember there
being much in the way of SMS configuration, so this is probably just
supposed to work. Have you tested this outside of SSPR via 'curl', web
browser, etc.?

--
Good luck.

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

Re: Send SMS token return error


Thanks ab,

Yes, I tested it from a web browser and it worked like this
https://xxx.xxx.com/smsr/user/pwd/cellphone/country/message
they provide the same sms service in SOAP. my question is SSPR only work
with REST? if works with soap ¿how can I configure it in SSPR?

thanks again


--
rhuachani
------------------------------------------------------------------------
rhuachani's Profile: https://forums.netiq.com/member.php?userid=10078
View this thread: https://forums.netiq.com/showthread.php?t=54584

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.