Master java skills

SOAP Request Response

Below are examples of sample soap request and response

Sample SOAP Request

<?xml version="1.0"?>

<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope/"
soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding">

<soap:Body xmlns:p="http://www.example.org/book">
  <p:GetBookAuthorNameRequest>
    <p:BookName>Learn Java in 21 Days</p:BookName>
  </p:GetBookAuthorNameRequest>
</soap:Body>

</soap:Envelope>

Sample SOAP Response

<?xml version="1.0"?>

<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope/"
soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding">

<soap:Body xmlns:p="http://www.example.org/book">
  <p:GetBookAuthorNameResponse>
    <p:AuthorName>Saras Kumar singh</p:AuthorName>
  </p:GetBookAuthorNameResponse>
</soap:Body>

</soap:Envelope>