Skip to Content

SMS gateway Interface development

Hi Experts ,

We are using a pi 7.4 single stack system and developed bellow interface which we are using the http adapter to send messages to the mobile phone.we are trying to test the URL of the company provided to us in the middle ware as we can able to test the URL well in the google and rest adapter outside middle ware now i am testing it in middle ware but not able to send the messages to mobile no speificied. we are used some udf execute the same please find the suggest us best possible way to test the API link in the middle ware pi 7.4 single stack.


URL - http://ipaddress/smpp/sendsms?username=xxxxx&password=xxxxx&to=&from=&text=testmessage.

Scenario - ECC(proxy) -> PO(HTTP adapter) -> SMS portal


ESR - In the mapping

Five parameters- username , password , to , from and text from ECC to PO as part of request message.


DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey parmValue;


parmValue = DynamicConfigurationKey.create( "", "URLParamOne");

conf.put(parmValue, var1);

parmValue = DynamicConfigurationKey.create( "", "URLParamTwo");

conf.put(parmValue, var2);

parmValue = DynamicConfigurationKey.create( "", "URLParamThree");

conf.put(parmValue, var3);

parmValue = DynamicConfigurationKey.create( "", "URLParamFour");

conf.put(parmValue, var4);

parmValue = DynamicConfigurationKey.create( "", "URLParamFive");

conf.put(parmValue, var5);

}catch(Exception ex){}

return "";

Integration Directory-

Communcation channel:

Tranport Protocol - HTTP 1.1

Message Protocol - GET

General Tab-

Addressing Mode - URL Address

Target Host - 103.112.70

Target Port - 80

Path - smpp/sendsms

Mainpayload Parameter Name - MT_SMS

Advanced Tab-

Header fileds - EMPTY

Query Parameters - sender party - enabled

sender service - enbled

Receiver Interface - enabled

Message ID - enabled

Quality of service - enabled

Adapter -Specific Message Properties

set Adapter -specific Message Properties - enabled

URL parameters - enabled

parameter 1(URLParamOne) - username

parameter 2(URLParamTwo)-password





Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2015 at 10:04 AM

    Hi Murali,

    Why is it a HTTP GET and not a POST? Is'nt PI initiating the connection?



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 12, 2015 at 10:31 AM


    Can you please share your message mapping.


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 15, 2015 at 07:46 PM

    why used http adapter not soap or restt in pi?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.