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
  • 1,040,783
  • 362
  • 3,548
  • 3,513
user3728970
  • 89
  • 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
  • 232,312
  • 42
  • 391
  • 431