Saturday, June 13, 2015

Unable to find suitable inbound binding


I was trying to upgrade soa 10g process to soa 11g.

I fixed all the adapters, and compiled the project successfully.

However while trying to deploy the process it always failed with the error message

Generic error

Unable to find suitable inbound binding


Error deploying archive sca_SOA_rev1.0.jar to soa_server1 [localhost:8001]
HTTP error code returned [500]
Error message from server:
Error during deployment: Deployment Failed: [JCABinding] [SOA.writeFile/1.0]Unable to complete load due to: Generic error.
Generic error.
Cause: Unable to find suitable inbound binding.
Please create a Service Request with Oracle Support.
: Generic error.
Generic error.
Cause: Unable to find suitable inbound binding.
Please create a Service Request with Oracle Support.

Every thing was fine from compilation side so it was really confusing to get this issue during deployment.

There were other file/ftp adapters as well in the process but they were not giving any issues.

So i checked the source code in composite.xml for these adapters

I found for the adapter that was giving issue there was an additional input parameter in the reference

<reference ui:wsdlLocation="writeSOAFile.wsdl" name="writeSOAFile">
<interface.wsdl callbackInterface=”http://xmlns.oracle.com/ADPT/file/writeSOAFile/#wsdl.interface(Write_ptt)” interface="http://xmlns.oracle.com/ADPT/file/writeSOAFile/#wsdl.interface(Write_ptt)" xmlns:ns="http://xmlns.oracle.com/sca/1.0"/>
<binding.jca config="writeSOAFile_file.jca">
<property name="jca.retry.interval" type="xs:string" many="false">60</property>
</binding.jca>
</reference>


I compared with other file adapters and realized that the callbackInterface entry was no there in other adapters.

So i just removed the callbackInterface entry from the reference section so the new entry was

<reference ui:wsdlLocation="writeSOAFile.wsdl" name="writeSOAFile">
<interface.wsdl interface="http://xmlns.oracle.com/ADPT/file/writeSOAFile/#wsdl.interface(Write_ptt)" xmlns:ns="http://xmlns.oracle.com/sca/1.0"/>
<binding.jca config="writeSOAFile_file.jca">
<property name="jca.retry.interval" type="xs:string" many="false">60</property>
</binding.jca>
</reference>

I just rebuilt my project and tried to deployed and this time it was a success.


No comments: