Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7746869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:23:25+00:00 2026-06-01T10:23:25+00:00

I need to create a web service that returns XML data to some of

  • 0

I need to create a web service that returns XML data to some of my clients.
Where ever I google for web service tutorials, 80% talks about using SOAP.

My question is just this: Can any client read the fetched data as ordinary XML?
Are there alternatives for SOAP?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:23:27+00:00Added an answer on June 1, 2026 at 10:23 am

    REST is a lightweight alternative to SOAP. It uses existing HTTP methods like GET, POST, PUT, DELETE. Conceptually, a URL identifies a resource on your server, and the HTTP method defines the action to be performed.

    REST is an architecture style, so it’s flexible in terms of how you implement it. The architecture is just a guideline where an application is considered RESTful if it meets the defined characteristics of a REST web service.

    JSON is commonly used as the transport, instead of XML. The advantage is that JavaScript can instantly parse JSON, and many server side technologies have libraries for deserializing JSON into an object. While JSON is recommended, you can use any content type with REST, including XML.

    See the Wikipedia article on REST for more details.

    Examples:

    Get Car class for Ford Thunderbird

    HTTP GET http://example.com/cars/ford/thunderbird/8NUY1234  
    
    $.ajax({
        url: '/cars/ford/thunderbird/8NUY1234',
        type: "GET",  /* implicit default, listed for clarity only */
        success: function(data) {
            alert(JSON.stringify(data) );  /* output json
            alert("engine = " + data.engine);
        }
    });
    

    Insert a vehicle in the collection

    HTTP POST http://example.com/cars/ford/f150/?vin=F14564564564&color=blue&engine=I6&...
    
    // insert record on server.
    var dataString = "vin=F143567547&color=blue&engine=I6"
    $.ajax({ 
        url: '/cars/ford/f150',
        data: dataString,
        type: "POST",
        success: function(data) {
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a .NET web service that accepts xml, uses this to
I have an existing web service that returns XML responses and I would like
I need to create a user configurable web spider/crawler, and I'm thinking about using
What I need to do is create a web application that can run inside
I am trying to create an ajax request to a WebService that returns data
I'm using SimpleXML to get pieces of data from an XML web-service response. We
I need to create web service in this format in objective c An example
I need to make a Rest POST to a service that returns either a
I need to write a map service that returns a single, static map image
I have a web service which returns a string representing an Xml file. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.