Jump to content

INVOKE Activity Output data validation error in TIBCO BW 6


Anusha Kamath

Recommended Posts

Hi All,

 

Getting below error for invoke activity when trying to access external web servcie with soap binding reference. noticed that even if the strucutre of output received same as WSDL schema still facing the issue :

 

Activity output data validation error. The output data from activity [insert] in process [enterprise.vds.userdata.receivers.SNOWEG], module [enterprise.vds.UserData] does not conform to the activity output schema. Unexpected element sequence, got '{http://www.service-now.com/imp_user}sys_id' in {http://www.service-now.com/imp_user}insertResponse. Schema=schema-element({http://www.service-now.com/imp_user}insertResponse) {http://genxdm.org/typed/local-types}type-9Sequenceschema-element(sys_id) {http://www.w3.org/2001/XMLSchema}stringschema-element(table) {http://www.w3.org/2001/XMLSchema}stringschema-element(display_name) {http://www.w3.org/2001/XMLSchema}stringschema-element(display_value) {http://www.w3.org/2001/XMLSchema}stringschema-element(status) {http://www.w3.org/2001/XMLSchema}stringschema-element(status_message) {http://www.w3.org/2001/XMLSchema}stringschema-element(error_message) {http://www.w3.org/2001/XMLSchema}stringSequenceData=http://www.service-now.com/imp_user" xmlns:xsd="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="sys_userignoredRow transform ignored by onBefore script

 

Please help in this.

also please let me know how to disable output validation.

 

Regards,

Anusha

Link to comment
Share on other sites

  • 2 months later...

Hi All, Can anybody help on this, i am also getting the same error while invoking Web Service in BW 6.3.5Please suggest me how to diable SOAP input and output validation  I know in BW 5.X, simply we can add below properties in bwengine.tra filejava.property.com.tibco.plugin.soap.SOAPSend ReceiveActivity.NoOutputValidation=true

java.property.com.tibco.plugin.soap.SOAPSend ReceiveActivity.NoInputValidation=true Please help how to do the same in BW 6.3.5, this is working in 5.x after disabling validation. PS: i am using old wsdl whose output schema contains one element but now it has been udated to return 2 elements. still it works fine with old wsdl in 5.x but not getting how to skip validation(disbaled validation in bwengine.tra 5.x) Regards,Chidu

Link to comment
Share on other sites

  • 9 months later...
  • 11 months later...

Hi,

In case someonehas the same issue, the solution is to add the following properties to the

config.ini file:

bw.application.activity.validateOutput=false

bw.application.activity.validateInput=false

 

Example of config.ini file $BW_HOME/domains/defaultdomain/appnodes/defaultappspace/defaultappnode/config.ini

In my case, developing a plugin, I added them to the Debug/Run Configuration on VM arguments as:

-Dbw.application.activity.validateOutput=false

-Dbw.application.activity.validateInput=false

 

Best regards.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...