Skip to Content
author's profile photo Former Member
Former Member

SMS using HTTP adapter

Hi Experts

We have requirement to send SMS from ECC through PI and our company registered with one SMS sending Service provider .

he provided us the below API.

http://host/sms.php?id=XXXX&pw=XXXX&dnr=%2Bphoneno&snr=SPH&msg=This+is+a+test

By passing id,password,phoneno,message to above url, it will send SMS automatically.

So we designed our scenario as Proxy to HTTP.

we will hardcode id,password details in the URL.

but how to map phone no ,message to URL in the above format.

Thanks

Sai



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jun 27, 2012 at 09:42 AM

    Hi,

    >>>but how to map phone no ,message to URL in the above format.

    check this section

    "If you want to use URL parameters, choose Apply URL Parameters and enter the parameters in the fields Parameter 1 to Parameter 6."

    http://help.sap.com/saphelp_nw70ehp2/helpdata/EN/43/64dbb0af9f30b4e10000000a11466f/content.htm

    you can set those in the mapping - ASMA - and they will be used for URL creation

    Regards,

    Michal Krawczyk

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 27, 2012 at 10:42 AM

    Hi Sai,

    The following link might help you.

    http://www.saptechnical.com/Tutorials/XI/RFCtoSOAP/page1.htm

    Regards

    Gagandeep

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 27, 2012 at 12:13 PM

    Dear sai ,

    For this you first import the external defination

    which is available on http://api.myvaluefirst.com/psms/dtd/messagev12.dtd

    map your phone number and all.

    And in http reciever give your url and path and pass the payload by using the prolog parameter.

    thanks and regards,

    Anup Banerjee

    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.