Lawrence Avery
asked on
AJAX call to web service
When making a AJAX call to xml web service or wcf service, is SOAP involved with the data transfer?
ASKER
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?
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?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
n/a
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.