Loading
Different Parts of soap request

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  What are the different Parts of a soap request ?


Ans)

Please take a look at the following sampe Soap Request :

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
 <env:Header>
     <!-- Header information here -->
 </env:Header>
 <env:Body>
    <!-- Body or "Payload" here, a Fault if error happened -->
 </env:Body>
</env:Envelope>

The SOAP <Header>
SOAP uses special attributes in the standard "soap-envelope" namespace to handle
the extensibility elements that can be defined in the header.

The SOAP <Body>
The SOAP body contains the "payload" of the message, which is defined by the WSDL's
<Message> part. The SOAP <Fault>

The SOAP <Fault>
The <Fault> is the standard element for error handling in your soap response. When present,
it would be the only child element of the SOAP <Body>. The structure of a fault looks like:

<env:Fault xmlns:m="http://test/timeouts">
   <env:Code>
     <env:Value>env:Sender</env:Value>
     <env:Subcode>
      <env:Value>m:MessageTimeout</env:Value>
     </env:Subcode>
   </env:Code>
   <env:Reason>
     <env:Text xml:lang="en">Sender Timeout</env:Text>
   </env:Reason>
   <env:Detail>
     <m:MaxTimeout>P5M</m:MaxTimeout>
   </env:Detail>   
</env:Fault>



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

Different Parts of soap request


Different Parts of soap request

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free