1 Reply Latest reply on Nov 19, 2013 10:09 AM by shuttle

    custom adapter


      Hi I want do develop a custom adapter and integrate it with soa suite -> composite.


      I have finished an adapter Framework project and I have now my adapter on the composite palette. I can also deploy composite (with mycustom.jca and mycystomwsdl) on the server.

      I have deployed adapter on weblogic. I can see it at it has status active and has jndi.



      <adapter-config name="ttt" adapter="Tom Adapter" wsdlLocation="ttt.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">

        <connection-factory location="jca/MailResourceAdapter"/>

        <endpoint-interaction portType="Outbound_ptt" operation="Outbound">

          <interaction-spec className="nl.approachalliance.otn.jca.MailActivationSpec">

            <property name="tomparam2" value="tomparam2"/>

            <property name="tomparam1" value="tomparam1"/>






      <?xml version = '1.0' encoding = 'windows-1252'?>

      <weblogic-connector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"









      I use this adapter jca project   Creating and Using Custom Java EE Connector Architecture Adapters

      Problem appears when i try to invoke adapter via composite i get this error message.



      [userId: <anonymous>] [ecid: 11d1def534ea1be0:7d90683b:141bbbf5087:-8000-00000000000025ac,0:2] [APP: soa-infra] [composite_name: TomTest] javax.xml.rpc.soap.SOAPFaultException: Exception occured when binding was invoked.[[

      Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Outbound' failed due to: JCA Binding Component connection issue.

      JCA Binding Component is unable to create an outbound JCA (CCI) connection.

      TomTest:ttt [ Outbound_ptt::Outbound(body) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510

      JCA Resource Adapter location error.

      Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>

      The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element:  location='jca/MailResourceAdapter'.

      The reason for this is most likely that either

      1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or

      2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jca/MailResourceAdapter. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR).

      Please correct this and then restart the Application Server