I understand that SQL Server endpoint returns data using SOAP.
Does anyone know if they can return JSON data?
Thanks!
I understand that SQL Server endpoint returns data using SOAP. Does anyone know if
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Native HTTP endpoints can only return SOAP messages.
However it’s possible to switch off the generation of the SOAP envelope, if you specify
FORMAT = NONEin theFOR SOAPsection of the declaration.You could use this to provide an HTTP wrapper to your own stored procedure(s) which JSON-ise SQL server data (see books online for a detailed description of the very specific requirements your procedure must fulfill).
You should be aware that native endpoints are deprecated in SQL 2008.