Tutorial 21: Debugging REST Services


For debugging you can use tools like restful client addon of firefox

When you are not seeing the client to work, here is the list of things that you might need to look for:
1. is client sending a message
2. if client able to receive a message from server
3. If the request message sent by the client is in the correct format, including HTTP headers
4. If the response sent by the server is in the correct format, including the HTTP headers

For the debugging purpose you can use wireshark(If the response sent by the server is in the correct format, including the HTTP headers), it captures all the packets on given network interface...and you can do lots of stuff after capturing them.

Other tools are apache tcpmon http://ws.apache.org/commons/tcpmon/ and http://ws.apache.org/axis2/c

you can filter the data using client port host port and server address
For more visit: http://www.packtpub.com/article/debugging-rest-web-services

Comments

Popular posts from this blog

Tumblr posts about sexplanation, DoeEyes and Dr. Lindsay Doe

बैगन

Type of Common Charts used in visualization