Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The method for sending and receiving a request in XML format from a web-service typically involves the following steps:

  1. Create an XML document that represents the request data.
  2. Encode the XML document in a format that can be sent over the network, such as SOAP (Simple Object Access Protocol).
  3. Send the encoded request to the web-service using an HTTP request.
  4. Receive the response from the web-service as an encoded XML document.
  5. Decode the response XML document to extract the data.

This process can be done using programming languages such as Java, Python, or PHP, and web-service frameworks such as JAX-WS or Apache Axis. The specific steps and code syntax may vary depending on the programming language and framework being used.