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,082,665
  • 372
  • 3,610
  • 3,555
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
  • 237,923
  • 42
  • 401
  • 438