0

I have an web app using JSF 2.0 where I need to send SMS through API I have after registration.

For API I have URL like below.

http://www.sms.com/mywebservice.asmx?userId=123&senderMobNum=1234,5678&text=test message.

Any idea how can I execute this in Java?

BalusC
  • 992,635
  • 352
  • 3,478
  • 3,452
user3728970
  • 79
  • 2
  • 7

1 Answers1

2

when you say execute this URL, it means making a HTTP call to this URL I assume, looking at the URL looks like you want to make a GET request, you can use commons-httpclient for this purpose

jmj
  • 225,392
  • 41
  • 383
  • 426