jazzIIIlove
asked on
A question to convince me regarding restful web services.
Hi there;
I need to convince myself that I need a restful web service in a specific circumstance. Tell me why should I use restful service?
I also appreciate a simple meaningful implementation that proves your point.
Please, do it in your own words.
Regards.
I need to convince myself that I need a restful web service in a specific circumstance. Tell me why should I use restful service?
I also appreciate a simple meaningful implementation that proves your point.
Please, do it in your own words.
Regards.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Ray;
Sorry for the late reply. I test your code. Of course, it's working. My issue is that. I couldn't visualize the web service logic. I mean, is the whole code a restful service? I saw the XML exchange but I couldn't get where REST relies in the code.
Can you explain your code further so the blackholes will be closed?
Regards.
Sorry for the late reply. I test your code. Of course, it's working. My issue is that. I couldn't visualize the web service logic. I mean, is the whole code a restful service? I saw the XML exchange but I couldn't get where REST relies in the code.
Can you explain your code further so the blackholes will be closed?
Regards.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi;
I mean ok, it seems it's HTTP requesting but what is the difference between plain GET/POST requests and Rest requests in implementation? What makes us above code to call as REST service rather than post&get? or I can rephrase, what can't i do with plain POST and GET but do with REST? Any scenario example?
I have a knowledge of WCF and JAX-RPC so you can enhance the scope of the scenario if you want.
Regards.
I mean ok, it seems it's HTTP requesting but what is the difference between plain GET/POST requests and Rest requests in implementation? What makes us above code to call as REST service rather than post&get? or I can rephrase, what can't i do with plain POST and GET but do with REST? Any scenario example?
I have a knowledge of WCF and JAX-RPC so you can enhance the scope of the scenario if you want.
Regards.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi;
>> You and the publisher of the service agree on the format
XML only?
>> and content of the URL variables and the response string.
so, WSDL itself again? or any other idea?
Regards.
>> You and the publisher of the service agree on the format
XML only?
>> and content of the URL variables and the response string.
so, WSDL itself again? or any other idea?
Regards.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi;
Thanks.
OK, but how is the data exchange? I mean there should be a file of definition for data exchange. How can this be done in REST? I mean how the service consumer knows the drift (functions etc.) in the service? You can reflect your above example.
Regards.
Thanks.
OK, but how is the data exchange? I mean there should be a file of definition for data exchange. How can this be done in REST? I mean how the service consumer knows the drift (functions etc.) in the service? You can reflect your above example.
Regards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
There is no detail. I actually know soap but not rest. I want to startup from somewhere. I appreciate a scenario convincing for the need within a example.
Regards.