AnsweredAssumed Answered

Connector test testBrowseProfiles exception

Question asked by tim.moon672315 on May 2, 2016
Latest reply on May 16, 2016 by jason_r_walsh667087

My team is working on a custom connector using the Boomi SDK 1.2.7, Eclipse and Junit 4.  We are writing unit tests using the SDK test framework testBrowseProfiles method to validate that we have the correct definitions setup.  This works fine when we have both an input and output json profile but when we have only an output profile we get and exception like this.

 

java.lang.AssertionError: javax.xml.bind.MarshalException

- with linked exception:

[org.xml.sax.SAXParseException; lineNumber: 0; columnNumber: 0; cvc-complex-type.2.4.b: The content of element 'definition' is not complete. One of '{WC[##any]}' is expected.]

  at com.boomi.connector.testutil.ConnectorTester.browseProfiles(ConnectorTester.java:362)

 

I

Note that when this connector is uploaded to Boomi we can import this profile and it works as expected.

 

have attached a screenshot of the debugger with the definitions.

 

Has anyone run into this before?  Any suggestions?

Attachments

Outcomes