Namespace problem The result is empty for the XPath expression

I have a problem with BPEL namespaces. The webservice that my BPEL process is using has changed namespaces (i.e. the java code package names changed and therefore the namespaces associated with the packages.)
Before there was only one namespace associated with this web services; now there are multiple namespaces.
I have changed the namespaces in my .bpel file; however I get the result is empty for XPath expression:
/nsxml0:getMailResponse/nsxml0:getMailReturn/nsxml1:mailOut
Any help appreciated...:(

hey b-o-s-t-o-n,
have your verified that the namespace import is correct, and with the right prefix
you xpath contains 2 namespace prefixes
/nsxml0:getMailResponse/nsxml0:getMailReturn/nsxml1:mailOut
so check the bpel file and maybe the wsdl that has been generated (that inclused the plnk extensions for your external service)
this is the most common issue ..
hth clemens

Similar Messages

  • The result is empty for the XPath expression

    Hi friends
    Please, could anyone help-me with this issue? My BPEL process was working yesterday and stoped today...
    I think I´m facing a namespace problem.
    If I start my process using BPEL Console, filling the "HTML form" option, all works ok.
    If my process is started by a call from another bpel process, my XPath query gives me an error, but the 2 received messages are "almost" egual:
    Using BPEL Console:
    <RejectionMessage>
    <part name="message" >
    <RejectedMessage ns1:BatchId="" ns1:PrimaryKey="" ns1:RejectionId="invalid_msg_processName_token1_token2_token3" ns1:BatchInfo="" >
    <MessageHeader/>
    <MessagePayload/>
    <RejectionReason/>
    </RejectedMessage>
    </part>
    </RejectionMessage>
    Started by another BPEL Process:
    <RejectionMessage>
    <part name="message" >
    <RejectedMessage RejectionId="INVALID_MSG_BatchTest_Read_20060418_101233_0463" BatchId="" BatchInfo="" PrimaryKey="" >
    <MessageHeader/>
    <MessagePayload> AgICAgICAgICAgICAgICAgIE1aIEpBSVJPUyAg MDYwMzA4MTAwMQ0K </MessagePayload>
    <RejectionReason> ORABPEL-11008</RejectionReason>
    </RejectedMessage>
    </part>
    </RejectionMessage>
    XPath Query:
    bpws:getVariableData('RejectionMessage','message','/ns2:RejectedMessage/@ns2:RejectionId')
    In the first case, it works.
    In the second case, it raises a "The result is empty for the XPath expression" error.
    As you can see, this process is used as a "Rejection Handler" process: It implements the interface defined in RejectionMessage.wsdl
    Could you help me?
    Thanks in advance

    Hi All
    I find a workaround to the problem. I´m almost sure it is a bug in BPEL.
    As you can see on my previous post, the diferences between the two messages is that the attributes have qualified names on one message and unqualified names on the other: ns1:BatchId, ns1:PrimaryKey...
    The schema definition for this message (JCAErrorHandling.xsd) define that attribute names MUST be qualified (attributeFormDefault="qualified"). The problem is that the File Adapter sends the message with unqualified attribute names!!
    So I edited JCAErrorHandling.xsd (<ORACLE_HOME>\integration\orabpel\system\xmllib\jca) file, changing it to attributeFormDefault="unqualified".
    The correct solution is to fix File Adapter to send the message with qualified names, so I´m opening a Service Request at Oracle Metalink.
    Thanks.

  • Assigning JMS message in BPEL: The result is empty for the XPath expression

    Hi,
    My project, an Oracle BPEL 11g project, is reading an XML payload from a JMS queue. I would like to transform the message and assign the elements of the messages to other variables. But when I am doing that in the "assign" step, it raises an error: Error in evaluate <from> expression at line "63". The result is empty for the XPath expression : "/ns2:publishProject/payload/Message".
    Even though I can see the message payload in the Audit with all the values.
    To me it looks like a name space issue, but I could not find out how to correct it. Any hint will be a big help. Please let me know if you want to check the .xsd for the message.

    I publish a JMS message to a topic in one BPEL process and have another BPEL process read from the topic and start the flow. The problem I have is that the first process is writing fine to the topic, but the second process seems to be reading twice. I am seeing two instances of the second process in em.
    Can anyone help? I am using JDev 11.1.1.1.0
    Thanks

  • Error: The result is empty for XPath expression

    hi gurus
    Following is my input sample data to BPEL process.
    <ItemList>
    <Item>
    <Name>Music System</Name>
    <Id>525</Id>
    <Item>
    <Name>Fog Light</Name>
    <Id>325</Id>
    <Item>
    <Name>Tyres</Name>
    <Id>325</Id>
    <Item>
    <Name>Neon Light Ring</Name>
    <Id>325</Id>
    </Item>
    </Item>
    </Item>
    </Item>
    </ItemList>
    Here <ItemList> contains <Item>.
    And <Item> contains <Name>,<Id> & <Item> element itself.
    i have created proper XSD for this.
    But When i try to fetch any value then using Assign Activityits gives runtime following error.
    Error in evaluate from expression at line "36".The result is empty for the XPATH expression: /ns1:ItemList/ns1:Item/ns1:Name
    Any suggestion..?
    thanks
    /mishit

    Here is my XSD.
    <?xml version="1.0" encoding="windows-1252"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified" >
    <xsd:element name="ItemList" type="ItemListType"/>
    <xsd:element name="Total" type="TotalType"/>
    <xsd:complexType name="ItemListType">
    <xsd:sequence>
    <xsd:element name="Item" type="ItemType"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ItemType">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="Id" type="xsd:string"/>
    <xsd:element name="Item" type="ItemType"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="TotalType">
    <xsd:sequence>
    <xsd:element name="TotalPrice" type="xsd:double"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    /mishit

  • Result is empty error in XPath

    Hi,
    I am getting the following error coming from an "Assign" activity that copies from a child element of one variable (child of message type = M1) to another variable (which is of type element same as that of that child of M1).
    I am consistently getting the following error :
    "Error in evaluate <from> expression. The result is empty for the XPath expression .
    <<from element name>> "
    Does anyone know why ?
    Thanks

    That message usually occurs when you point to a non-existing child. When you're using child nodes, you'll have to make sure you're pointing to the right node, for example by using [position() = bpws.getVariableData('idx'), or using an XSLT with a 'for each'.
    Post the variable definition and the assign here, if  you need more input.
    Hth,
    Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I created a book on iPhoto. I click on the buy button, and I get a connecting message with a blue striped rectangle. I am connected to the internet and I have made books before without any problems. I have tried for the past two weeks at various times.

    I created a book on iPhoto. I click on the buy button, and I get a  message that says Connecting with a moving blue striped rectangle. I am connected to the internet and I have made books before without any problems. I have tried for the past two weeks at various times and I get this same message each time. Any ideas about what is going on? 

    First confirm that you can create a PDF file of your book as described in this Apple document: iPhoto '11: Preview a book, card, or calendar before you order or print it. Post back with the results.
    OT

  • E4200 v1- problem creating a shared folder for the FTP server.

    Hi, 
    I'm trying to share an external USB harddrive (4TB- HFS+) that is attached to my e4200 router.  I'm trying to set up the FTP server, but when I try to create a shared folder, I get kicked out of the browser based interface for the router just as I'm trying to save the new shared drive.  I have tried many different things to get it to work: different computers (PC and Mac) different browsers, reflashing the firmware (which is version 1.0.06, build 3), I tried all of this with an NTFS formatted drive as well-  everytime I try to set up the shared folder- right as I hit the save button it kicks me out saying: Session Failure.
    I can see my drive on the local network, and I know the FTP server is working, because I can log into it from the outside- but I don't see anything shared, when I do.
    I have successfully gotten the media server to work using the same drive- but I can't create shared folder there either...  It seems to have shared the entire disk automatically when I first connected the drive to the router.
    Anybody have anything else for me to try?  
    Help!

    Same problem. Has anyone found a solution? I contacted tech support and got nonsense responses. I was of course asked to Factory Reset even though I told them I had done it before I called - classic brush off. Basicly here is the problem. 
    1. I cannot create a share on a USB connected HDD - this worked on the older Firmware. Now every time I try to set up the shared folder- right as I hit the save button it kicks me out saying: Session Failure. I am not the only person with the problem. Crazy thing is I had a share created and it worked after the upgrade. I wanted to add an additional share and now it wont share anything. HDD plugged into my PC works great. I was asked to try a different PC - even though I told them I tried from IE, Chrome, Firefox on a Windows 7, Vista, windows XP, IPad, Kindle and Samsung phone.
    2. While troubleshooting with the agent I discovered that although I have remote access disabled in the Administration>Management page but I can still access the router remotely. This is a huge security issue.
    3. Linksys is no longer a Cisco Company - if the code is this bad Belkin should take the Cisco logo out of the GUI. Don’t blame Cisco for your poor SW.
    I am ready to buy a new router and avoid Linksys and Belkin all together in light of these issues.
    Additionally, I would simply downgrade but the older Firmware is not available. When I asked for it I was told I could not get it. 

  • There is an invalid number of result bindings returned for the ResultSetType

    SSIS SQL Task:  Single Row Result Set
    Code was updated to test for data in target:  If Exists Do Merge  ELSE Do Insert
    Previously was just a merge that Output $Action to @ChangeSum and then @ChangeSum queried for updates and inserts
    That all worked but after injecting new code I receive the error There is an invalid number of result bindings returned for the ResultSetType that I don't know what it means or how to troubleshoot.
    Inject New Code:
    IF OBJECT_ID('tempdb..##TblTemp', 'U') IS NOT NULL
    DROP TABLE ##TblTemp
    Declare @sql nvarchar(max);
    set @sql = @TestForData
    exec (@sql);
    IF EXISTS  (select top 1 * from ##TblTemp)
           Begin
    --Beginning of existing code
               begin transaction;
                begin try
                declare @MergeQuery varchar(max)
                set @MergeQuery = convert(varchar(max), @MergeQuery1) +  convert(varchar(max), @MergeQuery2)
                + ' ' + convert(varchar(max), @MergeQuery3)
                + ' ' + convert(varchar(max), @MergeQuery4)
                + ' ' + convert(varchar(max), @MergeQuery5);
                exec(@MergeQuery);
                end try
                begin catch
                    declare
                    @Message VARCHAR(4000)
                    ,@Severity INT
                    ,@State  INT;
                    select
                    @Message = ERROR_MESSAGE()
                    ,@Severity = ERROR_SEVERITY()
                    ,@State = ERROR_STATE();
                    if @@TRANCOUNT > 0
                    rollback transaction;
                    raiserror(@Message, @Severity, @State);
                end catch;
                if @@trancount > 0
                begin
                    commit transaction;
                end
    --End of existing code
          End
    else
           Begin
        declare @InsertQuery nvarchar(max)
        set @InsertQuery = convert(varchar(max),@InsertQuery1)
        exec (@InsertQuery);
          end
    Drop Table ##TblTemp
    =================================
    SSIS Variable @InsertQuery1:
    This variable is executed in SQL Task and the last 3 lines I expect a single row of Insert & Update counts to be returned.
       declare @ChangeSum table(change varchar(25));
       declare @Inserted int = 0;
       declare @Updated int = 0;
    While 1 = 1  
        Begin  
            INSERT INTO [R_Paid].[BusCodeF454x93]
            OUTPUT Inserted.Sta3n INTO @ChangeSum
            SELECT TOP 1000 s.*
            FROM [R_Stage].[BusCodeF454x93] s
            WHERE NOT EXISTS
              SELECT 1
                FROM [R_Paid].[BusCodeF454x93]
                WHERE STA3N=S.STA3N and [BusCodeF454x93IEN] = s.[BusCodeF454x93IEN]
           IF @@ROWCOUNT  = 0 BREAK       
    END
       set @Inserted = (select count(*) from @ChangeSum );
       set @Updated = 0;
     select @Inserted as Inserted, @Updated as Updated;

    "SELECT " + (DT_WSTR,50)@[User::TargetExists] + " = CASE WHEN COUNT(*) > 0 THEN 1 ELSE 0 END
    FROM " + (DT_WSTR, 100) @[User::DataDestinationTable]
    must do the trick
    The T-SQL merge allows both inserts and updates:
    MERGE Target AS T
    USING Source AS S
    ON (T.EmployeeID = S.EmployeeID)
    WHEN NOT MATCHED BY TARGET AND S.EmployeeName LIKE 'S%'
    THEN INSERT(EmployeeID, EmployeeName) VALUES(S.EmployeeID, S.EmployeeName)
    WHEN MATCHED
    THEN UPDATE SET T.EmployeeName = S.EmployeeName
    WHEN NOT MATCHED BY SOURCE AND T.EmployeeName LIKE 'S%'
    THEN DELETE
    OUTPUT $action, inserted.*, deleted.*;
    ROLLBACK TRAN;
    GO
    Arthur My Blog

  • I am having trouble with the initial connection. I have isolated the problem to the cable/ connection. My new hdmi cable has a resolution up to 1080p...does the resolution matter?is this the right hdmi cable for the apple tv?

    I am having trouble with the initial connection of the apple tv. I have isolated the problem to the cable/connection. My new hdmi cable has a resolution up to 1080p...does the resolution matter?is this the right hdmi cable for the apple tv?

    There are only two types of HDMI cables (standard and high speed - listen to all 1.2, 1.3 etc etc nonsense they will try to tell in the store) both types will work with the Apple TV.
    The cable may be faulty though, have you got another to try, what exactly is happening.

  • "The upload has failed. There was a problem running a virus scan for the file."  any ideas???

    "The upload has failed.
    There was a problem running a virus scan for the file. "
    This is the message i get when tryng to update
    any ideas?

    Error: "svr.VirusScanExecutionError"
    An intermittent problem with acrobat.com's underlying virus scan component causes this issue. This issue happens occasionally on a small number of server instances.
    The solution is to update the article again. Trying again typically routes you to a different host in the server array.

  • Hi...I have this problem, everytime I want to print something out the mac asks me for the computer password...that is really becoming annoying after. That happened since I upgraded to mountain lion. How can I stop the computer from asking me that?

    Hi...I have this problem, everytime I want to print something out the mac asks me for the computer password...that is really becoming annoying after. That happened since I upgraded to mountain lion. How can I stop the computer from asking me that?

    If you are printing via a Windows shared printer and it is the Windows user account that you are being prompted for then you can save this in the Keychain, as shown below.

  • When starting imovie I get an error missing quicktime components. To solve the problem I have upgraded to latest version but it didn't help. I want to either solve this problem or get a refund for the useless upgrade.

    when starting imovie I get an error missing quicktime components. To solve the problem I have upgraded to latest version but it didn't help. I want to either solve this problem or get a refund for the useless upgrade.

    Mac OS X 10.6 includes QuickTime versions 10.0 and 7.6.3. The QuickTime 7 player will only be present if a QuickTime Pro key was present at the time of installation, or if specified as part of a custom install, or individually downloaded:
    http://support.apple.com/kb/dl923
    Snow Leopard update 10.6.4 included an update to 7.6.6 (if installed). You can install it from the above link  even though it says for 10.6.3. It's the same version of QuickTime Player 7.6.6.
    (Only QuickTime Player 7.6.3 or 7.6.6 can be updated to "Pro".)
    iMovie does not, AFAIK, use QT 10.

  • Getting the result ALV ready for input to be able to maintain the result

    Hi guys,
    i did follow and implement this program to mass maintain variables in a broadcasting setting and save the new values back.
    The program allows maintenance of infoobjects or variables via the selection screen. What i want to have is just to select a or many broadcast settings. After executed i can see all infoobjects, variable names and variable values in an ALV. The values for the variables used in the broadcast settings all begin with var_value then the value of that variable.This is the value i want to change therefore i need to have all fields after var_value input ready and maintainable there.
    How can i get these field editible?
    The thing is that the ALV result looks like
    Var_name_1 name of variable 1
    Var_name_2 name of variable 2
    Var_name_3 name of variable 3
    ... so on till all variable names are listed in rows
    Then further below the all the variables get their value.
    Var_value_1 value for the variable_1
    Var_value_2 value for the variable_2
    Var_value_3 value for the variable_3
    ... so on till all variables have their value.
    All these rows are not editable as a result of ALV. I want the Var_names be not editable as it is now but i want the Var_value fields be editable so we can change them in the ALV result and save them back.
    How can i do this approach?
    Any help, idea, hints appreciated.
    Thanks and kind regards,

    This issue is solved.

  • Epson software install problem: The software for this printer is currently unavailable. Please contact the printer's manufacturer for the latest software." But i have downloaded from Epson and Apple!!!

    I am trying to install a printer Epson xp-605 but when i try to add it, Apple says it can't find the software. I have downloaded the software from Apple website and also from the Epson installation disc!  The message is: "The software for this printer is currently unavailable. Please contact the printer’s manufacturer for the latest software."

    Try a reset of the printing system. This often resolves the symptom you are experiencing.

  • I am trying to connect a PC wirelessly to my Mac OS X. The PC finds the Mac but asks for the WEP number. Where do I find this number?

    I am trying to connect a PC wirelessly to my Mac OS X. The PC finds the Mac but asks for the WEP number. Where do I find this number?

    Then use multipel 99 picture slideshows. 
    You can have up to 8 or 9 slideshows per menu.  If you add a sub menu reduce that by 1 and add 8 more to the sub menu.  The top menu can have links to up to 8 or so submenus (depends on the theme) and each submenu can have up to 8 or so slideshows. 
    However, converting a very large slideshow to a QT movie as Terence suggested does not envoke the 99 slide limit in iDVD.  It just becomes a single video/movie file.  So you should not have a problem with exporting at the large size, 720 x 540,
    and dragging the resulting file into the iDVD menu being sure to avoid any drop zones.
    OT

Maybe you are looking for

  • New WRT54G wireless router. Who's the genius that can help me?

    I just purchased a WRT54G wireless router. The main reason is my son wanted to be able to use his Sony PSP online. I also have two desktop computers that will be wired thru this router. My question's are. If he is using his PSP online and the desktop

  • Report with cumulative balance

    Hi! There is a FI report for vendor ledger based on multiple profit center where a column is there for cumulative balance in the output. Now when the user makes a subtotal on profit center the output generates based on multiple profit center but in t

  • Link between Fixed Asset and Purchase Order Tables

    Hi, I am working in Fixed Asset Report. I have a folllowing Doubts.Please clarify. 1. How to link the Fixed asset tables with PO_HEADERS_ALL 2. I took the Asset_Account field from FA_ASSET_DISTRIBUTIONS_V . But how to link with this table to other Fi

  • Oem 12c metric threshold

    All, I have a question is it feasible at all to set up the warning and alert thresholds for the disk %busy to be 100% for a period of 3 hours for all servers as a default. After this time notificaction should be sent. Thanks, Marcin

  • How to grant accountB view only permission to all objects owner by accountA

    Hello, I would like to accountB have view only access to AccountA's objects, tables, views, procedure names and code, functions name and code, etc. I do NOT want the accountB create any new object or execute any object belongs to accountA. How do I d