BPEL and Coldfusion

Hello *!
I wanted to consume the HelloWorld webservice with Coldfusion, but I always get an HTTP 500 - Internal server error and the application log says "Web service operation initiate with parameters {payload={something}} cannot be found." The page is made with Dreamweaver and the webservice added under components->Web Services
I have added rpc style and encoded to the WSDL but it produces the same error.
HelloWorld is deployed without errors and works fine in BPELconsole.
Anyone who uses CF and Dreamweaver?
Thanks
Klemens

You should try document encoded style.

Similar Messages

  • Passing value from ADF to BPEL, and to PL/SQL  procedure

    1. I have created BPEL which take 2 inputs and concatenate them.
    2. have created a PL/SQL procedure for invoking this BPEL( working fine).
    Now i need to create a simple ADF page which contain 2 text box, 2 for input and 1 for result(concatenate), this will take 2 inputs and send them into BPEL, this will invoke the BPEL process and perform the necessary concatenate function...
    in addition to this, i am passing code into PL/SQL procedure ...
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/OrderImportDemo">
    <ns1:InputRequest>
    <ns1:FirstName>abcdef</ns1:FirstName>
    <ns1:LastName>aaaaaa</ns1:LastName>
    </ns1:InputRequest>
    </soap:Body>
    </soap:Envelope>';
    this code will take vaule from BPEL and run properly.
    can you please help me,

    thanks for help, but the problem is diff.
    i don't have any schema, what i want i need to create a adf page that will contain 3 tent field, 2 for input and 1 for output. when i will enter 2 input field and click on ok button, this will invoke BPEL, BPEL will take these 2 inputs and do the concat on this and send back to adf with result.

  • Passing value from ADF to BPEL, and to PL/SQL

    1. I have created BPEL which take 2 inputs and concatenate them.
    2. have created a PL/SQL procedure for invoking this BPEL( working fine).
    Now i need to create a simple ADF page which contain 2 text box, 2 for input and 1 for result(concatenate), this will take 2 inputs and send them into BPEL, this will invoke the BPEL process and perform the necessary concatenate function...
    in addition to this, i am passing code into PL/SQL procedure ...
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/OrderImportDemo">
    <ns1:InputRequest>
    *<ns1:FirstName>abcdef</ns1:FirstName>*
    *<ns1:LastName>aaaaaa</ns1:LastName>*
    </ns1:InputRequest>
    </soap:Body>
    </soap:Envelope>';
    this code will take vaule from BPEL and run properly.
    can you please help me,

    Three simple steps you need to do :
    1) Generate proxy for your bpel process in Jdeveloper.
    2)Create simple ADF page with 2 input for taking value and a input for showing the result and one command button.
    3) In backing bean on command button action, get value from two inputs, pass the in the proxy service and update the the the third input with the result of service.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How To : Call External Webservice from BPEL and pass SOAP Message to the WS

    Hello All-
    Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
    <strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
    <strong>2. Transform the message</strong>
    <strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
    I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
    If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
    Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
    I am new to Webservice integration using BPEL and would really appreciate your help.
    Thanks In Advance
    Regards,
    Dibya

    Hi Dharmendra,
    I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
    I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
    I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
    This is what I see in the TCP monitor, please note the double SOAP env:Body:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <env:Header>
    <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
    <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
    <wsa:Metadata>
    <device xmlns:hl7="urn:hl7-org:v3">
    </device>
    </wsa:Metadata>
    </env:Header>
    <env:Body>
    <RCMR_IN000002NR01>
    </RCMR_IN000002NR01>
    </env:Body>
    </RCMR_IN000002NR01>
    </env:Body>
    </env:Envelope>
    Any help is appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Oct 30, 2008 8:59 PM
    Should have mentioned. I am using BPEL 10.1.3.4
    Edited by: Aagaard on Oct 31, 2008 8:43 AM
    I have opened a new thread for this question so as to not confuse the issue more than necessary.
    How many SOAP envelopes do you really need?

  • Trying to add new elemwent to BPEL, and it is now having binding error

    I have a BPEL service that calls a PL SQL procedure. I have added a new element to the BPEL called quote_cart_line.
    All I had to the BPEL to accomplish this was edit 3 files -
    Async_Invoke_Import_Model.xsd (Source)
    <element name="orig_sys_line_ref" type="integer" minOccurs="1" nillable="true"/>
           <element name="quote_cart_line" minOccurs="1" nillable="true" type="integer"/>
          </sequence>
    .....APPS_NI_MODEL_IMPORT_UTIL_IMPORT_SELECTIONS.xsd (Target)
    <element name="ORIG_SYS_LINE_REF" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
             <element name="QUOTE_CART_LINE" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
          </sequence>
    .....Transform_NIE_Inputs.xsl (Transforming from Source to Target)
    <ns1:orig_sys_line_ref>
              <xsl:value-of select="/ns1:Async_Invoke_Import_ModelProcessRequest/ns1:import_line/ns1:orig_sys_line_ref"/>
            </ns1:orig_sys_line_ref>
            <ns1:quote_cart_line>
              <xsl:value-of select="/ns1:Async_Invoke_Import_ModelProcessRequest/ns1:import_line/ns1:quote_cart_line"/>
            </ns1:quote_cart_line>
          </ns1:import_line>
    .....I have done this to two other BPELs and they work fine. (1st BPEL calls the second BPEL passing this new element, which then passes it to this BPEL I am having trouble with, which then should be binding it to a PL SQL type)
    So this BPEL calls a PL SQL procedure, binding the elements from the BPEL to a PL SQL type (ni_model_import_line). So I edited the PL SQL type to accept this new parameter:
    orig_sys_header_ref       NUMBER,
           quote_cart_line           NUMBER,
           CONSTRUCTOR FUNCTION ni_model_import_line(p_part_number                IN VARCHAR2,
    MEMBER PROCEDURE add_orig_sys_header_ref(p_org_sys_header_ref          IN NUMBER),
           MEMBER PROCEDURE add_quote_cart_line(p_quote_cart_line                 IN NUMBER)
    MEMBER PROCEDURE add_quote_cart_line(p_quote_cart_line                 IN NUMBER) IS
    BEGIN
       quote_cart_line := p_quote_cart_line;
    END add_quote_cart_line;
    END;
    .....I invoke all of this, and the new element gets populated in 3 different BPELs, including this one I explained here. But when it comes time to call the PL SQL I am now getting an error:
    <fault>
    -<bpelFault>
    <faultType>0</faultType>
    -<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'nie_import_2' failed due to: Interaction processing error.
    Error while processing the execution of the APPS.NI_MODEL_IMPORT_UTIL.IMPORT_SELECTIONS API interaction.
    An error occurred while processing the interaction for invoking the APPS.NI_MODEL_IMPORT_UTIL.IMPORT_SELECTIONS API. Cause: java.lang.NullPointerException
    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>null</detail>
    </part>
    -<part name="code">
    <code>null</code>
    </part>
    </bindingFault>
    </bpelFault>
    </fault>This doesnt happen if I remove the references to this new element and try again, so it obviously is a problem with the element, but I have no idea what it is. It works fine when going from BPEL to BPEL, but as soon as the process tries to call the PL SQL procedure this happens. It is even more frustrating because I have done this exactly before adding another element, and it worked fine...
    Any ideas or tips please?
    Edited by: 849655 on Aug 9, 2011 2:35 PM
    Edited by: 849655 on Aug 9, 2011 2:36 PM

    So is there any further info I can provide or anything like that? I am still no closer to solving this it appears...
    This makes no sense to me. I have edited these BPELs in this manner twice before and never had problems.
    I have 3 bpels. I added the new element to each of them.
    BPEL1 - calls some PL SQL and also passess the elements to the next BPEL (BPEL2)
    BPEL2 - passes the elements to BPEL 3
    BPEL3 - Calls PL SQL in exactly the same way as BPEL1
    however, where BPEL 1 is functioning fine, BPEL3 is resulting in the error above. So frustrating, because BPEL3 works exactly like BPEL1, there is no reason it shouldn't be working. The elements are the same order as the PL SQL type and procedure it is mapping to, so that isn't the problem
    Edited by: 849655 on Aug 11, 2011 7:51 AM

  • Performance tuning in BPEL and ESB

    Hi,
    Any one can tell me how to do Performance tuning in BPEL and ESB.
    How to create WEB SERVICES in BPEL

    Hi',
    Performance tuning in BPEL and ESB.
    ***This is very big topic I can give you 2 points here
    In BPEL we should avoid the use of duplicate variable, the best way to do this is, when ever we are creating a new variable
    we need to ask can we reuse variable from inside the process, example when creating the input/output variable in Invoke activity
    we need to check if we can use some existing variable instead of creating new.
    All the DB related operation should be performed in 1 single composite.
    How to create WEB SERVICES in BPEL
    Not sure what you want to ask here, as BPEL is itself a webservice.
    -Yatan

  • How do I save a file to a server using flex and coldfusion?

    How do I save a file to a server using flex and coldfusion?
    On the CF side I might need to use this:
    <cffile action="UPLOAD" filefield="Filedata"
    destination="#expandpath('..\somepath)#"
    nameconflict="overwrite">
    And on the flex side I might need to use something like this:
    var sendVars:URLVariables = new URLVariables();
    sendVars.action = "upload";
    var request:URLRequest = new URLRequest();
    request.data = sendVars;
    request.url = _strUploadScript;
    request.method = URLRequestMethod.POST;
    _refUploadFile = new FileReference();
    _refUploadFile = _arrUploadFiles[_numCurrentUpload].data;
    _refUploadFile.addEventListener(ProgressEvent.PROGRESS,
    onUploadProgress);
    _refUploadFile.addEventListener(Event.COMPLETE,
    onUploadComplete);
    _refUploadFile.addEventListener(IOErrorEvent.IO_ERROR,
    onUploadIoError);
    _refUploadFile.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    onUploadSecurityError);
    _refUploadFile.upload(request, "file", false);
    I just don't know how to put it all together in Coldfusion.

    try this...
    http://cf-creations.co.uk/blog/index.cfm/2008/9/20/Flex--File-Upload-Form--Part-One--Build ing-The-Initial-Form

  • Purchase Order to Purchase Order using BPEL and/or XML Gateway

    Hi,
    Is there a way to do create a duplicate Purchase Order in another instance using BPEL and/or XML Gateway? We're looking to do A2A transactions, namely duplicating data from one instance to another (of course the functional setups would have to be the same). Thanks!!

    this is the perfect usace for the upcoming ESB (shuffling data with transforming from A to B) - but this can be done with BPEL too .. there are some solutions to this
    1) on a database level (db to db)
    2) having events setup'ed in the master instance, that fire a process that get's the data
    3) and then using the functions from iRep
    hth clemens

  • Stored procedure and coldfusion.

    Hi all,
    My query is related with Oracle and coldfusion. I have got to write a stored procedure for updating a table. In this I have to raise an exception if the field i give for does not exist. Can anyone give an example code for this? I also want to know how it is called in a cfm page.
    Following is the stored procedure i have written
    create or replace package group_pack
    as
    procedure group_update
    pt_group_id in group.group_id%type,
    pt_group_name in group.group_name%type
    end;
    create or replace package body group_pack
    as
    procedure group_update
    pt_group_id in group.group_id%type,
    pt_group_name in group.group_name%type
    as
    begin
    update group
    set group_id = pt_group_id,
    group_name = pt_group_name
    where group_id = pt_group_id;
    exception
    when no_data_found then (what to code)
    end;
    end;
    In this in the (what to code) part i tried returning zero...but then procedures do not return values. Then I tried to RAISE exception, which also showed error.
    Also in the cfm page what should be done with the <cfstoredproc> </cfstoredproc>tags. How should it be reflected.....
    Please do give a solution to my problem.....
    Thanking in advance....
    Regards,
    Aswathy.

    Hi Aswathy,
    Can you please tell, what error it gave when you had written RAISE command? I think, this is a better choice if you do not want to do anything else like inserting a row with the missing value.
    regards,
    Archana
    http://justoracle.blogspot.com/

  • SQL Server 2005 and ColdFusion 7

    Hi all,
    I am using SQL Server 2005 and ColdFusion 7 (standalone) on
    XP 64 Bit. I was using the exact setup a couple of weeks ago, but
    had to reinstall my O/S due to hardware problems so am back to the
    beginning. I remember having a nightmare setting datasources up in
    the past, but did manage to find a solution.
    I have tried the following:
    SQL has TCP/IP Enabled
    SQL is set to Mixed Authentication
    SQL has a login set to the same as my Windows Username and
    password
    My database has a user (dbo) by the same name as the login
    set in SQL
    When I add a datasource in the administrator I enter the
    windows username and password (I have tried without either as
    well), the server name as localhost and the port as the default
    1433.
    I always get the following error:
    Connection verification failed for data source: DATABASENAME
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    Can someone offer any advice? This is driving me proper nuts.
    TIA,
    Paul

    when i did it, i had to update my jdbc driver
    http://msdn.microsoft.com/data/ref/jdbc/

  • What is the main difference between BPEL and ESB

    Hi all,
    I am making use ESB in my application .Where the my client application calls ESB and inturn the ESB calls the BPEL process .
    I want to know the differences between BPEL and ESB,I came to know that ESB can do messaging and routing ,where my BPEL process can also do the same thing .
    I came to know form a vendor that ESB is used for connecting to multiple end points ,where as my BPEL process can also do this.
    SO what is main purpose of using ESB ?
    Cheers,
    Kalyan.
    Message was edited by:
    patti

    Hi,
    Look for the blog entry dated 1st october 2007.
    URL:
    http://abhishek-soablog.blogspot.com
    Cheers,
    Abhi...

  • Forcing HTTP comm between BPEL and ESB

    Hi all,
    for demo purposes, I'd like to disable the internal and non-HTTP communication between BPEL and ESB when both are deployed on same OC4J container.
    I do not want to modify any WSDL but, if possible, disable somehow such internal communication. AFAIK, there was a property named "optSoapShortcut" in 10.1.2 but it no longer exists in 10.1.3.
    Any clues?
    TIA

    Hi.
    Sometime ago I tried to work with a BPEL property named preferredBindings, but it didn't work at all.
    WSM Gateway is bypassed when WSDL has SOAP and JCA binding. How to choose??
    I don't know if I came across a bug, but in theory I believe this is something like this:
    To indicate you want ESB binding:
    <property name="preferredBindings">http://www.oracle.com/esb/</property>
    To indicate you want SOAP binding (I'm not sure):
    <property name="preferredBindings">http://schemas.xmlsoap.org/wsdl/soap/</property>
    Please let me know about your results.
    Regards.
    Denis

  • Way to protect my bpel and esb jar (SOA 10g)  from reverse engineering?

    Hi All
    We would be sharing our BPEL and ESB jars with some other company for deployment? Is there a way to protect them so that they are not able to peak into the contents of the jar?
    If I extract the jar file, i can see all my XSD, WSDL, XSL, BPEL and ESB files as it is (the same as in JDEV)?
    is there a way to protect them? Please help its urgent!

    The use of a Trusted Platform Module (TPM) is a viable and extremely cost-effective alternative to the HSM, if the encryption and key-management application is designed properly. This is the approach we took when storing encrypted data and encrypted-keys within a database for our key-,management system. However, when using cryptographic hardware modules in your solution (that also meet regulatory requirements for split-knowledge and multiple key-custodians), your design for the solution must be carefully thought out to ensure that the implementation is reasonably secure and that it meets regulatory requirements. Storing an unencrypted key (or password that decrypts a PBE-based key) anywhere on a disk is an invitation for disaster.

  • Set polling time with BPEL and ESB File Adapters

    We have create file adapters in BPEL and ESB. We see where you can set the frequency for polling but do not see a place to set the polling time. We would like it to check a directory every 24 hours at midnight. We can set the 24 hours but not the midnight. How does ESB and BPEL determine the time to run based upon the interval?

    Oracle SOA is started, from the time the adapter is loaded, the interval counting starts. It is not on a particular time.
    If you want to start a BPEL process on a certain time, you could use the quartz timer fucntionality of BPEL to start an instance on a particular time (like unix cron tab).
    Marc

  • Deployment of BPEL (and ESB) into Clustered Environment

    Hi All,
    I was after any view points / pointers into peoples experiences into deployment of BPEL and ESB into a clustered Oracle iAS SOA suite environment, where there are two or more nodes running BPEL, ESB etc with a corresponding OHS Loan Balancers. I have been unable to find any specific information with regards to recommendations into the best ways to deploy into a clustered environment.
    My viewpoints are there are two alternative approaches that could be used, both of which use ANT deployment scripts to register / deploy the various services.
    (1) Leaving all nodes up in the cluster and using a properties file to specify the relevant details, deploy to one environment allowing the load balancer to distribute the software to the respective nodes in the cluster
    (2) Deploy to each of the nodes in turn ensuring all other nodes in the cluster are taken down during each separate deployment
    What are other peoples thoughts / experiences / recommendations?
    Thanks in Advance
    Dave

    I don't believe there is any real information on deployments in a cluster in those documents.
    There is a note on metalink 457654.1 which says to apply to each node, while doing this shut down the other servers. From experience this worked for some configuration and not others.
    Can you say what cluster deployment you used, e.g. 10.1.3.1 or 10.1.3.3 with BPEL and ESB-RT in the same oc4j?
    Also what version are you on. If you are on 10.1.3.4 using the 10.1.3.3 deployment configuration you don't need to shutdown the nodes. And you can get away with just deploying to one node but make sure your <ORACLE_HOME>/bpel/system/config/collaxa-config.xml file has been set to cluster = true. Look at metalink note 746251.1.
    You can experience the notorious Process Lock Timeout Error when not shutdown cleanly but this is resolved using the best practice guide http://www.oracle.com/technology/tech/soa/soa-suite-best-practices/soa_best_practices_1013x_drop1.pdf
    ESB can be applied to just one node.
    Make sure that all your endpoints are pointing to the load balancer and not the actual node themselves.
    Also you connect string is different in your build.properties make sure of the following
    cluster = true
    oc4jinstancename = default_group
    local.oc4jinstancename = oc4j_soa (or the oc4j container with BPEL)
    esb
    deployer.uri=deployer:cluster:opmn://hostname:opmn port/default_group
    cheers
    James

Maybe you are looking for

  • Error while executing the report

    Hello Frineds.. Need some help once again . When the user is executing the query , he is getting below error.sometimes. could please tell me why it is so ? Warning Result from ZPOS_C10 removed( attempt1) , Reorgenzation during reading. Abort sys erro

  • Using iDVD with Premier Pro CS6

    How is the output from PremierPro CS6 (as a 00000.MTS.MOV file) burnt to DVD using Apple's iDVD? Can this be done? Many thanks!

  • PLS-00487: Invalid reference to variable ' expression '

    oracle database 10G OS unix One of procedure is giving error PLS-00487: Invalid reference to variable '<expression>' while compilation in above database while it is compiling successfully in other database. Is there any database error?

  • Error in invoking the build rule editor, LabView 2011

    Hi all.  I'm having a problem in Project Explorer.  When I right-click on 'Build Specifications' and select New:Application (EXE), I get the following error dialog: "There was an error in invoking the build rule editor. Please check the corresponding

  • How do i get rid of audio advertisements?

    There are constant audio advertisements and it is really irritating.