How can i captor xml response return from http non web app
posted 9 years ago
Hello all its not exactly web services but its like ... im using WBEM http://wbemservices.sourceforge.net/#Development client to communicate to distant server , this is some kind of simple way to send and receive object thorough xml ( like light version of web services ) .
im sending the requests via http with requests throw the client but i have no way to receive the xml errors that are sending back via http response , the only way for me to get the xml response back is to sniff the network and capture the packets coming back from the distant server , the return error are not related to the WBEM client this is simple response coming back from the server my question is how can i capture this xml coming back from the server with java code . my code does not run under web server , its simple application .