2 Replies Latest reply: Dec 5, 2012 5:56 PM by vladodias RSS

    File Adapter - Schema Reference Issue

    rkandula1982
      Hi Experts,

      I am working on project in SOA Suite 11.1.1.6

      The project has a File Adapter which writes the files to a particular destination.

      Following is the WSDL of WRITE File Adapter :

      <wsdl:definitions name="QCCCEQFileWriteOutbound"
      targetNamespace="XXXXXXXXX"
      xmlns:tns="XXXXXXXXX"
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
      xmlns:opaque="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
      xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
      <plt:partnerLinkType name="Write_plt">
      <plt:role name="Write_role">
      <plt:portType name="tns:Write_ptt"/>
      </plt:role>
      </plt:partnerLinkType>
      <wsdl:types>
      <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
      xmlns="http://www.w3.org/2001/XMLSchema">
      <element name="opaqueElement" type="base64Binary"/>
      </schema>
      </wsdl:types>
      <wsdl:message name="Write_msg">
      <wsdl:part name="opaque" element="opaque:opaqueElement"/>
      </wsdl:message>
      <wsdl:portType name="Write_ptt">
      <wsdl:operation name="Write">
      <wsdl:input message="tns:Write_msg"/>
      </wsdl:operation>
      </wsdl:portType>
      </wsdl:definitions>

      When the process is running on TST server, if DEV server is DOWN its throwing this error:

      <bindingFault>
      <part name="summary">
      <summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Resolution problem. XSD Resolution problem. Unable to load Translation schemas from for http://xmlns.oracle.com/pcbpel/adapter/opaque/ due to: Unable to lookup schema for 'http://xmlns.oracle.com/pcbpel/adapter/opaque/' Please make sure all used XML schemas are imported/included correctly. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
      </part>
      <part name="detail">
      <detail>Tried all: '1' addresses, but could not connect over HTTP to server: 'XXXdev.XXXXXXXX.com', port: '80'</detail>
      </part>
      <part name="code">
      <code>null</code>
      </part>
      </bindingFault>


      Why is Test File Adapter WSDL is trying to connect DEV Server. I have added anything specific is File Adapter WSDL its the default generated WSDL of File Adapter. I am also not using MDS in project

      Please help me in this regards. Thanks in Advance.