Error in Passing BPEL variable Contents to BPEL Transform (XSLT)

Hi,
Problem Statement:
·     I want to Transform data, from schema1 to schema2.
·     Schema1 is basically a collection lets say collection of A. in XML terms, it has multiple same type of child elements under the root element.
·     Schema2 associated with each child element of Schema1.
·     In the Loop, I want to iterate through the schema1 data and iteration count would be as much as number of child elements in it.
·     Pick one child element (using index in XPATH) and use it to associate with Schema2 elements.
·     In this process I wanted to pass 2 parameters to BPEL Transform activity using properties datatype. (ref: http://blogs.oracle.com/rammenon/2007/05/07)
·     However it is not realizing the parameters passed to it.
Please also suggest me a location to upload the related code for any verification.
Please suggest the flaw in this and suggestions to rectify.
Thanks
Regards
Joy

Example counting nodes.
ora:countNodes('Invoke_FileSyncRead_SynchronousRead_OutputVariable','Root-Element','/ns1:Root-Element/ns1:SiteInfo')
Set that to Integer variable $count.
Then set new variable type integer $interator = 1.
That will give you a proper loop counter for your payload.
AS far as mapping only certain elements, I would just transform 1st, then pick out what you need with an explicit assign activity to whatever you want to pass that to.
Hope that helps.

Similar Messages

  • Error while passing ODI variable in JNDI Url for JMS Queue XML

    Hi,
    Facing a weird problem while passing ODI variable in JNDI Url for JMS Queue XML.
    Below is the JNDI Url configured under ODI Topology:
    JNDI Url: t3://<host_location>?d=#TEST.SCHEMA_FILE&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    where,
    #TEST.SCHEMA_FILE --> ODI variable storing xsd name and location
    Issue Description:
    If we restart ODI server then for the first run of any ODI interface using JMS Queue XML, it is unable to get the value for ODI variable present in JNDI Url (d=#TEST.SCHEMA_FILE).
    It throws error message saying: No XSD found
    Temporary Resolution:
    As a temporary fix if we hard-code and pass the value in that ODI variable as shown below, it will successfully go through.
    eg: JNDI Url: t3://<host_location>?d=C:\XSD\test.xsd&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    Reverting it back to variable later will have no issues and subsequent run will succeed.
    But again anytime later if server is restarted then first run will have this issue.
    Want to have permanent fix for it.
    Any one having idea on it please share. Appreciate your help!

    What ODI version are you using? It could be related to the bug in the older version as described in support note Doc ID 1290326.1

  • Error while Passing shell variable into exec UTL_MAIL.SEND

    Hello,
    I am new in shell scripting, please help me to rectify, whats wrong in my code.
    login='system/manager'
    code=`
    sqlplus -s $login <<EOF
    set heading off
    SELECT tablespace_name,(SUM(bytes/1024/1024)) FROM dba_free_space WHERE tablespace_name IN ('PIN00','PINX00','SYSTEM','SYSAUX','UNDOTBS1','STATSPACK') GROUP BY tablespace_name;
    EOF`
    exec UTL_MAIL.SEND(sender=>'[email protected]', recipients=>'[email protected]', cc =>'[email protected]' , subject=>'$ORACLE_SID BACKUP', message =>'$code')
    exit;
    EOF
    echo "sqlplus exited"
    ERROR:
    ORA-01756: quoted string not properly terminated
    SP2-0734: unknown command beginning "SYSTEM ..." - rest of line ignored.
    SP2-0734: unknown command beginning "PIN00 ..." - rest of line ignored.
    SP2-0734: unknown command beginning "PINX00 ..." - rest of line ignored.
    SP2-0734: unknown command beginning "SYSAUX ..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    Edited by: 929236 on Apr 21, 2012 12:46 AM
    Edited by: 929236 on Apr 21, 2012 12:48 AM

    Hello,
    Thanks for your review.
    But please look into below output i am getting after running below code
    ORACLE_BASE=/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0.4/db_1; export ORACLE_HOME
    ORACLE_SID=pindb; export ORACLE_SID
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    login='system/manager'
    code=`
    sqlplus -s $login <<EOF
    set heading off
    set feedback off
    SELECT tablespace_name,(SUM(bytes/1024/1024)) FROM dba_free_space WHERE tablespace_name IN ('PIN00','PINX00','SYSTEM','SYSAUX','UNDOTBS1','STATSPACK') GROUP BY tablespace_name;
    exit`
    output:
    PIN00 28287.1172 PINX00 93813.1367 STATSPACK 54.1875 SYSAUX 215.125 SYSTEM .1015625 UNDOTBS1 745.8125 6 rows selected.
    Here its working very fine but when i am passing code variable to utl_mail.send procedure, its giving error same as i mentioned previous. I have put all the environment variable as well. But when i put utl_mail.send and pass CODE variable into it it gives error.
    ORACLE_BASE=/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0.4/db_1; export ORACLE_HOME
    ORACLE_SID=pindb; export ORACLE_SID
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    login='system/manager'
    code=`
    sqlplus -s $login <<EOF
    set heading off
    set feedback off
    SELECT tablespace_name,(SUM(bytes/1024/1024)) FROM dba_free_space WHERE tablespace_name IN ('PIN00','PINX00','SYSTEM','SYSAUX','UNDOTBS1','STATSPACK') GROUP BY tablespace_name;
    exit`
    $ORACLE_HOME/bin/sqlplus -s /nolog << EOF
    connect / as sysdba
    exec UTL_MAIL.SEND(sender=>'[email protected]', recipients=>'[email protected]', cc =>'[email protected]' , subject=>'$ORACLE_SID BACKUP', message =>'$code')
    exit;
    EOF
    echo "sqlplus exited"
    ERROR:
    ORA-01756: quoted string not properly terminated
    SP2-0734: unknown command beginning "PIN00 ..." - rest of line ignored.
    SP2-0734: unknown command beginning "PINX00 ..." - rest of line ignored.
    SP2-0734: unknown command beginning "STATSPACK ..." - rest of line ignored.
    SP2-0734: unknown command beginning "SYSAUX ..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "SYSTEM ..." - rest of line ignored.
    SP2-0734: unknown command beginning "UNDOTBS1 ..." - rest of line ignored.
    sqlplus exited
    Thanks,
    Ashish
    Edited by: user13271251 on Apr 22, 2012 11:49 PM

  • Getting an "undefined" error when passing a variable to a function using Microsoft Razor

    I am trying to call a function and pass a variable to it. However I get an "undefined" error.
    The code is:
    Layout = "~/_SiteLayout.cshtml";
    Page.Title = "General Information";
    var recID = 3;
    <input type="text" id="rdy">
    <p>
    <a href=""><input type="button" name="button" id="button" value="Next Hypothetical" onclick='reselectState(recID)'></a>
    </p>
    <script>
    function reselectState(recIDx)
    var elem = document.getElementById("rdy");
    elem.value = recIDx;
    var rdy = $("#rdy").val();
    alert(rdy);
    location.href = '/hypothetical.cshtml?recordkey=' + rdy;
    </script>
    It seems to think that the variable "recID" is undefined even though it exists and I assign a value to it.

    Michael,
    Let me ask you this ... Are you trying to pass the value of the Input value? If you are looking for the input value to be .. then I made some changes you can follow...
        var recId = 3;
        <input type="text" id="rdy">
        <p>
            <a href="">@*<input type="button" name="button" id="button" value="Next Hypothetical" onclick='reselectState(recId)'>*@</a>
            <input type="button" name="button" id="button" value="Next Hypothetical" onclick='test()' />
        </p>
        <script>
            function test() {
                var inputValue = document.getElementById("rdy").value;
                reselectState(inputValue);
            function reselectState(recIDx) {
                var elem = document.getElementById("rdy");
                elem.value = recIDx;
                var rdy = $("#rdy").val();
                alert(rdy);
                location.href = '/hypothetical.cshtml?recordkey=' + rdy;
        </script>
    --Thanks,
    Pavan

  • Getting error which passing a variable to the cursor

    hi all,
    i am passing pl/sql table value into the sql cursor
    DECLARE
      CURSOR cr(i_oList IN tList) IS
        SELECT SOMETHING
          FROM SOMETABLE
         WHERE SOMECOL IN (SELECT COLUMN_VALUE FROM TABLE(CAST(i_oList AS tList));but i am getting following error :invalid variable declaration 'tList' must be type or subtype.
    please help me

    HI,
    i changed my code to
    DECLARE
    CURSOR cr(i_oList tList) IS
    SELECT SOMETHING
    FROM SOMETABLE
    WHERE SOMECOL IN (SELECT COLUMN_VALUE FROM TABLE(tList));
    still getting the same error as i mentioned before
    "invalid variable declaration: object tlist must be type or subtype                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error while passing collection variable into procedure.

    Hi Experts,
    I'm facing errors while trying to pass the collection variables as in parameter to the procedure.
    PLS-00306: wrong number or types of arguments in call
    Please suggest me?
    Thanks in advance....

    I'm facing errors while trying to pass the collection variables as in parameter to the procedure.
    PLS-00306: wrong number or types of arguments in call
    If you want help with code you need to POST THE CODE.
    Post the DDL for the procedure that shows how the parameters are defined.
    And post the code you are using to CALL that procedure that shows what parameters you are passing and the datatypes for those parameters.

  • How to pass a variable to a template in XSLT?

    I want to get a value from an xml file then pass that value to another template to process it?
    Can I do that,and how?

    This is a Java forum. If you have questions about XSLT there is a much better place to post them. Go here:
    http://www.mulberrytech.com/xsl/xsl-list
    to find out about it. (You might want to post a clearer question, too.)

  • Errors after upgrading Bpel process manager

    Hi all,
    As said in the subject I recently upgraded to the latest version of the Bpel process manager. And it looks like some changes have been made ;-) My project does not compile/deploy anymore. See below the obant errors I got. Apparently, I should now add the ns prefixes in the bpel source ... could you confirm? What impact will that make on the queries?
    thanx,
    --mike
    Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument>obant
    Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument>SETLOCAL
    Buildfile: build.xml
    main:
    [bpelc] bpelc> validating "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel" ...
    [bpelc] BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 377 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/userId"
    is invalid, because step ':userId' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 382 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/imageUR
    L" is invalid, because step ':imageURL' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 404 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/passwor
    d" is invalid, because step ':password' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 747 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/ex
    ecution/started" is invalid, because step ':execution' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 752 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/lo
    anAccountNumber" is invalid, because step ':loanAccountNumber' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 757 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/fo
    rmURL" is invalid, because step ':formURL' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 767 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/lo
    anAccountNumber" is invalid, because step ':loanAccountNumber' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 772 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/fo
    rmURL" is invalid, because step ':formURL' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 782 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/loanupdate/ex
    ecution/finished" is invalid, because step ':execution' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 817 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/emailRe
    cipient" is invalid, because step ':emailRecipient' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 822 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/emailRe
    cipient" is invalid, because step ':emailRecipient' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 1127 of "Z:\smartdocument.bpel\src\LocalLoanIncSmartDocument\LocalLoanIncSmartDocument.bpel", query "/input/emailR
    ecipient" is invalid, because step ':emailRecipient' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    Next is my bpel source:
    <!-- LocalLoanIncSmartDocument BPEL Process [Generated by the Oracle BPEL Designer] -->
    <process name="LocalLoanIncSmartDocument" targetNamespace="urn:SmartDocument" suppressJoinFailure="yes" xmlns:tns="urn:SmartDocument" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:cx="http://schemas.collaxa.com/xpath/extension" xmlns:ns0="urn:ocr.services.smartdocument.xerox.com" xmlns:ns1="urn:email.services.smartdocument.xerox.com" xmlns:ns2="urn:categoriser.services.smartdocument.xerox.com" xmlns:ns3="urn:signature.services.smartdocument.xerox.com" xmlns:ns4="urn:LoanService" xmlns:ns5="urn:dataglyph.services.smartdocument.xerox.com" xmlns:ns6="urn:initiate.services.smartdocument.xerox.com" xmlns:ns7="urn:seal.services.smartdocument.xerox.com" xmlns:ns8="http://www.xerox.com/webservices/" xmlns:ns9="urn:store.services.smartdocument.xerox.com" xmlns:ns10="urn:factfinder.services.smartdocument.xerox.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:task="http://services.oracle.com/bpel/task">
         <!-- ================================================================= -->
         <!-- PARTNERLINKS -->
         <!-- List of services participating in this BPEL process -->
         <!-- ================================================================= -->
         <partnerLinks>
              <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
              <partnerLink name="client" partnerLinkType="tns:LocalLoanIncSmartDocument" myRole="LocalLoanIncSmartDocumentProvider" partnerRole="LocalLoanIncSmartDocumentRequester"/>
              <partnerLink name="SignatureService" partnerRole="SignatureProvider" partnerLinkType="ns3:SignatureLink"/>
              <partnerLink name="CategoriserService" partnerRole="CategoriserProvider" partnerLinkType="ns2:CategoriserLink"/>
              <partnerLink name="EmailService" partnerRole="EmailProvider" partnerLinkType="ns1:EmailLink"/>
              <partnerLink name="OCRService" partnerRole="OcrProvider" partnerLinkType="ns0:OcrLink"/>
              <partnerLink name="ValidateApplicationManager" partnerLinkType="task:TaskManager" partnerRole="TaskManager" myRole="TaskManagerRequester"/>
              <partnerLink name="DataglyphService" partnerRole="DataglyphProvider" partnerLinkType="ns5:DataglyphLink"/>
              <partnerLink name="LoanService" partnerRole="LoanServiceProvider" partnerLinkType="ns4:LoanServiceLink"/>
              <partnerLink name="InitiateService" partnerLinkType="ns6:InitiateLink" partnerRole="InitiateProvider"/>
              <partnerLink name="SealService" partnerLinkType="ns7:SealLink" partnerRole="SealProvider"/>
              <!-- CHANGE If on boss
              <partnerLink name="FactFinderService" partnerLinkType="ns8:FactFinderSoapLink" partnerRole="FactFinderSoapProvider"/>
    -->
              <!-- CHANGE If not on boss -->
              <partnerLink name="FactFinderService" partnerLinkType="ns10:FactFinderSoapLink" partnerRole="FactFinderSoapProvider"/>
              <!-- -->
              <partnerLink name="StoreService" partnerLinkType="ns9:StoreLink" partnerRole="StoreProvider"/>
         </partnerLinks>
         <!-- ================================================================= -->
         <!-- VARIABLES -->
         <!-- List of messages and XML documents used within this BPEL process -->
         <!-- ================================================================= -->
         <variables>
              <!-- Reference to the message passed as input during initiation -->
              <variable name="input" messageType="tns:InputMessage"/>
              <!-- Reference to the message that will be sent back to the
    requester during callback
    -->
              <variable name="flowContents" messageType="tns:SmartDocumentMessage"/>
              <variable name="dataglyphKey" type="xsd:string"/>
              <variable name="inputSmartDocumentId" type="xsd:string"/>
              <variable name="inputDocumentId" type="xsd:string"/>
              <variable name="inputUrl" type="xsd:string"/>
              <variable name="serviceIdentifier" type="xsd:string"/>
              <variable name="runtimeFaultMessage" messageType="bpelx:RuntimeFaultMessage"/>
              <variable name="authId" type="xsd:string"/>
         </variables>
         <faultHandlers>
              <catch faultName="bpelx:bindingFault" faultVariable="runtimeFaultMessage">
                   <scope name="HandleBindingFault">
                        <variables>
                             <variable name="error" element="tns:error"/>
                        </variables>
                        <sequence>
                             <scope name="SetErrorMessage">
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from variable="serviceIdentifier">
                                                 </from>
                                                 <to variable="error" query="/error/processStep"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="error" query="/error/occuredAt"/>
                                            </copy>
                                            <copy>
                                                 <from variable="runtimeFaultMessage" part="code">
                                                 </from>
                                                 <to variable="error" query="/error/errorCode"/>
                                            </copy>
                                            <copy>
                                                 <from variable="runtimeFaultMessage" part="summary">
                                                 </from>
                                                 <to variable="error" query="/error/errorSummary"/>
                                            </copy>
                                       </assign>
                                       <assign name="addToSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('error'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                  </sequence>
                             </scope>
                             <scope name="Seal">
                                  <variables>
                                       <variable name="seal" element="tns:seal"/>
                                       <variable name="sealInput" messageType="ns7:SealRequest"/>
                                       <variable name="sealOutput" messageType="ns7:SealResponse"/>
                                  </variables>
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="seal" query="/seal/execution/started"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputSmartDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/smartdocumentid"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/documentid"/>
                                            </copy>
                                       </assign>
                                       <assign name="addtoSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('seal'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                       <assign name="setServiceInput">
                                            <copy>
                                                 <from variable="authId">
                                                 </from>
                                                 <to variable="sealInput" part="AuthId"/>
                                            </copy>
                                            <copy>
                                                 <from variable="seal" query="/seal/input/smartdocumentid">
                                                 </from>
                                                 <to variable="sealInput" part="SmartDocumentId"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getContentAsString(ora:getElement('flowContents', 'document', '/smartdocument'))">
                                                 </from>
                                                 <to variable="sealInput" part="XmlString"/>
                                            </copy>
                                       </assign>
                                       <invoke partnerLink="SealService" portType="ns7:Seal" operation="Seal" inputVariable="sealInput" outputVariable="sealOutput"/>
                                  </sequence>
                             </scope>
                        </sequence>
                   </scope>
              </catch>
              <catch faultName="bpelx:remoteFault" faultVariable="runtimeFaultMessage">
                   <scope name="HandleRemoteFault">
                        <variables>
                             <variable name="error" element="tns:error"/>
                        </variables>
                        <sequence>
                             <scope name="SetErrorMessage">
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from variable="serviceIdentifier">
                                                 </from>
                                                 <to variable="error" query="/error/processStep"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="error" query="/error/occuredAt"/>
                                            </copy>
                                            <copy>
                                                 <from variable="runtimeFaultMessage" part="code">
                                                 </from>
                                                 <to variable="error" query="/error/errorCode"/>
                                            </copy>
                                            <copy>
                                                 <from variable="runtimeFaultMessage" part="summary">
                                                 </from>
                                                 <to variable="error" query="/error/errorSummary"/>
                                            </copy>
                                       </assign>
                                       <assign name="addToSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('error'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                  </sequence>
                             </scope>
                             <scope name="Seal">
                                  <variables>
                                       <variable name="seal" element="tns:seal"/>
                                       <variable name="sealInput" messageType="ns7:SealRequest"/>
                                       <variable name="sealOutput" messageType="ns7:SealResponse"/>
                                  </variables>
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="seal" query="/seal/execution/started"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputSmartDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/smartdocumentid"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/documentid"/>
                                            </copy>
                                       </assign>
                                       <assign name="addtoSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('seal'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                       <assign name="setServiceInput">
                                            <copy>
                                                 <from variable="authId">
                                                 </from>
                                                 <to variable="sealInput" part="AuthId"/>
                                            </copy>
                                            <copy>
                                                 <from variable="seal" query="/seal/input/smartdocumentid">
                                                 </from>
                                                 <to variable="sealInput" part="SmartDocumentId"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getContentAsString(ora:getElement('flowContents', 'document', '/smartdocument'))">
                                                 </from>
                                                 <to variable="sealInput" part="XmlString"/>
                                            </copy>
                                       </assign>
                                       <invoke partnerLink="SealService" portType="ns7:Seal" operation="Seal" inputVariable="sealInput" outputVariable="sealOutput"/>
                                  </sequence>
                             </scope>
                        </sequence>
                   </scope>
              </catch>
              <catchAll>
                   <scope name="HandleGenericFault">
                        <variables>
                             <variable name="error" element="tns:error"/>
                        </variables>
                        <sequence>
                             <scope name="SetErrorMessage">
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from variable="serviceIdentifier">
                                                 </from>
                                                 <to variable="error" query="/error/processStep"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="error" query="/error/occuredAt"/>
                                            </copy>
                                            <copy>
                                                 <from expression="'UNKNOWN ERROR CODE'">
                                                 </from>
                                                 <to variable="error" query="/error/errorCode"/>
                                            </copy>
                                            <copy>
                                                 <from expression="'UNKNOWN ERROR SUMMARY'">
                                                 </from>
                                                 <to variable="error" query="/error/errorSummary"/>
                                            </copy>
                                       </assign>
                                       <assign name="addToSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('error'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                  </sequence>
                             </scope>
                             <scope name="Seal">
                                  <variables>
                                       <variable name="seal" element="tns:seal"/>
                                       <variable name="sealInput" messageType="ns7:SealRequest"/>
                                       <variable name="sealOutput" messageType="ns7:SealResponse"/>
                                  </variables>
                                  <sequence>
                                       <assign name="prepareRecord">
                                            <copy>
                                                 <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                 </from>
                                                 <to variable="seal" query="/seal/execution/started"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputSmartDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/smartdocumentid"/>
                                            </copy>
                                            <copy>
                                                 <from variable="inputDocumentId">
                                                 </from>
                                                 <to variable="seal" query="/seal/input/documentid"/>
                                            </copy>
                                       </assign>
                                       <assign name="addtoSmartDocument">
                                            <copy>
                                                 <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('seal'))">
                                                 </from>
                                                 <to variable="flowContents" part="document" query="/smartdocument"/>
                                            </copy>
                                       </assign>
                                       <assign name="setServiceInput">
                                            <copy>
                                                 <from variable="authId">
                                                 </from>
                                                 <to variable="sealInput" part="AuthId"/>
                                            </copy>
                                            <copy>
                                                 <from variable="seal" query="/seal/input/smartdocumentid">
                                                 </from>
                                                 <to variable="sealInput" part="SmartDocumentId"/>
                                            </copy>
                                            <copy>
                                                 <from expression="ora:getContentAsString(ora:getElement('flowContents', 'document', '/smartdocument'))">
                                                 </from>
                                                 <to variable="sealInput" part="XmlString"/>
                                            </copy>
                                       </assign>
                                       <invoke partnerLink="SealService" portType="ns7:Seal" operation="Seal" inputVariable="sealInput" outputVariable="sealOutput"/>
                                  </sequence>
                             </scope>
                        </sequence>
                   </scope>
              </catchAll>
         </faultHandlers>
         <!-- ================================================================= -->
         <!-- ORCHESTRATION LOGIC -->
         <!-- Set of activities coordinating the flow of messages across the -->
         <!-- services integrated within this business process -->
         <!-- ================================================================= -->
         <sequence name="main">
              <!-- Receive input from requestor.
    Note: This maps to operation defined in LocalLoanIncSmartDocument.wsdl
    -->
              <receive name="receiveInput" partnerLink="client" portType="tns:LocalLoanIncSmartDocument" operation="initiate" variable="input" createInstance="yes"/>
              <assign name="InitialiseVariables">
                   <copy>
                        <from expression="'042e05a98cddac30e309f8'">
                        </from>
                        <to variable="dataglyphKey"/>
                   </copy>
                   <copy>
                        <from expression="'0'">
                        </from>
                        <to variable="inputSmartDocumentId"/>
                   </copy>
                   <copy>
                        <from expression="'0'">
                        </from>
                        <to variable="inputDocumentId"/>
                   </copy>
                   <copy>
                        <from expression="'Unknown service'">
                        </from>
                        <to variable="serviceIdentifier"/>
                   </copy>
              </assign>
              <scope name="Initiate">
                   <variables>
                        <variable name="initiate" element="tns:initiate"/>
                        <variable name="initiateInput" messageType="ns6:InitiateRequest"/>
                        <variable name="initiateOutput" messageType="ns6:InitiateResponse"/>
                   </variables>
                   <sequence>
                        <assign name="prepareRecord">
                             <copy>
                                  <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                  </from>
                                  <to variable="initiate" query="/initiate/execution/started"/>
                             </copy>
                             <copy>
                                  <from variable="input" part="payload" query="/input/userId">
                                  </from>
                                  <to variable="initiate" query="/initiate/userid"/>
                             </copy>
                             <copy>
                                  <from variable="input" part="payload" query="/input/imageURL">
                                  </from>
                                  <to variable="initiate" query="/initiate/url"/>
                             </copy>
                             <copy>
                                  <from expression="string('LocalLoanIncSmartDocument')">
                                  </from>
                                  <to variable="initiate" query="/initiate/processName"/>
                             </copy>
                        </assign>
                        <assign name="setServiceInput">
                             <copy>
                                  <from expression="'Initiate'">
                                  </from>
                                  <to variable="serviceIdentifier"/>
                             </copy>
                             <copy>
                                  <from variable="initiate" query="/initiate/userid">
                                  </from>
                                  <to variable="initiateInput" part="Username"/>
                             </copy>
                             <copy>
                                  <from variable="input" part="payload" query="/input/password">
                                  </from>
                                  <to variable="initiateInput" part="Password"/>
                             </copy>
                             <copy>
                                  <from variable="initiate" query="/initiate/url">
                                  </from>
                                  <to variable="initiateInput" part="URL"/>
                             </copy>
                        </assign>
                        <invoke partnerLink="InitiateService" portType="ns6:Initiate" operation="Initiate" inputVariable="initiateInput" outputVariable="initiateOutput"/>
                        <assign name="updateScopeVariables">
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/SmartDocumentId">
                                  </from>
                                  <to variable="inputSmartDocumentId"/>
                             </copy>
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/DocumentId">
                                  </from>
                                  <to variable="inputDocumentId"/>
                             </copy>
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/DocumentURL">
                                  </from>
                                  <to variable="inputUrl"/>
                             </copy>
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/AuthId">
                                  </from>
                                  <to variable="authId"/>
                             </copy>
                        </assign>
                        <assign name="updateRecord">
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/SmartDocumentId">
                                  </from>
                                  <to variable="initiate" query="/initiate/output/smartdocumentid"/>
                             </copy>
                             <copy>
                                  <from variable="initiateOutput" part="Result" query="/Result/DocumentId">
                                  </from>
                                  <to variable="initiate" query="/initiate/output/documentid"/>
                             </copy>
                             <copy>
                                  <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                  </from>
                                  <to variable="initiate" query="/initiate/execution/finished"/>
                             </copy>
                        </assign>
                        <assign name="addToSmartDocument">
                             <copy>
                                  <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('initiate'))">
                                  </from>
                                  <to variable="flowContents" part="document" query="/smartdocument"/>
                             </copy>
                        </assign>
                   </sequence>
              </scope>
              <scope name="DetectDataglyph">
                   <variables>
                        <variable name="glyphdetection" element="tns:glyphdetection"/>
                        <variable name="detectDataglyphInput" messageType="ns5:SmartDocumentDataglyphDetectRequest"/>
                        <variable name="detectDataglyphOutput" messageType="ns5:SmartDocumentDataglyphDetectResponse"/>
                   </variables>
                   <sequence>
                        <assign name="prepareRecord">
                             <copy>
                                  <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/execution/started"/>
                             </copy>
                             <copy>
                                  <from variable="flowContents" part="document" query="/smartdocument/initiate/output/smartdocumentid">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/input/smartdocumentid"/>
                             </copy>
                             <copy>
                                  <from variable="flowContents" part="document" query="/smartdocument/initiate/output/documentid">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/input/documentid"/>
                             </copy>
                        </assign>
                        <assign name="setServiceInput">
                             <copy>
                                  <from expression="'GlyphDetection'">
                                  </from>
                                  <to variable="serviceIdentifier"/>
                             </copy>
                             <copy>
                                  <from variable="authId">
                                  </from>
                                  <to variable="detectDataglyphInput" part="AuthId"/>
                             </copy>
                             <copy>
                                  <from variable="dataglyphKey">
                                  </from>
                                  <to variable="detectDataglyphInput" part="Key"/>
                             </copy>
                             <copy>
                                  <from expression="5">
                                  </from>
                                  <to variable="detectDataglyphInput" part="MaxAngle"/>
                             </copy>
                             <copy>
                                  <from expression="128">
                                  </from>
                                  <to variable="detectDataglyphInput" part="Region"/>
                             </copy>
                             <copy>
                                  <from variable="glyphdetection" query="/glyphdetection/input/smartdocumentid">
                                  </from>
                                  <to variable="detectDataglyphInput" part="SmartDocumentId"/>
                             </copy>
                             <copy>
                                  <from variable="glyphdetection" query="/glyphdetection/input/documentid">
                                  </from>
                                  <to variable="detectDataglyphInput" part="DocumentId"/>
                             </copy>
                        </assign>
                        <invoke partnerLink="DataglyphService" portType="ns5:Dataglyph" operation="SmartDocumentDataglyphDetect" inputVariable="detectDataglyphInput" outputVariable="detectDataglyphOutput"/>
                        <assign name="updateRecord">
                             <copy>
                                  <from expression="string(boolean(bpws:getVariableData('detectDataglyphOutput', 'Result', '/Result/Result')&gt;500.0))">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/detected"/>
                             </copy>
                             <copy>
                                  <from variable="detectDataglyphOutput" part="Result" query="/Result/SmartDocumentId">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/output/smartdocumentid"/>
                             </copy>
                             <copy>
                                  <from variable="detectDataglyphOutput" part="Result" query="/Result/DocumentId">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/output/documentid"/>
                             </copy>
                             <copy>
                                  <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                  </from>
                                  <to variable="glyphdetection" query="/glyphdetection/execution/finished"/>
                             </copy>
                        </assign>
                        <assign name="addToSmartDocument">
                             <copy>
                                  <from expression="ora:addChildNode(bpws:getVariableData('flowContents', 'document', '/smartdocument'), bpws:getVariableData('glyphdetection'))">
                                  </from>
                                  <to variable="flowContents" part="document" query="/smartdocument"/>
                             </copy>
                        </assign>
                   </sequence>
              </scope>
              <switch name="DataglyphDetected">
                   <case condition="bpws:getVariableData('flowContents', 'document', '/smartdocument/glyphdetection/detected')='true'">
                        <sequence>
                             <scope name="Detected-ProcessAsForm">
                                  <sequence>
                                       <scope name="DetectSignature">
                                            <variables>
                                                 <variable name="signaturedetection" element="tns:signaturedetection"/>
                                                 <variable name="detectSignatureInput" messageType="ns3:SmartDocumentSignatureDetectRequest"/>
                                                 <variable name="detectSignatureOutput" messageType="ns3:SmartDocumentSignatureDetectResponse"/>
                                            </variables>
                                            <sequence>
                                                 <assign name="prepareRecord">
                                                      <copy>
                                                           <from expression="ora:getCurrentDateTime('yyyy-MM-dd hh:mm:ss z')">
                                                           </from>
                                                           <to variable="signaturedetection" query="/signaturedetection/execution/started"/>
                                                      </copy>
                                                      <copy>
                                                           <from variable="flowContents" part="document" query="/smartdocument/glyphdetection/output/smartdocumentid">
                                                           </from>
                                                           <to variable="signaturedetection" query="/signaturedetection/input/smartdocumentid"/>
                                                      </copy>
                                                      <copy>
                                                           <from variable="flowContents" part="document" query="/smartdocument/glyphdetection/output/documentid">
       

    Hi all,
    I modified the bpel so that it could compile by letting the designer add prefixes where it needed some. Then I deployed the process and tested it. Unfortunately ;-( See below the error log. It looks like the newly added prefixes are source of troubles ...
    Any ideas?
    --mike
    [2005/04/29 11:06:12] Error in <assign> expression: <to> value is empty at line "375". The XPath expression : "/tns:input/tns:userId" returns zero node, when applied to document shown below: Less
    <input xmlns="urn:SmartDocument" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <userId xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">mniemaz</userId>
    <password xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">mniemaz</password>
    <imageURL xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">http://pic-charvet.xrce.xeroxlabs.com:8080/smartdocument.demo/data/tiff/loanrequest1.tiff</imageURL>
    <emailRecipient xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">[email protected]</emailRecipient>
    <formOutput xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">file.pdf</formOutput>
    </input>
    [2005/04/29 11:06:12] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown. Less
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <part name="summary">empty variable/expression result. xpath variable/expression expression "/tns:input/tns:userId" is empty at line 375, when attempting reading/copying it. Please make sure the variable/expression result "/tns:input/tns:userId" is not empty.</part>
    </selectionFailure>

  • Error in deploying BPEL Process with Embedded Java code

    Hi all,
    I am trying to do a simple sample BPEL Process which invokes a Java class.i have placed the jar file in the classpath and the Process compiles and builds in the BPELDesigner,but when deployed it shows the below error in the BPEL console.The beauty here is it show a success message in the BPEL Designer after deployment.
    <2007-07-19 05:03:07,640> <INFO> <production.collaxa.cube.compiler> validating "C:\OraHome_1\integration\orabpel\domains\production\tmp\.bpel_Employee_1.0.jar\Employee.bpel" ...
    <2007-07-19 05:03:09,187> <ERROR> <production.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
    Process "Employee" (revision "1.0") compilation failed.
    <2007-07-19 05:03:09,187> <ERROR> <production.collaxa.cube.engine.deployment> <CubeProcessLoader::create> Failed to compile classes.
    Failed to compile the generated BPEL classes for "Employee".
    <2007-07-19 05:03:09,187> <ERROR> <production.collaxa.cube.engine.deployment> Process "Employee" (revision "1.0") load FAILED!!
    <2007-07-19 05:03:09,203> <ERROR> <production.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "domain manager": Error while loading process.
    The process domain encountered the following errors while loading the process "Employee" (revision "1.0"): Failed to compile classes.
    Failed to compile the generated BPEL classes for "Employee".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "Employee" (revision "1.0"): Failed to compile classes.
    Failed to compile the generated BPEL classes for "Employee".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:1269)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:882)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadArchive(CubeProcessHolder.java:824)
         at com.collaxa.cube.engine.CubeEngine.loadProcessArchive(CubeEngine.java:939)
         at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.loadProcessArchive(BPELDomainManagerBean.java:390)
         at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.loadProcessArchive(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2157)
         at com.collaxa.cube.engine.deployment.CubeProcessMonitorWork.run(CubeProcessMonitorWork.java:130)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
         at java.lang.Thread.run(Thread.java:534)
    <2007-07-19 05:03:09,234> <ERROR> <production.collaxa.cube.engine.deployment> <CubeProcessMonitorWork::run> Error while loading process archive C:\OraHome_1\integration\orabpel\domains\production\deploy\bpel_Employee_1.0.jar
    ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "Employee" (revision "1.0"): Failed to compile classes.
    Failed to compile the generated BPEL classes for "Employee".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:1269)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:882)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadArchive(CubeProcessHolder.java:824)
         at com.collaxa.cube.engine.CubeEngine.loadProcessArchive(CubeEngine.java:939)
         at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.loadProcessArchive(BPELDomainManagerBean.java:390)
         at IBPELDomainManagerBean_StatelessSessionBeanWrapper34.loadProcessArchive(IBPELDomainManagerBean_StatelessSessionBeanWrapper34.java:2157)
         at com.collaxa.cube.engine.deployment.CubeProcessMonitorWork.run(CubeProcessMonitorWork.java:130)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
         at java.lang.Thread.run(Thread.java:534)
    Your sugegstions are appreciated..
    Plzz help...
    Regards
    Subramanian

    Hi all..
    Thanks for ur response,but still my problem is not solved...
    Below is the BPEL file and the java class (which isinvoked from the process)
    BPEL FILE
    <!-- Employee -->
    <process name="BusinessTravelProcess" targetNamespace="http://packtpub.com/bpel/travel/" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:emp="http://packtpub.com/service/employee/" xmlns:bpelx="http://schemas.oracle.com/bpel/extension">
    <bpelx:exec import="org.w3c.dom.Element"/>
    <bpelx:exec import="com.packtpub.EmployeeStatus"/>
    <partnerLinks>
    <partnerLink name="employeeTravelStatus" partnerLinkType="emp:employeeLT" myRole="employeeTravelStatusService"/>
    </partnerLinks>
    <variables><!-- input for this process -->
    <variable name="EmployeeTravelStatusRequest" messageType="emp:EmployeeTravelStatusRequestMessage"/><!-- output from the Employee Travel Status web service -->
    <variable name="EmployeeTravelStatusResponse" messageType="emp:EmployeeTravelStatusResponseMessage"/>
    </variables>
    <sequence><!-- Receive the initial request for business travel from client -->
    <receive partnerLink="employeeTravelStatus" portType="emp:EmployeeTravelStatusPT" operation="EmployeeTravelStatus" variable="EmployeeTravelStatusRequest" createInstance="yes"/><!-- Prepare the output -->
    <assign>
    <copy>
    <from>
    <travelClass xmlns="http://packtpub.com/service/employee/">Economy
    </travelClass>
    </from>
    <to variable="EmployeeTravelStatusResponse" part="travelClass"/>
    </copy>
    </assign><!-- Invoke the EmployeeStatus Java class instead of web service -->
    <bpelx:exec name="Java_Embedding_1" language="Java" version="1.4"><![CDATA[
    EmployeeStatus e = new EmployeeStatus();
    String firstName = ((Element)getVariableData(
    "EmployeeTravelStatusRequest", "employee",
    "/employee/FirstName")).getNodeValue();
    String lastName = ((Element)getVariableData(
    "EmployeeTravelStatusRequest", "employee",
    "/employee/LastName")).getNodeValue();
    String empStatus = e.getTravelStatus(firstName, lastName);
    addAuditTrailEntry("Employee status is: " + empStatus);
    setVariableData("EmployeeTravelStatusResponse", "travelClass",
    "/travelClass", empStatus);]]>
    </bpelx:exec>
    <reply partnerLink="employeeTravelStatus" portType="emp:EmployeeTravelStatusPT" operation="EmployeeTravelStatus" variable="EmployeeTravelStatusResponse"/>
    </sequence>
    </process>
    Java File:
    package com.packtpub;
    public class EmployeeStatus {
    public String getTravelStatus (String firstName, String lastName) {
    return "Economy";
    }

  • Error while deploying BPEL code to the server in 11g

    Hi all,
    I am trying to deploy bpel process in 11g. I have followed the doc for migration from 10g to 11g http://download.oracle.com/docs/cd/E12839_01/upgrade.1111/e10127/upgrade_soa_apps.htm#CHDCHCEB .
    But still could not deploy successfully. It is compiling successfully but while deploying the code facing the below issue
    [07:06:28 AM] Error deploying archive sca_Invoice_B2B_rev1.0.jar to partition "default" on server soa_server1 [148.87.197.163:45713]
    [07:06:28 AM] HTTP error code returned [500]
    [07:06:28 AM] Error message from server:
    Error during deployment: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/Invoice_B2B}Invoice_B2B and port Invoice_B2B. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..
    [07:06:28 AM] Check server log for more details.
    [07:06:28 AM] Error deploying archive sca_Invoice_B2B_rev1.0.jar to partition "default" on server soa_server1 [148.87.197.163:45713]
    [07:06:28 AM] #### Deployment incomplete. ####
    [07:06:28 AM] Error deploying archive file:/E:/Shared/jDev11113/v11113.24D/Invoice_B2B/deploy/sca_Invoice_B2B_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Can anyone let me know whether i am missing anything? also can anyone let me know some of the steps that need to be looked upon while migration.
    Thanks in advance

    Hi all,
    This is the underlying error that i found in the logs
    "Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/top/DB_ERROR]
    Check the XML schema and make sure your query string is valid"
    2011-02-02T03:22:29.066-07:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Ir_tGToCom55zR0FyW1DIIY6000008,0:1] [APP: soa-infra] [dcid: 49c8ed318246db94:-5a93ef1d:12d7abb4670:-7ffd-00000000000252fb] <BPEL1Processor::generateProcessClass> Response_B2B.bpel(line 29): unresolved element[[
    XML element "{http://xmlns.oracle.com/pcbpel/adapter/aq/Invoice_RosettaNet-V02.00/}Header" of variable "Header_Var" is not defined
    Make sure the XML element "{http://xmlns.oracle.com/pcbpel/adapter/aq/Invoice_RosettaNet-V02.00/}Header" is defined in one of WSDLs that are referenced by the deployment descriptor
    [2011-02-02T03:22:29.067-07:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Ir_tGToCom55zR0FyW1DIIY6000008,0:1] [APP: soa-infra] [dcid: 49c8ed318246db94:-5a93ef1d:12d7abb4670:-7ffd-00000000000252fb] <BPEL1Processor::generateProcessClass> Response_B2B.bpel(line 234): unresolved part element[[
    part "Invoice" of variable "Receive_Response_InputVariable" is defined as XML element "{http://www.api.org/pidXML/v1.0}Invoice" whose definition cannot be resolved because "java.lang.IllegalArgumentException: null schema location for ns=http://www.api.org/pidXML/v1.0 [Cause=null schema location for ns=http://www.api.org/pidXML/v1.0]".
    Make sure the XML element "{http://www.api.org/pidXML/v1.0}Invoice" is defined in one of the XML schemas
    [2011-02-02T03:22:29.067-07:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Ir_tGToCom55zR0FyW1DIIY6000008,0:1] [APP: soa-infra] [dcid: 49c8ed318246db94:-5a93ef1d:12d7abb4670:-7ffd-00000000000252fb] <BPEL1Processor::generateProcessClass> Response_B2B.bpel(line 340): invalid query[[
    query "/ns10:XxexhBpelErrorLogCollection/ns10:XxexhBpelErrorLog/ns10:invoiceNumber" is invalid, because java.lang.IllegalArgumentException: null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/top/DB_ERROR [Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/top/DB_ERROR]
    Check the XML schema and make sure your query string is valid
    Can anyone let me know what could be the reason?
    Thanks in advance

  • Error on launching BPEL Console

    Hi,
    I have applied MLR 7 patch (Patch # 8372141 ) on my fmw environment.
    Before applying the patch:
    SOA Suite - 10.1.3.1 + 10.1.3.4
    OPatch 1.0.0.0.61
    MLR5 patch 7714967
    Before applying the patch it was working fine and no issues.
    After applying the patch, I could not login to BPEL Console URL, getting the below error message
    Oracle BPEL Process Manager Full Cycle
    An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
    Build Information:
    Oracle BPEL Server version 10.1.3.4.0
    Build: 0
    Build time: Fri May 01 18:07:27 PDT 2009
    Build type: release
    Source tag: PCBPEL_10.1.3.4.0MLR7_GENERIC_RELEASE
    Exception Message:
    javax.servlet.ServletException - com.collaxa.cube.ejb.impl.BPELProcessManagerBean.getDefaultRevision(com.oracle.bpel.client.BPELProcessId, com.oracle.bpel.client.auth.DomainAuth)
    I could not find a way to attach the log file and the log file content is too big to post it here.. (exceeds the maximum length)
    Could someone help me on this ?
    Thanks,
    Suresh

    Please post this on the BPEL forum.
    http://forums.oracle.com/forums/index.jspa?categoryID=84

  • Error while deployiong bpel process plz help

    i am geting an error while deployiong bpel process plz help
    BUILD FAILED
    E:\jdevstudio10132\jdev\mywork\Application4\vinayread\build.xml:79: A problem occured while connecting to server "chdsez116553d" using port "8888": bpel_vinayread_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "vinayread" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/D:/product/10.1.3.1/OracleAS_8/bpel/domains/default/tmp/.bpel_vinayread_1.0_679323b0585449e9fd1887e6ee2bf444.tmp/vinayred.wsdl", message part element "{http://TargetNamespace.com/vinayred}Root-Element" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 1 second
    plz give sme solutions

    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="vinayread"
    targetNamespace="http://xmlns.oracle.com/vinayread"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/vinayread"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and use them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://xmlns.oracle.com/vinayread" schemaLocation="vinayread.xsd" />
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="vinayreadRequestMessage">
              <part name="payload" element="client:vinayreadProcessRequest"/>
         </message>
         <message name="vinayreadResponseMessage">
              <part name="payload" element="client:vinayreadProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the vinayread BPEL process -->
         <portType name="vinayread">
              <operation name="process">
                   <input message="client:vinayreadRequestMessage" />
                   <output message="client:vinayreadResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="vinayread">
              <plnk:role name="vinayreadProvider">
                   <plnk:portType name="client:vinayread"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    how to check the
    which xsd contains
    "{http://TargetNamespace.com/vinayred}Root-Element"????
    how to check this plz tell me

  • Error Handling in BPEL & ESB - Rejection Handlers

    Hi guys
    I have been trying to evaluate various ways for handling errors/exceptions in BPEL and ESB in Oracle SOA Suite 10.1.3.4 (Basic installation).
    What i have found is that in ESB, errors can be handled at two levels: ESB routing service errors using ERROR_TOPIC and Adapter errors using RejectionHandlers. AND
    in BPEL errors can be handled using in built try/catch (calling error hospital from the catch) and adapter erros using RejectionHandlers.
    I tried using Rejection handlers (bpel, wsif, file) in BPEL and ESB. In BPEL they all are working fine when registered in bpel.xml.
    But in ESB only the file handler is working. What i did in ESB is:
    I set up an ESB which is polling a file adapter and simply putting the data into a table in database.
    Then i created a BPEL (or a Webservice) which is based on http://localhost:8888/orabpel/xmllib/jca/RejectionMessage.wsdl file, taking
    {http://xmlns.oracle.com/pcbpel/errorHandling}RejectedMessage as input.
    Then I registered Rejection Handler in ESB's file adapter's .esbsvc (or Enpoint property- rejectedMessageHandlers):
    "wsif://http//localhost8888/Error_Service/RejectionHandlerPort?wsdl|handleRejection|message"OR "bpel://default:welcome1|BPEL_Error_Handler|handleRejection|message"
    I generated error in ESB by changing a column name of the table
    For bpel rejection handler:
    i was getting error: "<ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Rejection handler failed
    Error while trying to hand off bad message to Rejection handler bpel://default|BPELProcess2|handleRejection|message due to: java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
    at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
    at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
    at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:196)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)"
    It was solved by adding in server.xml - <application-server ... global-jndi-lookup-enabled="true">. But now i am getting
    "Error while trying to hand off bad message to Rejection handler bpel://default:welcome1|BPEL_Error_Handler|handleRejection|message due to: java.lang.LinkageError: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome. Please address the underlying issue or correct/redeploy the process."
    *For wsif rejection handler*:
    getting error: "Error while trying to hand off bad message to Rejection handler wsif://http//localhost8888/Error_webservices/RejectionHandlerPort?WSDL|handleRejection|message due to: exception on JaxRpc invoke: serialization error: java.lang.IllegalArgumentException: getSerializer requires a Java type and/or an XML type
    Please address the underlying issue or correct/redeploy the process."
    I followed: Link:[http://www.oracle.com/technology/products/integration/adapters/pdf/Adapter_TN_004_Adapter_ErrorManagement.pdf]
    Same bpel/wsif handlers pointing to same BPEL/J2EE services, if configured for BPEL adapters, works absolutly fine and gives proble in ESB.
    Am i missing something in ESB or is there any patch need to be applied? Please help me there.
    Thanks in advance.
    Inder

    Hi
    I even installed SOA Suite 10.1.3.4 MLR#5 Advanced installation with Oracle Express dehyderation store.
    I was able to use WSIF rejection handler with this upgrade... but bpel rejection handler was still a failure.
    So basically i re-visited ESB documentation. it says that ESB will not support bpel rejection handler.
    At least not upto now.
    So Summary:
    For BPEL we can use - file, wsif, bpel & aq rejection and fatal message handler.
    For ESB we can use file, WSIF (10.1.3.4 with MLR#5) & aq rejection and fatal message handler.
    Thanks
    Inder
    Keep going...

  • Default AIA Error Message in BPEL Console

    Hi:
    I have created a simple BPEL process whose input in Oracle AIA FP (CreateItemEBM) structure and output is also (CreateItemResponseEBM) structure. I have done simple assignment in the process.
    Now when there is any error in the BPEL process , automatically the AIAErrorTask is instantiated.
    Is there a way to block this task from being instantiation ?
    Regards.
    Sourav

    yes this is possible. By default the AIA installation is using fault-policies. If a fault occures the fault policy is triggered and the AIAError processes are started. You could remove the default-fault policies or create a specific opne for your process.
    http://orasoa.blogspot.com/2008/03/bpel-fault-policies-best-practise.html
    http://www.oracle.com/technology/tech/soa/cab/OracleSOACabWebinar03-25-08SOAExceptions.pdf
    Marc

  • Error in BPELProcess1.bpel(137): !!BPELC_PA__OMIT!Choice Pattern incorrect

    Using Oracle 11g JDeveloper 11.1.1.5.0
    error: in BPELProcess1.bpel(137): !!BPELC_PA__OMIT! [0=java.lang.IllegalArgumentException: Choice Pattern incorrect,1=null,2={2},3={3},4={4},5={5}]
    Thanks in advance.

Maybe you are looking for

  • DISPLAY Blacks out sometimes

    Most of the time when I sit back down at the computer desk my display black out for a second. The light turns of, but it comes right back on. Someties it does it several times before it stops. I know thta there is alot of static in my apartment. Does

  • Oracle 11gR2 Installation on OEL 5.5 - glibc-devel-2.5 (i386) missing

    Hi, In the Process of installing Oracle 11gR2 on OEL 5.5, I get an error when running OUI GUI. At the Prerequisite Check screen, I get the following error: This is a prerequisite condition to test whether the package "glibc-devel-2.5" is available on

  • My ipod nano has 1.8g of other on it.

    Hello, my ipod has 1.8 gig of other on it can any one tell me what this is please.

  • Depressed Icon is not working for af:goImageLink

    Hi All, I am using JDeveloper 11.1.1.4.0 and trying to create a menu having some af:goImageLink components. I have given images in its Icon, hoverIcon and depressedIcon positions. Now everything is fine except depressedIcon. Actually my requirement i

  • Installation problems - Leopard installer doesn't recognise harddrive

    I've installed a new drive in my Macbook Pro and am facing some problems installing 10.5 Leopard. Specs of stuff are: Machine: Macbook Pro 2.4 15.4in (Late 2007) New drive: Western Digital Scorpio Blue 320Gb Old drive: Fujitsu 160Gb (original drive)