XML Logging: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 27: Line 27:


The trick is to make use of a ''client'' of your service ''within'' the service itself.  This in turn makes doing it a multi-stage process, since one can only create a client once the service is published and accessible.
The trick is to make use of a ''client'' of your service ''within'' the service itself.  This in turn makes doing it a multi-stage process, since one can only create a client once the service is published and accessible.
''Note: the code below is in brief and omits several important property settings which would normally be created on a web service.''


====Step 1: Define the Service====
====Step 1: Define the Service====
First you define your service:
First you define your service (and get it running on IIS):


  Object oLogSample is a cWebService<br />
  Object oLogSample is a cWebService<br />