AJAX call to web service

Lawrence Avery
Lawrence Avery used Ask the Experts™
on
When making a AJAX call to xml web service or wcf service, is SOAP involved with the data transfer?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Not necessarily.
REST web services also can have XML payloads.
If however you have to deal with wsdl responses, then SOAP is involved.

Show us the specs or an example and we'll tell you.
Lawrence AverySystem Developer

Author

Commented:
In this case I am using ScriptManager and ServiceReference  to register my asmx service in my aspx form and then calling my service method from a javascript function.
I know using Scriptmanager and Service tags generate the web service specified proxy classes.

Am I still dealing with a wsdl by calling my web service this way?

I guess what I am saying when dealing a asmx service or wcf service, are we always enclosing the output from the service no matter if service is returning JSON or XML with a SOAP envelope?
Lawrence AverySystem Developer

Author

Commented:
n/a

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial