Page tree
Skip to end of metadata
Go to start of metadata

C# web service clients seem not to like the following construct that is part of e.g. any ObjectReferenceType:


and fail with the following exception:

System.InvalidOperationException was unhandled
  Message=No corresponding start element is open.

It is strange, because that XML fragment is fully conformant to the schema that is part of runtime WSDL, which is:

<xs:element minOccurs="0" name="filter">
      <xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/>

(in the above case, there are zero elements matching xs:any, which is legal according to the schema)

A temporary fix for this situation is to omit the "filter" element of ObjectReferenceType if it's empty - see MID-1603 - Getting issue details... STATUS .

However, there are more similar places, and it is likely that such problems would occur there. This has to be researched further and fixed if necessary.


  • No labels