Video Screencast Help

Can we please change the Workflow WebService generator to include direct access to the Data as well as the FieldName in dataclasses?

Created: 19 Apr 2013 | 2 comments
QuietLeni's picture
3 Agree
0 Disagree
+3 3 Votes
Login to vote

Dear Symantec,

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:

2013-04-18_17h02_30.png

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:

<DataRows>
 <DataClassRowData>
  <DataElements>
   <DataClassFieldData>
    <FieldName>Server Dependency Description</FieldName>
    <Value xsi:type="xsd:string">Nice</Value>
   </DataClassFieldData>
   <DataClassFieldData>
    <FieldName>Server Depandant Upon</FieldName>
    <Value xmlns:q1="http://microsoft.com/wsdl/types/" xsi:type="q1:guid">7632e618-d12b-488a-b242-101c09ec8aef</Value>
   </DataClassFieldData>
  </DataElements>
 </DataClassRowData>
</DataRows>
 

...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?

Kindest regards,

QuietLeni

Comments 2 CommentsJump to latest comment

TGiles's picture

In order to pull custom resources from the SMP you need to regenerate the Altiris7.Resources dll, so that it includes the information for the new resources.

0
Login to vote
QuietLeni's picture

TGiles,

Yes, I agree, however, I am looking for custom DATA CLASSES on STANDARD resources.

I have tried querying standard data classes on the Computer Resource Type using this component and it is still the same.

Kindest regards,

QuietLeni

What is the point of an Asset Management Solution that needs excessive management? Let me help you.

0
Login to vote