Im not sure whether its a clear question or not.What i want is to retrieve xml response from a webservice.I have the url,username,password,xml body etc details of the webservice.And i could get the xml response in a string variable.Can some one provide me a useful link to parse an xml string? Im sharing the code for retrieving xml Note:-Make sure you have commons-httpclient-3.1,commons-codec-1.6,commons-logging-1.1.1,junit-4.10 librariesIm not sure whether its a clear question or not