XML Logging: Difference between revisions

No change in size ,  5 November 2007
m
no edit summary
No edit summary
mNo edit summary
Line 43: Line 43:


====Step 3====
====Step 3====
Now you need to use and instanciate the client class you have just generated within your service:
Now you need to use and instantiate the client class you have just generated within your service:


  Object oLogSample is a cWebService<br />
  Object oLogSample is a cWebService<br />
Line 93: Line 93:


===Issues===
===Issues===
It is important to note that this mechanism '''does ''not'' retrieve the original XML''', but instead ''reconstitutes'' it to the best of its ability from the data passed to the program. There are circumstances where such ''reconstituted'' XML might not match that actually sent to the service, especially if that was mal-formed in terms of the published WSDL service description. Sprcific examples of this are more than one element passed where only one is expected: the program will receive (and hence log) only the first (expected) one and will be totally unaware of (and hence unable to log) any additional ones.
It is important to note that this mechanism '''does ''not'' retrieve the original XML''', but instead ''reconstitutes'' it to the best of its ability from the data passed to the program. There are circumstances where such ''reconstituted'' XML might not match that actually sent to the service, especially if that was mal-formed in terms of the published WSDL service description. Specific examples of this are more than one element passed where only one is expected: the program will receive (and hence log) only the first (expected) one and will be totally unaware of (and hence unable to log) any additional ones.