Get Schema validation error after deployed in TEA when running Query/Query iterator activity in BusinessWorks 6 plugin for ActiveSpaces.

Get Schema validation error after deployed in TEA when running Query/Query iterator activity in BusinessWorks 6 plugin for ActiveSpaces.

book

Article ID: KB0086993

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces -
Not Applicable -

Description

Description:
The Query/Query Iterator works in BusinessStudio, but after deployed in the TEA, it throws a Schema validation error.

Symptoms:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring><![CDATA[{http://tns.tibco.com/bw/fault}ActivityOutputValidationFault: com.tibco.bx.core.faults.BxException: Activity output data validation error. The output data from activity [QueryAppValue] in process [TFS.UtilityServices.XREF.XREFValueLookUp], module [TFSXREF] does not conform to the activity output schema. cvc-complex-type.2.4: Unexpected end of content in element '{http://tns.tibco.com/bw/activity/activespace/xsd/+TFS.TIBCOComponents.SharedConnections.AS.XREFMetaspace/XREF_SPACE/XREFSpaceConn+SnapshotIterator-output}ActivityOutput'.   Schema=
schema-element({http://tns.tibco.com/bw/activity/activespace/xsd/+TFS.TIBCOComponents.SharedConnections.AS.XREFMetaspace/XREF_SPACE/XREFSpaceConn+SnapshotIterator-output}ActivityOutput)  {http://tns.tibco.com/bw/activity/activespace/xsd/+TFS.TIBCOComponents.SharedConnections.AS.XREFMetaspace/XREF_SPACE/XREFSpaceConn+SnapshotIterator-output}ActivityOutput
Sequence
schema-element(Tuple)  {http://tns.tibco.com/bw/activity/activespace/xsd/+TFS.TIBCOComponents.SharedConnections.AS.XREFMetaspace/XREF_SPACE/XREFSpaceConn+SnapshotIterator-output}Tuple
Sequence
schema-element(ENTITY)  {http://www.w3.org/2001/XMLSchema}string
schema-element(APPNAME)  {http://www.w3.org/2001/XMLSchema}string
schema-element(APPVALUE)  {http://www.w3.org/2001/XMLSchema}string
schema-element(COMMONVALUE)  {http://www.w3.org/2001/XMLSchema}string
Sequence
schema-element(IsLast)  {http://www.w3.org/2001/XMLSchema}boolean
schema-element(IsPartialResult)  {http://www.w3.org/2001/XMLSchema}boolean
schema-element(TotalCount)  {http://www.w3.org/2001/XMLSchema}long
schema-element(RemainingCount)  {http://www.w3.org/2001/XMLSchema}long
Sequence
Data=<ns0:ActivityOutput xmlns:ns0="http://tns.tibco.com/bw/activity/activespace/xsd/+TFS.TIBCOComponents.SharedConnections.AS.XREFMetaspace/XREF_SPACE/XREFSpaceConn+SnapshotIterator-output"><Tuple><ENTITY>COUNTRY</ENTITY><APPNAME>UCM</APPNAME><APPVALUE>CA</APPVALUE><COMMONVALUE>CALIFORNIA</COMMONVALUE></Tuple><IsLast>false</IsLast></ns0:ActivityOutput>]]></faultstring>
         <detail/>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>
Cause:
The Plugin version in the TEA server does not match the Plugin version that generated the EAR file.

Resolution

Keep the Plugin version the same in the TEA server and local BusinessStudio.

Issue/Introduction

Get Schema validation error after deployed in TEA when running Query/Query iterator activity in BusinessWorks 6 plugin for ActiveSpaces.