The debughttp parameter

Add the debughttp in the server sm.ini file or in the dedicated servlet container line of the sm.cfg file, restart the Service Manager server and rerun the Web service application to invoke the debugging parameter.

For consuming Web Services, the debughttp parameter writes to two files in the Service Manager server log directory, http.log and writes additional information into the sm.log file.

An excerpt of the http.log file follows. (To determine which areas of the log file are for the Web service call, search for “sm7server/ws”. Regular client communication uses SOAP UI instead.)

POST /sm7webserver/ws HTTP/1.1
content-type: text/xml;charset=UTF-8
soapaction: "EnableNewEmployee"
user-agent: Jakarta Commons-HttpClient/3.0.1
host: <server>:<port>
content-length: 2033

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://servicecenter.peregrine.com/PWS" xmlns:com=
"http://servicecenter.peregrine.com/PWS/Common">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:EnableNewEmployeeRequestQuoteRequest attachmentInfo="?
         attachmentData="?" ignoreEmptyElements="true">
         <pws:model query="?">
            <pws:keys query="?">
               <!--Optional:-->
               <pws:number type="String" mandatory="?"
                  readonly="?">?</pws:number>
            </pws:keys>
            <pws:instance query="?" uniquequery="?" recordid="?">
               <!--Optional:-->
               <pws:Priority type="String" mandatory="?"
                  readonly="?">?</pws:Priority>
               <!--Optional:-->
               <pws:Reason type="String" mandatory="?" readonly="?"
                  ?</pws:Reason>
               <!--Optional:-->
               <pws:RequestingDepartment type="String" mandatory="?"
                 readonly="?">?</pws:RequestingDepartment>
               <!--Optional:-->
               <pws:Requestor type="String" mandatory="?" readonly="?">?
                   </pws:Requestor>
               <!--Optional:-->
               <pws:Location type="String" mandatory="?" readonly="?">?
                     </pws:Location>
               <!--Optional:-->
               <pws:HireType type="String" mandatory="?" readonly="?">?
                  </pws:HireType>
               <!--Optional:-->
               <pws:attachments>
                  <!--Zero or more repetitions:-->
                  <com:attachment href="?" contentId="?" action="?
                      name="?" type="?" len="attachmentType="?"/>
               </pws:attachments>
            </pws:instance>
            <!--Optional:-->
            <pws:messages>
               <!--1 or more repetitions:-->
               <com:message type="String" mandatory="?" readonly="?"
                 severity="?" module="?">?</com:message>
            </pws:messages>
         </pws:model>
      </pws:EnableNewEmployeeRequestQuoteRequest>
   </soapenv:Body>
</soapenv:Envelope>

HTTP/1.1 401
Set-Cookie: JSESSIONID=94DCC5F90495E0202B84EFB1F998195A;
 Path=/sc62server
WWW-Authenticate: Basic realm="CASM"
Connection: close
Content-Type: text/html;charset=utf-8
Content-Length: 40
Date: Wed, 21 May 2008 17:16:05 GMT