XML Logging: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 42: Line 42:
Next you need to run the Web Service Client Class Generator (in the VDF Studio: File -> New -> Class -> Clint Web Service Class) on the WSDL for your service (Test Page -> Service Name -> Service Description, then copy the browser's Address window to the Web Service Client Class Generator's WSDL URL window and click "Parse", "Generate Class" and "OK" - plus "Yes" to overwrite if it already exists).
Next you need to run the Web Service Client Class Generator (in the VDF Studio: File -> New -> Class -> Clint Web Service Class) on the WSDL for your service (Test Page -> Service Name -> Service Description, then copy the browser's Address window to the Web Service Client Class Generator's WSDL URL window and click "Parse", "Generate Class" and "OK" - plus "Yes" to overwrite if it already exists).


====Step 3====
====Step 3: Instatiate the client in the service====
Now you need to use and instantiate 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:


Line 56: Line 56:
  End_Object  <font color="green">// oLogSample</font><br />
  End_Object  <font color="green">// oLogSample</font><br />


====Step 4====
====Step 4: Use the client to transform the data back to XML====
Finally 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 procedure as the first thing each of your published methods do:
Finally 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 procedure as the first thing each of your published methods do: