How to make a XML Message ?
Actually I am trying to implement a RESt API where in I will get ZIPCODE as request and I need to call external API which will take ZIPCODE as input and give State and City in response.
But the problem is the request is in XML Format and also response is in XML format.
and in Response
<?xml version="1.0" encoding="UTF-8"?>
1) How can I create a XML message where in I can pass ZIPCODE and send in Request URL and
2) How to read the XML response like State and City from XML.