Sometimes we need to disable the SOAP input/output validation for several reasons. Below are the steps to disable the validation process.

METHOD 1: Application Level

Add the below two properties in your application TRA file which is under./tra/domain/[domain name]/application/[application-name]/We need to give true to disable the validation and false to enable it. Once you added these properties, you need to restart your application to enable it.

java.property.com.tibco.plugin.soap.SOAPSend ReceiveActivity.NoOutputValidation=true
java.property.com.tibco.plugin.soap.SOAPSend ReceiveActivity.NoInputValidation=true

METHOD 2: Engine Level

To disable engine level validation, we need to add the same property to /bw/version/bwengine.tra file and need to restart the bwengine/server. Once you completed restarting the server then all the future deployment will have this property by default.

java.property.com.tibco.plugin.soap.SOAPSend ReceiveActivity.NoOutputValidation=true
java.property.com.tibco.plugin.soap.SOAPSend ReceiveActivity.NoInputValidation=true

or you can add these properties to bwengine.xml file as well underĀ /bw/version/bwengine.xml

<property> 
   <name>no validate wsdl</name> 
   <option>java.property.com.tibco.plugin.soap.SOAPSend ReceiveActivity.NoOutputValidation</option> 
   <default>true</default> 
   <description>No Output Validation in SOAPSendReceiveActivity</description> 
</property> 
<property> 
   <name>no validate wsdl</name> 
   <option>java.property.com.tibco.plugin.soap.SOAPSend ReceiveActivity.NoInputValidation</option> 
   <default>true</default> 
   <description>No Input Validation in SOAPSendReceiveActivity</description> 
</property>

NOTE: Engine level change will affect all the application running in that server. If you want to disable the SOAP validation its good to have aanXML validation after the SOAP activity.

Leave a Reply

Your email address will not be published. Required fields are marked *