Can we please change the Workflow WebService generator to include direct access to the Data as well as the FieldName in dataclasses?
I am using the Workflow 7.1 SP2 WebServices Generator against the NSWebService to generate the "Get Resource Component" Method. This and other components get created against the methods and all seems to be good.
However, when I try to connect anything to the Field Values from this component, it does not work. All I have as an option is the "FieldName" and not the actual value in the Data Element, as can be seen here:
If I debug the project, I can see the data and when I examine the SOAP XML, I see the FieldName and Value data is being sent back OK:
<FieldName>Server Dependency Description</FieldName>
<FieldName>Server Depandant Upon</FieldName>
<Value xmlns:q1="http://microsoft.com/wsdl/types/" xsi:type="q1:guid">7632e618-d12b-488a-b242-101c09ec8aef</Value>
...but there is no connection allowed to the data via the usual channels and therefore, the only way of getting to this data is to turn the DataElements item into a String and then to parse the data individually.
This is not generic and makes interaction with the Custom Data Classes very difficult with Workflow 7.1 SP2.
I would try using the alternative method of GetResourceNS7Component, but this component does not include any option to retrieve Custom Data Classes. I have tried including an array of custom class GUIDs, but it errors out, saying that the GUIDs are unrecognised.
So... can we please have the ability to read the Value data directly?