I am unable to define the specific JobURI in GetJobStatus. I can only get JobURIs.
In the asterisks is where I'm trying to define the specific JobURI, under JobURIs. From the XSD, it looks like I should be able to make a new object from the JobURIListType:
<xsd:elementname="GetJobStatus"type="tns:GetJobStatusType"/><xsd:complexTypename="GetJobStatusType"><xsd:sequence><xsd:elementname="JobURIs" **type="tns:JobURIListType"/>**<xsd:elementname="Extension"type="comm:ExtensionType"minOccurs="0"/><xsd:anynamespace="##other"processContents="lax"minOccurs="0"maxOccurs="unbounded"/></xsd:sequence><xsd:anyAttributeprocessContents="lax"/></xsd:complexType>
However, in Visual Studio, it doesn't show JobURIListType as an option in my object explorer. I can only go to the JobURIs, not JobURI.
GetJobStatusType statusParam =newGetJobStatusType();
statusParam.JobURIs
Am I missing something? Is there another way to define the the JobURI without making a new object, or is my web reference missing this?
The logic works in other parts of the Web reference, like below at Attribute Condition:
SearchType param =newSearchType();
param.MaxResults=1;
param.InterplayPathURI= interplaysetup.interplayWatchFolder;
param.SearchGroup=newSearchGroupType();
param.SearchGroup.Operator="AND";**param.SearchGroup.AttributeCondition=newAttributeConditionType[1];**
param.SearchGroup.AttributeCondition=newAttributeConditionType[1];
param.SearchGroup.AttributeCondition[0]=newAttributeConditionType();