XML Logging: Difference between revisions

Line 57: Line 57:


====Step 4====
====Step 4====
Next you need to create a procedure that will utilise that client to ''reconstitute'' the XML from the data that your published method receives and call that as the first thing each of your published methods does:
Next you need to create a procedure that will utilise that client to ''reconstitute'' the XML from the data that your published method receives and call that as the first thing each of your published methods do:


  Object oLogSample is a cWebService<br />
  Object oLogSample is a cWebService<br />
Line 63: Line 63:
   Object oOwnService is a cWSLogSample
   Object oOwnService is a cWSLogSample
   End_Object  // oOwnService<br />
   End_Object  // oOwnService<br />
   // LogMsg:  
   ''// LogMsg: The arguments are - 1 Data passed to the method''
  ''//                            2 Name of the method (literal)''
  ''//                            3 Name of the variable (literal)''
  ''//                            4 Object handle for type - which will be oWS{typeName}''
   ''Procedure LogMsg Variant Data String sOp String sName Handle hoObj''
   ''Procedure LogMsg Variant Data String sOp String sName Handle hoObj''
       ''tSoapParameter Param''
       ''tSoapParameter Param''