How to implement a FTP Adaptor in  a BPEL Process

Hi
I have a requirement to create a FTP Adaptor and that adaptor should get a file from one of the unix direcotries.I have given the user name , passwd and host name in the oc4j_ra.xml and created a bpel process to get the file from the unix directory.But that processed faulted with the following error.
2007/09/15 21:20:55] Faulted while invoking operation "Get" on provider "GetLogFile".less
-<messages>
-<input>
-<Invoke_3_Get_InputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="opaque">
<opaqueElement xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/"/>
</part>
</Invoke_3_Get_InputVariable>
</input>
-<fault>
-<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_WellsFargoInvokeWSFTP_1.9_6403f9aa03e3fbc38878073796391e40.tmp/GetLogFile.wsdl [ Get_ptt::Get(opaque) ] - WSIF JCA Execute of operation 'Get' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
     java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
     org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
     java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec
</summary>
</part>
-<part name="detail">
<detail>
org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
     java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec
</detail>
</part>
</bindingFault>
</fault>
</mes
I would be thankful, if some one could help me with this.
Thanks
Laj

While the Oracle SOA Suite is running; it runs as a specific user; mostly 'oracle' on unix systems. This means that under this user it access the FTP adapter. What is you oc4j-ra.xml look like? Are you able to connect from this user on the server to you ftp-account?

Similar Messages

  • Implementation of one request, multiple responses bpel processes

    Need info on how to build a one request, multiple responses bpel processes. The following URL discusses the link
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_interact.htm#SOASE534
    Book: Oracle® Fusion Middleware Developer's Guide for Oracle SOA Suite 11g Release 1 (11.1.1)
    Chapter 5: Introduction to Interaction Patterns in a BPEL Process (section 5.6).
    Are two projects required? is one a partner link to the other?
    There are several different types of links discussed but minimal/no discussion on their implementation.
    Thanks for the help - Casey

    Hi,
    the BPEL forum is here: BPEL
    Frank

  • Implementing several web-methods in one BPEL process

    Hi
    We are trying to implement an integration system with help of BPEL PM, which must provide its interface for another system as a single web-service with different web-methods (operations).
    By now we were able to provide only one operation per web-service, as default BPEL behavior.
    How is it possible to make a single web service "entry point" to our different BPEL processes as a web-service with different methods?
    WBR, Serg.

    You must start the (async) process with a pick-activity (not the default receive), and check it to Create Instance.
    I just made some test-processes (soon to be more like production), so my finding are not quite mature, but here they are:
    You now need to add your flavour of operations (which I assume have to be async, I've not tested sync). The operations are simply added to the process wsdl-file, typically within the existing portType.
    To start with I would suggest that you use the same portType and the same message name for all operations.
    You soon discover the need for separate responses as well, again its designing it and code the wsdl-file.
    When you get going you can try to differentiate the message, it's all about coding the wsdl-file.
    Adding portTypes looks a bit more complex, but it seems to work (but does it do you any good?).
    If you add portTypes, remember to add a plnk:partnerLinkType as well.
    So: Multi-operation BPEL WS here we come!
    CadB

  • How to know server/node name inside a BPEL process in a clustered env

    We have a clustered environment of 4 nodes, we know that one of the BPEL Process on one of the nodes is not functioning normally. One way we isolated the problem is to test through Java Delivery API on each of the individual nodes through BPEL Console. However this is time consuming. If we want to implement an error handling mechanism, where we can format the name of the server/node of the cluster on which the BPEL process is getting executed it will be great. I couldn't find any Xpath Extension Function to retrieve the node /server name easily inside a BPEL process. There are functions to retrieve the domain, process name, version etc... but I'm trying to find something like ora:getRMIHostName() and ora:getRMIPort(). I can retrieve the few entries such as hostname.rmi from the return value of java.lang.System.getProperties () inside Embedded Java Code Step but not sure how safe it is to do so.

    Hi There,
    JMX can be used to discover all the names and addresses of managed servers in a cluster.
    find more information on this link: http://e-docs.bea.com/wls/docs81/jmx/index.html
    Let me know if works,
    Cheers

  • How to use multiple WSDL operations in One BPEL process Recieve Activity ?

    Is there anyway to attach multiple WSDL operations with a Single BPEL process ? How ?

    Thanks Melvin for your quick respond.
    When I create a BPEL process, It asks me to give the XSD as an Input. When I import the XSD it asks me to select an operation not more than one. Let suppose I select addRequest and finish the wizard.
    Now what I can see, It create Recieve activity with an Input msg of Add operation. Well what I understand from your statement is that, I remove the recieve activity and put the Pick activity.
    Now my question is How to mention the other operations like update and delete ? And how to test them ?? The link provided by you is just tell me what Pick activity can do for me, But its not telling me how to use it ?? and how the give the operation to it. Where should I need to change in the BPEL ???

  • How to invoke a custom adapter from a BPEL process

    Hi guys,
    I've implemented a custom outbound adapter and deployed successfully on Weblogic V.10.3.4.
    My current installation also consists of Oracle SOA Suite 11g / JDeveloper 11g (11.1.1.4.0)
    In the Weblogic administrator's console,
    *1.* I navigated to:
    Summary of Deployments -> AdapterName -> Configuration -> Outbound Connection Pools
    *2.* Selected: javax.resource.cci.ConnectionFactory and added new JNDI name for Outbound Connection Instance: "*eis/HelloWorld*"
    My task is to invoke the custom adapter from a BPEL process.
    I altered the customAdapter-config.xml so as to be able to use custom adapter wizard from JDeveloper's "Service Adapters" palette,
    and fullfilled the custom adapter wizard's fields accordingly. The 3rd step of the wizard requires Connection Information.
    I added: "*eis/HelloWorld*" in the "*Connection Factory Location*" field.
    Deployed BPEL process successfully, but testing failed due to binding.jca-12510 error:
    "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='eis/HelloWorld'. 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 eis/HelloWorld. 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 "I tried to apply (just for testing) "eis/FileAdapter" in the "Connection Factory Location" field of the custom adapter wizard,
    and BPEL successfully invoked the adapter.
    Any ideas ?
    Thanks,
    George

    George, What deployment do you have this associated with?
    - D.J.

  • How many different way can we call a BPEL process

    Hi Guys,
    How many ways can we call a BPEL process
    I know 3 ways
    1 ) Thru PLSQL 2) using Java API 3) From another BPEL Process.
    are there any other ways .... if so what are they ..... .
    Thanks
    Tom...

    Hi Tom,
    your normal BPEL process (a regular process you create with the "new BPEL process" wizard), can be configured in Oracle application server to be accessible
    - via SOAP over HTTP or
    - via JMS
    since it is has a WSDL based service interface.
    JDeveloper as well allows additionally more options for starting a BPEL process such as a file based interface, an e-mail as a starter etc.
    Still, I like to see the ESB as a virtualizer of the endpoint protocol, so I suggest you model the BPEL process regularly, exposing its functionality through WSDL and use ESB services that wrap your BPEL process to deal with the actual endpoints.
    Cheers,
    Hajo

  • How to Enable E-Mail Approval Setup in BPEL Process

    Hello Experts,
    we are working on OCM Project, where in which, we are implementing ODC / OFR / IPM 11g. We have got a requirement from the Client that, for Non-PO Invoices, we need to develop a E-Mail Approval Notifications as part of BPEL Process.
    I really appreciate, if any one us has done this before, can you please brief me in this, any document is also very much appreciated,
    You can reach out me on the following:
    [email protected]
    Phone: 1510-673-9630.
    Regards
    Chandra

    Any news re: page update and comment notifications on the wiki.  I installed 10.7.3, checked the boxes for document updates and comments, answered the email address dialog box and nothing seems to be happening.
    Thanks,

  • How to read values from Property file into BPEL process local variable?

    I would like to use a Property file with some parameters e.g.
    <myparm1>12345</myparm1>
    How can I read from a BPEL process such a Property file and assign it into e.g. local variable "intparm1"?
    Where (in which directory) should I put this XML Property file to have it always available for reading?
    Peter

    Hi,
    You can also use
    ora:readFile( ) function as follow :
    ora:readFile(xml file location (ex. "file:///D:\\SOA\\FileAdapters\\readFile\\test\\test.xml"),xsd file location (ex."file:///D:\\SOA\\FileAdapters\\readFile\\test\\test.xsd"))
    inside the assign activity and assign this to the variable you want.
    regards
    arababah
    Edited by: arababah on Aug 10, 2009 12:55 AM

  • How to read values from Property XMLfile into BPEL process local variable?

    I would like to use a Property file with some parameters e.g.
    <myparm1>
    12345
    </myparm1>
    How can I read from a BPEL process such a Property XML text file and assign it into e.g. local variable "intparm1"?
    Where (in which directory) should I put this XML Property file to have it always available for reading?
    Peter

    Hi,
    You can also use
    ora:readFile( ) function as follow :
    ora:readFile(xml file location (ex. "file:///D:\\SOA\\FileAdapters\\readFile\\test\\test.xml"),xsd file location (ex."file:///D:\\SOA\\FileAdapters\\readFile\\test\\test.xsd"))
    inside the assign activity and assign this to the variable you want.
    regards
    arababah
    Edited by: arababah on Aug 10, 2009 12:55 AM

  • How to invoke an OSB service from a BPEL process

    I need help, to figure out how to invoke an OSB proxy service from a BPEL process.
    I found a blog which exactly does that; but I am unable to get it to work. I get the following error on my BPEL console. We are on OSB10gR3 and SOA 10134.
    "com.bea.wli.sb.transports.TransportException: Unknown error while processing message for service ProxyService DWIntegrations/ProxyService/PeopleServiceBus"
    Any help will be greatly appreciated.
    Regards,
    BP

    It really comes down to the proxy service on the OSB. Is it invoked by a WSDL? If so you should be able to take the endpoint defined in the proxy service messaging configuration and use that URL. You also need to use the sb transport type.
    Can you also post the blog you used, then we can put it into context.
    also have a look at this link.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/bpelpmtransport/transport.html#wp1116011
    cheers
    James

  • How to see out put after Transform in BPEL process

    hi,
    Is there some way in 11 G "BPEL" process manager, to see the output after "transform".
    I am using "transform" to map data, however unable to see what is going in the output
    please advice
    thanks
    Yatan

    thanks James,
    Yes I was seeing the flow only, however if I click on "transform" activity, I dont see any thing more then
    "updated output variable x", is there some other view where we can see, what values got updated in the output variable,
    I am asking this because lot of logic goes while transforming the variables which creates lot of errors, so how to check
    what variables are going in the output of the transform variable.
    please advice
    thanks
    Yatan

  • How to invoking secured service(HTTPS/SSL)from bpel Process

    Hi all,
    i am very new to fusion middle ware. i used jdeveloper 10.1.3.3 and soa-server 10.1.3.1.i need to pass secured wsdl(HTTPS/SSL) from one bpel Process to other. Let me know any certificates are required to do this?
    I am looking forward to getting any advice from our forum.
    thanks & Reagards,
    Hari.

    First of all make sure your jdeveloper and soa suite versions match otherwise you will get unpredictable results. I suggest that you upgrade SOA Suite to 10.1.3.4 as this is the latest version.
    That aside I'm assuming that the bpel process are on the same instance. If this is the case Yes you do need certificates as you need to implement SSL on your SOA Installation. If you use a common certificate such as verisign then the process is simpler as you don't need to worry about the public key as they are standard with Oracle as they are with your browser. If you want to sign your own certificate then you will need to add your public key.
    If your server is already SSL and it is verisign then you should have no issues you will be able to connect.
    cheers
    James

  • How to implement "Please wait your request is being processed" window ?

    Hi all,
    We are integrating BSP iviews in our portal. When the BSP applicaiton is being processed(eg. a form is submitted"), is it possible to show a small window like "Please wait your request is being processed" ? .
    Such a window appears when any operation is performed in the KM content.
    How to achieve such a functionality with the integrated BSP applications. How do I implement this functionality? What are the API's? Any sample code is available?
    Thanks and Regards,
    Gauri Gosavi.

    Hi,
    in KM iview there is a hidden DIV with this:
    <div id="htmlb_wait" style="z-index:99; display:none; visibility:hidden; left:0px; top:0px; width:0px; height:0px; position:absolute; overflow:hidden;">...</div>
    Now you can put it into your BSP page (as hidden). Now before every form submit (onClientClick for button, ...) just call a JS function, which will change the visibility of this div to visible. So the DIV appears and stays here until page refresh.
    Hope this helps a bit.
    Romano

  • How to send the output of the 1st BPEL process as a input to 2nd BPEL Proce

    Hi,
    I am working on OBPM 11G and my requirement is like below,
    From Mediator we need to call two different BPEL process. 1st one is Synchronous one and second one will be a one way interface. We need to call a java call out from Mediator and then give the output to the first BPEL process. The output from the first BPEL process has to be given to the second BPEL process with a filter condition.
    However we have achieved to call Java callout as well as call to two different BPEL process but facing issues in sending the output of the first BPEL process as a part of input to the second BPEL process.
    Any help on this would be appreciated.
    Bibhu

    Hi,
    Why do you need the third step, if the second step is a Numeric Limit Test step type, you can setup the limits of this step for your required limits of 11V and 12V. Your result is returned from your VI to Step.Results.Numeric which will be evaluated in the Status Expression giving you a Pass / Fail status.
    Look at the example TestStand\examples\demo\..\Computer Motherboard Test\computer.seq
    But to answer your reoriginal question, some additional information is required.
    What are your inputs and outputs assigned to in TestStand, do you use the Step properties, Locals, FileGlobals?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

Maybe you are looking for