hey,

can any one tell me whether i can write methods other than getxm or put xml in restful web services.If yes then which will be the first function to be called

Recommended Answers

All 2 Replies

hey,

can any one tell me whether i can write methods other than getxm or put xml in restful web services.If yes then which will be the first function to be called

RESTful webservices can support all of the HTTP methods.

I am not certain I fully understand the other part of your question: "which will be the first function to be called"

Functions/methods are called as they are required. On thing to remember though is that methods generally don't have an order in the sense that one is waiting for another to complete. REST is built around the concept of statelessness, meaning that no method can know what came before it. It simply sends it's information and receives a response.

Hope that helps some

Also, there is no requirement in REST to use XML.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.