Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

            FieldSearchQuery fsq = new FieldSearchQuery(); Wiki Markup

            Condition c = new Condition();             c.@operator = ComparisonOperator.has;             c.property = "subject";             c.value = "*";             fsq.conditions = new Condition\[\] \{ c \};             string\[\] sr = \{ "pid", "title", "subject" \};             FieldSearchResult fsr =             Condition c = new Condition();
            c.@operator = ComparisonOperator.has;
            c.property = "subject";
            c.value = "*";
            fsq.conditions = new Condition[] { c };
            string[] sr = { "pid", "title", "subject" };
            FieldSearchResult fsr = a.findObjects(sr, "50", fsq);

Fedora WSDLunmigrated-wiki-markup

            fsq.Item= new Condition\[\] \ { c \ };

Either way, the service call fails when using conditions, and only succeeds when using a string-based terms query.  The servlet returns "org.xml.sax.SAXException: Found character data inside an array element while deserializing" when using the axis API-A and throws a preliminary "type not allowed" exception when using the fedora WSDL.

...