2

I am developing an Mobile Web App. I consume a SOAP XML based web service. But based on this thread Why is it not a good idea to use SOAP for communicating with the front end (ie web browser)?, I am planning to use JSON instead of SOAP XML.

Is there any library that will convert a SOAP based XML in to JSON format in .Net?

2 Answers 2

1

Take a look at Json.NET. It is capable of converting JSON to and from XML.

Sign up to request clarification or add additional context in comments.

1 Comment

XML != SOAP XML (as requested)
1

There's no need to use a separate library to coax JSON out of ASP.NET services, long as you're okay with using POST requests and no GET requests. Here's an example of using jQuery to retrieve JSON from an ASMX service, for exmaple: http://encosia.com/using-jquery-to-consume-aspnet-json-web-services/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.