system.ws.toDataset

Sepasoft MES Module Suite

system.ws.toDataset(wsVariable, expanded)

Converts a web service variable into a dataset.

Syntax

system.ws.toDataset(wsVariable, expanded)
  • Parameters

WSVariable  wsVariable - The web service variable to be converted. Must be complex.

boolean  expanded - If true, the returned dataset and all contained datasets will be expanded to better represent a dataset structure. If false, it will directly represent the WSDL defined schema.

  • Returns

A dataset representing the given Web Service Variable.

  • Scope

All

Code Examples

Code
result = system.ws.runWebService("LengthConvertor")
print system.ws.toDataset(result, True) 


 

 

 

Sepasoft MES Module Suite