IBM Support

PI15576: SMS INTEGRATION WITH GATEWAY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The SMS Gateway has configured a PORT on which Application
    has to listen the SMS. This has been provided by us to ensure
    the message should come to the APP & not to the INBOX.
    
    When we are trying to configure the SMS Gateway Details in
    "SMS Config. XML" in IBM Worklight with the below parameter
    as provide by the SMS Gateway
    
    http://www.unicel.in/SendSMS/sendmsg.php?uname=UNAME&pass=PASS&s
    end=Alerts&dest=91XXXXXXXXXX&port=8009&msg=Login
    Successful
    
    <gateway id="myGateway" hostname="www.unicel.in"
    
    programName="SendSMS/sendmsg.php" toParamName="dest"
      textParamName="msg">
       <parameter name="uname" value="UNAME"/>
       <parameter name="pass" value="PASS"/>
       <parameter name="send" value="Alerts"/>
       <parameter name="port" value="8009"/>
    </gateway>
    
    It throwing an exception as follow
    
    Unhandled exception caught:
    com.worklight.server.notification.sms.jaxb.Parameter cannot be
    cast to java.lang.String
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who make use of SMS gateway feature                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When one of the parameter in gateway is port, WL throws      *
    * exception since gateway already has an attribute called      *
    * port.                                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Fixed the issue by separating gateway attributes and parameters.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI15576

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-09

  • Closed date

    2014-05-15

  • Last modified date

    2014-07-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R506 PSY

       UP

  • R600 PSY

       UP

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021