Using DB Adapter in obpm 11g

Hi all,
I am new to OBPM 11g. I am trying to migrate my 10g project to 11g. However, I am having difficulty in using DB adapters.
there are few tables, from which I get different details and load the details. In 10g, I use around 4-5 queries to get the details for different attributes.
I am not sure how to use this in OBPM 11g.
If I am querying 5 different tables, should I use 5 different DB adapater services? Is this the right way? Is there a way to combine different queries? what is the best practice for such a situation?
Kindly help
thanks,
Alice

Hi Pavan,
Thanks for the reply.
Can you give me an example how I can do that?
following is my scenario
1) there are around 6 tables - I need to combine different queries and populate some objects
1) select table 1 and 2 and get the details
2) use the details obtained from previous query and get the list of values
3) get the list of values from the previous step and sort them for specific product
4) sort the resulted list and get details about the product using tables 5 and 6
All the 6 tables might not have any relation with each other.
if you can give me a sample it would be very helpful
thanks,
Alice

Similar Messages

  • Unable to use ora:countNodes in OBPM 11g

    Hi,
    I have a BPM Data Object 'solutionProposal' which has the following value after picking up the response from a service call.
    <?xml version="1.0" encoding="UTF-8" ?>
    <solutionProposal xmlns="http://agreement.pdom.nordea.com/solutionproposal/object/v2">
    <initiatedByCustomer xmlns="">53273267</initiatedByCustomer>
    <solutionProposalId xmlns="">12787382</solutionProposalId>
         <!--Zero or more repetitions: -->
    <tailoredPSO xmlns="">
    <productServiceOfferGroupId>DEPOSIT</productServiceOfferGroupId>
    <tailoredItemId>12</tailoredItemId>
    </tailoredPSO>
    <tailoredPSO xmlns="">
    <productServiceOfferGroupId>NCL</productServiceOfferGroupId>
    <tailoredItemId>12</tailoredItemId>
    </tailoredPSO>
    </solutionProposal>
    As can be seen, "TailoredPSO" is directly defined under "SolutionProposal" and can have a repetition of 1 til 20. The schema definition is as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:sp="http://agreement.pdom.nordea.com/solutionproposal/object/v2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://agreement.pdom.nordea.com/solutionproposal/object/v2">
    <xsd:element name="solutionProposal" type="sp:SolutionProposal"/>
    <xsd:complexType name="SolutionProposal">
         <xsd:sequence>
              <xsd:element name="initiatedByCustomer" type="sp:GenericId"/>
              <xsd:element name="solutionProposalId" type="sp:GenericId"/>
              <xsd:element name="tailoredPSO" type="sp:TailoredPSO" minOccurs="0" maxOccurs="unbounded"/>
         </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="TailoredPSO">
         <xsd:sequence>
              <xsd:element name="productServiceOfferGroupId" type="sp:GenericId"/>
              <xsd:element name="tailoredItemId" type="sp:GenericId"/>
         </xsd:sequence>
    </xsd:complexType>
    <xsd:simpleType name="GenericId">
         <xsd:restriction base="xsd:string">
              <xsd:maxLength value="22"/>
         </xsd:restriction>
    </xsd:simpleType>
    </xsd:schema>
    I have not been able to use ora:countNode expression in OBPM 11g (Patch Set 2) while trying to evaluate how many "TailoredPSO" element are there is the response. Any help will be appreciated.
    Following are the various permutations I have tried out but all of them return a response of 1 only instead of expected 2.
    ora:countNodes('solutionProposal','solutionProposal','//solutionProposal/tailoredPSO')
    ora:countNodes('solutionProposal','//solutionProposal/tailoredPSO')
    ora:countNodes('solutionProposal','//*:solutionProposal/*:tailoredPSO')
    ora:countNodes('solutionProposal','TailoredPSO','//solutionProposal/tailoredPSO')
    ora:countNodes('solutionProposal','tailoredPSO','//solutionProposal/tailoredPSO')
    Nothing seems to return a value of 2.
    Previously we have only used OBPM 10g and ALBPM 6.0 SP4 and there were other ways of working with this problem.
    Thanks
    Edited by: user9019487 on Jan 31, 2011 7:09 AM

    Hi,
    To access the number of nodes within a list you can do as follows:
    instead of using ora:countNodes('solutionProposal','//solutionProposal/tailoredPSO') choose "simple function" instead of "XPath" and, in your case:
    solutionProposal.tailoredPSO.length() will give you the size of the array you're trying to get.
    Hope it helps.
    Pablo

  • Setting directory dynamically in File adapter in BPM 11g

    Hi,
    I am using file adapter in BPM 11g for writing perpose. While configuring, it is required to provide the directory location, which can be either physical path or logical. The location where the new file will be stored/saved is written in a text file. I want to fetch the location from that text file and want to store the new file in that particular location at run time. Please help !!!!

    Hi,
    You can dynamically set -among others- the outbound directory and outbound file name for a File Adapter. See: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#CIACICFD. If you need to retrieve the information beforehand from another file, you could use a synchronous read. See: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABDCEBE.
    Ronald

  • Problem archiving file using FTP adapter

    Hi,
    I am polling some files from another server using FTP adapter in SOA 11g. Even though I have checked the option to archive the files, the files get archived successfully on the server where the SOA process is running, but I am unable to archive the files on the server from which I am reading the file
    I am not sure whether this is the default behaviour or is there any way to archive files on the same server from which I pick or read the file.
    Any help is appreciated.
    Thanks,
    Namrata

    Hi Neeraj,
    Thanks, the archiving in the remoteLocation worked by doing what you told me...
    I tried archiving to the local machine which is not working for me ... i gave both the properties as below...
    <property name="UseRemoteArchive" value="false"/>
    <property name="PhysicalArchiveDirectory" value="C:\Users\naresh\Desktop\ftp"/>
    Thanks,
    Naresh

  • Using Coherence adapter in 11g OSB projects

    Hi
    I have a situation in which I have to get some properties from a file to be used later in the flow.When I am reading the file its a i/o process and consumes CPU cycle and causes delay.So I want to read the properties from the file for the first time and then cache my results in memory to be preserved for transaction that are going to happen at later point of time, so as to reduce delays.
    I guess coherence adapter can help me out and can save me from java callout which can give similar caching functionalities.But my project is on 11g not 12c, so my question is can i use coherence adapter in my case, if so how to use it and if not is there any better way to attain this other than java callout.

    Use the below approach to set the directory and file names dynamically.
    In BPEL source mode, specify the bpelx:inputProperty. Set the values for these variables in bpel. These can also be accessed as bpel preference values.
    <invoke>
    <bpelx:inputProperty name="jca.ftp.SourceFileName" variable="SourceFileNameVar"/>
    <bpelx:inputProperty name="jca.ftp.TargetFileName" variable="TargetFileNameVar"/>
    </invoke>

  • Partial Records insertion using DB Adapter - SOA 11g

    Hi,
    We have a BPEL process in which we are inserting records in a table using DB Adapter. Currently if the input data has any problem of data type miss-match then all the records are rejected. None of the records are inserted in the table. Whole batch is rejected.
    We have a new requirement that when there is problem is any record, then only that problematic record is rejected and rest of the records are inserted in the table. Is it possible to do so?
    Thanks,
    Sanjay

    In that case, its better to move the insert statement into procedure and do the insert and return value, if the insert statement is more then this will increase the performance time.
    How many rows you will insert at very worst case ? like 100 lines ?
    Thanks,
    Vijay

  • 11G BPEL Process using DB Adapter Polling Wont Create Instance

    I have a BPEL project that uses DB Adapter to Poll the database for changes. This process was developed in 10.1.3.3 and migrated to 11.1.1.2. I have successfully deployed this to the weblogic server, but it will not run. It is showing that is is up and it is in active mode, but it will not run. Any suggestions on this?
    Thanks
    Edited by: user2498952 on Mar 23, 2010 8:46 PM
    Edited by: user2498952 on Mar 23, 2010 8:57 PM

    The problem was on the OS side. The firewall was up after the installation and also it was not recognizing the database name. The OS team made the changes and it begin to run.....What happen to an easy migration....
    Edited by: user2498952 on Mar 24, 2010 5:10 PM

  • Error in using file adapter valves

    Hi,
    I'm working on Oracle SOA Suite 11g (11.1.1.4). I'm doing an exercise on using adapter valves for encryption. I need to write an encrypted file using File adapter. I created pipeline.xml and also specified property in jca file. And added bpm-infra.jar file to classpath.
    Also, I've compiled SimpleEncryptValve.java and created a jar file and placed it in lib directory of domain.
    Pipeline.xml is as below :
    <?xml version="1.0"?>
    <pipeline xmlns="https://www.oracle.com/adapter/pipeline">
    <valves>
    <valve>valves.SimpleEncryptValve</valve>
    </valves>
    </pipeline>
    writeFile_file.jca contents are as below :
    <adapter-config name="writeFile" adapter="File Adapter" wsdlLocation="writeFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/FileAdapter"/>
    <endpoint-interaction portType="Write_ptt" operation="Write">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
    <property name="PhysicalDirectory" value="D:\PoC\FileAdapters"/>
    <property name="Append" value="false"/>
    <property name="FileNamingConvention" value="new_%SEQ%.txt"/>
    <property name="NumberMessages" value="1"/>
    <property name="PipelineFile" value="pipeline.xml"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    Got below error while testing. What could be wrong in valve configuration ?
    <Jun 6, 2011 7:29:25 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <File
    pter Project2:writeFile [ Write_ptt::Write(body) ]
    oracle.tip.pc.services.pipeline.PipelineException: Invalid configurations for valves
    at oracle.tip.pc.services.pipeline.PipelineImpl.validate(PipelineImpl
    va:237)
    at oracle.tip.pc.services.pipeline.PipelineFactory.instantiateModel(P
    lineFactory.java:198)
    at oracle.tip.pc.services.pipeline.PipelineTemplate.newPipeline(Pipel
    Template.java:39)
    at oracle.tip.adapter.file.outbound.FileSender.getPipeline(FileSender
    va:378)
    at oracle.tip.adapter.file.outbound.FileSender.sendNonBatchedSerializ
    late(FileSender.java:254)
    at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(
    eInteraction.java:623)
    at oracle.tip.adapter.file.outbound.FileInteraction.execute(FileInter
    ion.java:426)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
    nvoker.executeJcaInteraction(JCAInteractionInvoker.java:311)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
    nvoker.invokeJcaReference(JCAInteractionInvoker.java:548)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
    nvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:508)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointI
    raction.performAsynchronousInteraction(JCAEndpointInteraction.java:491)
    at oracle.integration.platform.blocks.adapter.AdapterReference.post(A
    terReference.java:247)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler
    Post(AsynchronousMessageHandler.java:142)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(Message
    ter.java:194)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.jav
    15)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRefle
    on(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invok
    inpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
    ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseE
    tAspect.java:71)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
    ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyn
    cAopProxy.java:204)
    at $Proxy299.post(Unknown Source)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(
    iatorServiceEngine.java:1120)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
    onHandler.java:200)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
    onHandler.java:94)
    at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
    onHandler.java:74)
    at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActi
    andler.java:47)
    at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProces
    .java:64)
    at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(Message
    patcher.java:137)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(
    tialMessageDispatcher.java:503)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases
    itialMessageDispatcher.java:401)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processNorma
    ses(InitialMessageDispatcher.java:284)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases
    itialMessageDispatcher.java:251)
    at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(Ini
    lMessageDispatcher.java:143)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(Me
    torServiceEngine.java:848)
    at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(Media
    ServiceEngine.java:624)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler
    Post(AsynchronousMessageHandler.java:142)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(Message
    ter.java:194)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.jav
    15)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRefle
    on(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invok
    inpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
    ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseE
    tAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
    ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyn
    cAopProxy.java:204)
    at $Proxy299.post(Unknown Source)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComp
    nt.doMessageProcessing(WebServiceEntryBindingComponent.java:1271)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComp
    nt.processIncomingMessage(WebServiceEntryBindingComponent.java:859)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMess
    (FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcess
    (ProviderProcessor.java:1187)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementa
    n(WebServiceProcessor.java:1081)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessi
    ProviderProcessor.java:581)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServic
    ocessor.java:232)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProc
    or.java:192)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.j
    :459)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPo
    FabricProviderServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSec
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.
    a:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:1
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatfor
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.jav
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
    va:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAc
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAc
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authentic
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.ja
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebA
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServl
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImp
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >

    Hi Surfraz,
    Did you go through this link?
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#BABCFDGC
    Regards,
    Neeraj Sehgal

  • How to polulate data from lookup using request dataset in OIM 11g

    Hi,
    Using Request dataset in OIM 11g, I need to display one dropdown with the roles those need to come from Lookup.
    For Ex; I have 2 resources,i.e Resource A and Resource B. Resource A has 5 roles and Resource B has 3 Roles.
    While creating a request, If I select Resource A, then I should be able to get 5 Roles and if I select Resource B then I should be able to see corresponding 3 roles.
    Pls. note I have only one Look up definition , where I have roles for both Resource A and B.
    I have done simillar thing in OIM 10g , however I am unable to do it using OIM 11g Request dataset.
    Pls suggest.

    Hi BB,
    I am trying to follow up your response.
    You are suggestng to use prepopulate adapter for to populate respource object name, that means We have to just use an sql query from obj tabke to get the resource object name. right ?? it could be like below, what should I have entity-type value here ??
    <AttributeReference name="Field1" attr-ref="act_key"
    available-in-bulk="false" type="Long" length="20" widget="ENTITY" required="true"
    entity-type="????"/>
    <PrePopulationAdapter name="prepopulateResurceObject"
    classname="my.sample.package.prepopulateResurceObject" />
    </AttributeReference>
    <AttributeReference name="Field2" attr-ref="Field2" type="String" length="256" widget="lookup-query"
    available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku
    where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.xxx.BO.Field2'
    and instr(lkv_encoded,concat('$Form data.Field1', '~'))>0" display-field="Description" save-field="Value" />
    </AttributeReference>
    Then I need think about the 'Lookup.xxx.BO.Field2' format.
    Could you please let me know if my understanding is correct?? What is the entity-type value of the first attribute reference value?
    Thanks for your all help.

  • Issue with deleting a group using Request APIs in OIM 11g R1

    Hi,
    I am facing an issue with Request Based provisioning in OIM 11g R1.
    I am currently testing a scenario where i have imported a data set for 'Modify Provisioned Resource' and am able to add a group/entitlement to an already provisioned resource by using the following code :
            RequestBeneficiaryEntityAttribute childEntityAttribute= new RequestBeneficiaryEntityAttribute();
            childEntityAttribute.setName("AD User Group Details");
            childEntityAttribute.setType(TYPE.String);
            List<RequestBeneficiaryEntityAttribute> childEntityAttributeList=new ArrayList<RequestBeneficiaryEntityAttribute>();
            RequestBeneficiaryEntityAttribute attr = new RequestBeneficiaryEntityAttribute("Group Name", <group>,                                                                       RequestBeneficiaryEntityAttribute.TYPE.String);
            childEntityAttributeList.add(attr);
            childEntityAttribute.setChildAttributes(childEntityAttributeList);
            childEntityAttribute.setAction(RequestBeneficiaryEntityAttribute.ACTION.Add);
            beneficiaryEntityAttributeList = new ArrayList<RequestBeneficiaryEntityAttribute>();   
            beneficiaryEntityAttributeList.add(childEntityAttribute);
            beneficiarytEntity.setEntityData(beneficiaryEntityAttributeList);
    This works fine for adding a group but if i try to remove a group by changing the action to Delete in the same code, the request fails. The only change made is in the following line:
    childEntityAttribute.setAction(RequestBeneficiaryEntityAttribute.ACTION.Delete);
    Could you please suggest where can this possibly be wrong.
    Thanks for your time and help

    Hi BB,
    I am trying to follow up your response.
    You are suggestng to use prepopulate adapter for to populate respource object name, that means We have to just use an sql query from obj tabke to get the resource object name. right ?? it could be like below, what should I have entity-type value here ??
    <AttributeReference name="Field1" attr-ref="act_key"
    available-in-bulk="false" type="Long" length="20" widget="ENTITY" required="true"
    entity-type="????"/>
    <PrePopulationAdapter name="prepopulateResurceObject"
    classname="my.sample.package.prepopulateResurceObject" />
    </AttributeReference>
    <AttributeReference name="Field2" attr-ref="Field2" type="String" length="256" widget="lookup-query"
    available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku
    where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.xxx.BO.Field2'
    and instr(lkv_encoded,concat('$Form data.Field1', '~'))>0" display-field="Description" save-field="Value" />
    </AttributeReference>
    Then I need think about the 'Lookup.xxx.BO.Field2' format.
    Could you please let me know if my understanding is correct?? What is the entity-type value of the first attribute reference value?
    Thanks for your all help.

  • How to use FTPS using FTP adapter

    I am trying to create one BPEL process using SOA 11g 11.1.1.4, which will put file on remote location using ftp adapter. I have created JNDI properly and using wallet.
    useFtps= True
    walletLocation= correct path of wallet created in Oracle HTTP Server(OHS)
    walletPassword = walletPassword
    host = ipaddress
    username = myUsername
    password = myPassword
    For all this I have followed http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABEBGGD
    Now, whenever I try to test that BPEL process it gives me error:
    "Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in establishing SSL session. Error in establishing SSL session. Unable to establish SSL session on control channel. Reply String: 530 Please login with USER and PASS. Reply Code: 530) Please correct the setup for SSL. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution"
    Any suggestion or resolutions are welcome.
    Thanks!!
    Regards
    Yogesh

    Hi,
    When you configure the Connection Factory for FTP Adapter in Admin Console, provide the following values for the attributes like the hostname, username, password, port and the path of remote location as where
    you want to write the file in remote Server i.e., ftpAbsolutePathBegin. Please fill this
    attribute with the path like /soa/ftp/file (example path). If you are writing to a remote FTP server you need to create a Connection factory for that as above.
    Please try this and let me know...
    Thanks,
    N

  • How to read MS-Excel file by using file Adapter

    hi friends,
    I have an issue on read Operation by using file Adapter.
    It is necessary to read excel file by using file adapter. But in the native format of file adapter there is no option to read excel type of files.
    So friends, please help me how to solve this problem?
    Thanks in Advance..

    See also this post:
    Read Excel File Using FileAdapter in SOA 11g
    It might help you

  • Delete file using file adapter

    Hi,
    How can we delete a file using file adapter, I am using SOA 11g R3.
    Thanks
    Yatan

    thanks for reply,
    What I am trying to do is to only delete the file, is there some way where we can simply do a "delete", instead of first reading a file and then deleting it.
    Thanks
    Yatan

  • Write data to a file in OBPM 11g

    How to write data to a file in OBPM 11g?
    I want to capture all the data from the begin of an instance through the end. Please let me know how to do it.
    Thanks in advance..

    Hi Dharwat,
    Thanx for your answer. That class you mentioned needs an instream and an outstream. I have only an outstream.
    My program produces a normal ascii report data, but i must write into a file in UTF-16 format (that's what the customer want
    I know also class CL_ABAP_CONV_OUT_CE, but i don't know how to use it for an UTF-16 output.
    I hope someone can expain me very clearly how it works for an UTF-16 together with the open dataset statement.
    Thanx anyway.
    Gr., Frank
    Edited by: F. Bernsen on Nov 17, 2008 12:46 PM

  • How to use File Adapter in BPEL

    Hi,
    How to use File Adapter in BPEL. I am using Oracle SOA 10g. Any sample or best example in blog or elsewhere ?

    Hi,
    Please check the below links for samples on how to use file adapter in BPEL (in 10g/11g usage is same) and let me know any further queries.
    11g - http://blogs.oracle.com/theshortenspot/entry/soa_suite_integration_part_3_l
    10g - http://erpschools.com/articles/bpel-file-adapter-tutorial

Maybe you are looking for