XML Logging: Difference between revisions

m
add syntax highlighting
m (add syntax highlighting)
m (add syntax highlighting)
Line 6: Line 6:
Logging the XML sent by a web service client is relatively easy.  It simply involves, following the service invocation, getting the psXML property of the object pointed to by the phoSoapRequest property of your web service client object.  Something like this:
Logging the XML sent by a web service client is relatively easy.  It simply involves, following the service invocation, getting the psXML property of the object pointed to by the phoSoapRequest property of your web service client object.  Something like this:


<source lang="ini">  
<source lang="dataflex">  
  tSomeInput Input
  tSomeInput Input
  tSomeOutput Output
  tSomeOutput Output
Line 16: Line 16:
Or, more verbosely:
Or, more verbosely:


<source lang="ini">  
<source lang="dataflex">  
  tSomeInput Input
  tSomeInput Input
  tSomeOutput Output
  tSomeOutput Output