on 06-27-2012 10:31 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai,
The following link might help you.
http://www.saptechnical.com/Tutorials/XI/RFCtoSOAP/page1.htm
Regards
Gagandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>>using ASAP, can map only
I think you're thinking about something else - with ASMA you can map lots of other things
(adapter dependent)
>>>>Ex: phone no ,sms message will come in message payload to map in URL
exactly what I'm saying - you can map payload to URL values with the section that I've shown you
so this is exactly what you need
have a look at this example from Bill:
you only need to do the same with Apply URL parameters - do you get it now ?
another example:
http://scn.sap.com/people/william.li/blog/2007/09/07/posting-and-testing-using-xipi-http-adapter
Regards,
Michal Krawczyk
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.