Error: “caused by: org.xml.sax.SAXException: validation error: unexpected content "{}Request"; expected.

Error: “caused by: org.xml.sax.SAXException: validation error: unexpected content "{}Request"; expected.

book

Article ID: KB0089058

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
Error: “caused by: org.xml.sax.SAXException: validation error: unexpected content "{}Request"; expected "[{http://schemas.tibco.com/bw/pe/plugin/5.0/exceptions}ActivityTimedOutException" in Invoke Partner activity even though there is no WSDL/XML/Data related error in the configuration.

The issue happens when using Invoke Partner with SOAP over JMS.

Symptoms:
Error similar to the following thrown while executing Invoke Partner:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
caused by: org.xml.sax.SAXException: validation error: unexpected content "{{http://schemas.tibco.com/bw/pe/plugin/5.0/exceptions}ActivityTimedOutException, defaultFaultElement, "   ({com.tibco.xml.validation}COMPLEX_E_UNEXPECTED_CONTENT) at /ActivityErrors[1]/{}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Cause:
Incorrect configuration in "Partner Link Configuration" resource.

Issue/Introduction

Error: “caused by: org.xml.sax.SAXException: validation error: unexpected content "{}Request"; expected.

Resolution

Correct the error in "Partner Link Configuration" resource. Check if you have specified the JNDI Context URL or if you are using a Shared JMS Connection and have specified a JMS connection is part of the project/ear.