XML Logging: Difference between revisions
m
no edit summary
mNo edit summary |
mNo edit summary |
||
Line 35: | Line 35: | ||
{ Description = "Interface for sending something to the system" } | { Description = "Interface for sending something to the system" } | ||
Procedure SendSomething tSomeDocumentType Doc<br /> | Procedure SendSomething tSomeDocumentType Doc<br /> | ||
// Code that actually does stuff...<br /> | <font color="green">// Code that actually does stuff...</font><br /> | ||
End_Procedure // SendSomething<br /> | End_Procedure <font color="green">// SendSomething</font><br /> | ||
End_Object <font color="green">// oLogSample</font><br /> | End_Object <font color="green">// oLogSample</font><br /> | ||
Line 87: | Line 87: | ||
<font color="blue">Send LogMsg Doc "SendSomething" "Doc" (oWStSomeDocumentType(oOwnService(Self)))</font><br /> | <font color="blue">Send LogMsg Doc "SendSomething" "Doc" (oWStSomeDocumentType(oOwnService(Self)))</font><br /> | ||
<font color="green">// Code that actually does stuff...</font><br /> | <font color="green">// Code that actually does stuff...</font><br /> | ||
End_Procedure <font color="green"// SendSomething</font><br /> | End_Procedure <font color="green">// SendSomething</font><br /> | ||
End_Object // oLogSample<br /> | End_Object <font color="green">// oLogSample</font><br /> | ||
'''Warning:''' Note that each time you change your service, you should regenerate the web service client (as in [[#Step_2 | Step 2]]) immediately afterwards and then recompile your WebApp again. | '''Warning:''' Note that each time you change your service, you should regenerate the web service client (as in [[#Step_2 | Step 2]]) immediately afterwards and then recompile your WebApp again. |