Can HTML5 directly talk to a web service?

I need to talk to a server via web services (i think it's soap) using HTML 5 alone. For instance, I need to login a user into a site by using HTML5 to directly talk to the web service. Is that possible?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

melwongAuthor Commented:
even if i can call, how do i login the user with HTML5. i can't, can i?
Gurvinder Pal SinghCommented:
why can't you? what is the ajax response that you get? are you not able to parse that response?
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

melwongAuthor Commented:
the web service handles the logins. I'm not using php in my site to do login processing. But how do i handle the session in html5?

Meaning in my html5 login page, user enters username/password
Then the username/pass is send to the web service and it will response positively if the username/pass exists
Then what do my HTML5 do?
Gurvinder Pal SinghCommented:
<<Then what do my HTML5 do?>>
Implement the callbackhandler to catch the response of that ajax call.

There is nothing that seems to be specific to html5 to me in your requirement.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
melwongAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.