Skip to main content

Cloud

Oracle Service Bus 12c JCA Transport Endpoint Error

When an OSB 11g project using the JCA transport is imported to JDeveloper 12c, you might see the following error.

oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: Please specify a Service. Choices are:

This is one of the known issues in the project migration. You need to manually edit certain files to resolve this error. Here are the steps to resolve this issue.

1. Edit the WSDL associated with Business Service
Open the project in JDeveloper 12c and go to the Business Service. You will find the name of the WSDL under the General Configuration. In the following example, you can see the name of the wsdl is WritePubEasyProductUploadFile.wsdl

JCA01

2. Change the namespace
Change the targetNameSpace, wpefile and the import namespace to http://xmlns.oracle.com/pcbpel/adapter

JCA02

Open the Abstract WSDL. You can find the name of the Abstract WSDL in the location attribute of the WSDL import tag. In the above screenshot you can see that the Abstract WSDL is WritePubEasyProductUploadFile_Abstract.wsdl. Open this abstract WSDL and edit the targetNamespace and the wpefile attributes in the WSDL definition tag to http://xmlns.oracle.com/pcbpel/adapter. Remove the xmlns:jca=http://xmlns.oracle.com/pcbpel/wsdl/jca/ line.

JCA03

3. Edit the Business Service
Open the Business service in notepad. In this example, WritePubEasyProductUploadFile.bix and change the namespace to http://xmlns.oracle.com/pcbpel/adapter

JCA04

4. Refresh the Application
Refresh the application or close and reopen the project. If it does not work, click on the Business Service and refresh it. Now, the error associated with the JCA will be resolved.

JCA05

Thoughts on “Oracle Service Bus 12c JCA Transport Endpoint Error”

  1. Hi Sir,

    I am trying to connect a jca adapter with an mdb.
    I am getting following error while trying to create a new endPoint using MessageEndpointFactory. (endPointFactory.createEndPoint())

    SEVERE: Error during the acceptance of a socket request and using WorkManager scheduling –
    TcpipSocketListener
    java.lang.ClassCastException: com.abc.JCafe.mdb.AdapterRequestMessageBean_3xlvxk_MDOImpl

    The mdb class name is “AdapterRequestMessageBean” but here I guess it is referencing a proxy for this mdb.

    Please help.

  2. Raghu Syama Post author

    Hello Sushant,
    Could you please let me know which version of the products you are using? Is it SOA Suite 12c or OSB 12c? Is it JDeveloper 12c? Also, did you verify your jndi connection? Please make sure whether the adapter is deployed and working by going to WebLogic console > Deployments.

    Regards,
    Raghu

  3. Hi Sir,

    I was connected a socket transport on OSB 11.1.1.7. It’s okie.
    But when i deployed and tried to connect a socket transport on OSB 12C.Then OSB 12C raise error :
    com.bea.wli.sb.transports.TransportException: No service information is registered for: ProxyService default/Socket/SocketProxy

    Caused By: com.bea.wli.config.component.NotFoundException: com.bea.wli.sb.service.handlerchain.HandlerException: Expected resource of type [], found type Pipeline

    Caused By: com.bea.wli.sb.service.InvalidServiceDefinitionException: com.bea.wli.sb.service.handlerchain.HandlerException: Expected resource of type [], found type Pipeline

    Please help.

  4. Raghu Syama Post author

    Hello Hungnguyen,
    It looks like the adapters are not deployed correctly.

    Please login to WebLogic console > deployments and check the status of all the deployments for the ones that start with Service Bus. Make sure those are deployed correctly. Post the results of those and will let you know.

    Regards,
    Raghu

  5. Hi Raghu,

    I am facing a error which I am not able o solve after migrating one of the 11g service to 12c. We do not have any JCA adapter in our servicie but have json conversion jars.

    Below is the error message

    com.bea.wli.sb.pipeline.PipelineException: the value specified for binding or creation is null

    Could you please help? what might be he cause of the issue?

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Raghu Syama

Raghu is the Senior Technical Architect of Perficient's National Oracle Business Intelligence Practice. He has extensive experience in architecting, designing, developing, and delivering enterprise software solutions, and commercial software products from concept to market. His area of expertise includes application programming, SOA, microservices, integrations, cloud and BI implementation. He has worked for several fortune 500 companies in his career and successfully led several projects from inception to completion by maintaining high quality standards. He has experience working with cross-cultural teams ensuring optimal utilization of resources. He has several certifications across multiple technologies from Oracle, AWS, Microsoft, and Redhat.

More from this Author

Categories
Follow Us