Rational Developer for System z

Tools for troubleshooting: Web Services Explorer

This topic describes tools in the Web Services Explorer that you can use in troubleshooting problems that you might encounter in running the completed Web service for the tutorial.

SOAP request and response envelopes

The SOAP envelopes display the information contained in the most recent Web service request that you sent to the completed Web service, and the Web service's response to that request. (The "most recent request" means the last time that you clicked Go in the Actions view -- see Run the Web service.)

Use the SOAP Request Envelope to verify the input parameters that were sent to the Web service. Use the SOAP Response Envelope to see the information returned by the Web service.

To see the SOAP envelopes:

  1. In the Web Services Explorer, in the upper right corner of the Status pane, click Source. The Source view opens.

  2. In the Source view, expand the SOAP Request Envelope, the SOAP Response Envelope, or both.

Figure 1 shows an example of the contents of the SOAP Response Envelope for a successful request. In particular, look at the <requestcode> element and the <returnmessage> element:

Figure 1. Example of a SOAP response from the SAMPCARN Web service
<SOAP-ENV:Envelope 
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
      xmlns:q0="http://www.xmlenablI.com/schemas/xmlenablIInterface" 
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
      xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <SOAP-ENV:Body>
      <DFHMADPLOperationResponse 
            xmlns="http://www.xmlenablO.com/schemas/xmlenablOInterface" 
         <service_output_area>
            <dfhmahr_requestv1>
               <dfhmahr_requestname>SAMPCARN</dfhmahr_requestname>
            </dfhmahr_requestv1>
            <navigator_output_area>
               <o_catalogorder>
                  <returncode>0</returncode>
                  <returnmessage>ORDER SUCESSFULLY PLACED</returnmessage>
               </o_catalogorder>
            </navigator_output_area>
         </service_output_area>
      </DFHMADPLOperationResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)