0 Replies Latest reply: Jan 31, 2013 4:12 AM by Yatan RSS

    Error when calling simple restful service from SOA 11G

    Yatan
      Hi'

      I have a URL for simple restful service

      http://xxxxx:857/swift/v2/EMPIDChanges/{bookmarkDate}

      GET method

      I am able to invoke this from IE and This URL is also accessible in UNIX server where SOA server is deployed.

      http://xxxxx:857/swift/v2/EMPIDChanges/2012-11-28%2005:57:49


      I am using HTTP Binding adapter,

      This is what goes in the composite.xml

      <reference name="ff" ui:wsdlLocation="ff.wsdl">
      <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/http/AssetID/Test_AssetID_VL/ff#wsdl.interface(Request_Response_ptt)"/>
      <binding.ws port="http://xmlns.oracle.com/pcbpel/adapter/http/AssetID/Test_AssetID_VL/ff#wsdl.endpoint(ff/Request_Response_pt)"
      location="ff.wsdl" supports="http">
      <property name="http.verb" type="xs:string" many="false">GET</property>
      <property name="endpointURI" type="xs:string" many="false">http://xxxxx:857/swift/v2/EMPIDChanges/{bookmarkDate}</property>
      <property name="http.payload" type="xs:string" many="false">url-encoded</property>
      <property name="oracle.webservices.auth.username" type="xs:string" many="false" override="may">Test1</property>
      <property name="oracle.webservices.auth.password" type="xs:string" many="false" override="may">Test1</property>

      </binding.ws>


      however I am getting error

      <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
      -<part name="summary">
      <summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): REPLACE_WITH_ACTUAL_URL</summary>
      </part>
      -<part name="detail">
      <detail>Unable to access the following endpoint(s): REPLACE_WITH_ACTUAL_URL</detail>
      </part>
      -<part name="code">
      <code>null</code>
      </reference>


      Please advice,

      Thanks,
      Yatan