Question

What is the standard format of messages that are exchanged between a SOAP client and a...

What is the standard format of messages that are exchanged between a SOAP client and a SOAP server?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

For example:

From client to server:

<?xml version="1.0"?>

<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope/"  <---All the elements of soap protocol are         declared in the default namespace for the SOAP envelope.
soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding">  <---The default namespace for SOAP                       encoding and data types.
<soap:Body>
  <m:GetPrice xmlns:m="https://myfruitprices.com/prices">
    <m:Fruit>Apples</m:Fruit>
  </m:GetPrice>
</soap:Body>

</soap:Envelope>

From server to a client:

<?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>
  <m:GetPriceResponse xmlns:m="https://myfruitprices.com/prices">
    <m:Price>1.90</m:Price>
  </m:GetPriceResponse>
</soap:Body>

</soap:Envelope>

Add a comment
Know the answer?
Add Answer to:
What is the standard format of messages that are exchanged between a SOAP client and a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT