Assigning multiple nodes problem

Hi everyone. I am new to the Oracle SOA Suite and I am using release 11g. Here is what I am trying to accomplish -
I have an element of with multiple nodes (carTypes) and within that I have the car's color, year, and make. I loop through the array and try to assign only cars within a year range so that the response will show all the nodes of those years. But, the only carType node within in year range that shows in the response is the last node in the range.
For example, I have have 3 car years that are within range so the response should show -
<car-root>
<carType>
<name>Ram</name>
<color>Red</color>
<year>2000</year>
<make>Dodge</make>
</carType>
<carType>
<name>Carrola</name>
<color>Black</color>
<year>2001</year>
<make>Toyota</make>
</carType>
<carType>
<name>Malibu</name>
<color>Blue</color>
<year>2002</year>
<make>Chevy</make>
</carType>
</car-root>
But...
It only shows the last one -
<carType>
<name>Malibu</name>
<color>Blue</color>
<year>2002</year>
<make>Chevy</make>
</carType>
</car-root>
Looking at the trace It looks like it is just overwriting the node instead of making multiple nodes.
How do I have it create multiple nodes so that I can get the response showing all cars within range?
Thanks for taking a look.
Edited by: 984188 on Jan 25, 2013 3:00 PM

I am beleiving that your requirement is
1) To reply back with all the CarTypes that are in a given range, then reply back with the list
2) Otherwise reply back with the a fault that contains all the CarTypes that are not in the given range.
If that is the case:
Then to implement "part (1)" you already have solution. For "part (2)" create another vairable 'tempVariable' and collect all the CarTypes again, simillary to what you did for the step 1, using For Each an If , however, this time the condition for the if will be the opposite of previous one.
Finally, before replying, check the contents of the 'tempVariable', if it not empty reply with fault otherwise give the proper reply.
P.S.:While loop in BPEL is costly, use the costructs like while, if they are mandatory and not avoidable (Don't use them as you would use in OO/procedural languages)
Mark the posting appropriately, as "Helpful", "Correct Answer", if your issue is resolved.

Similar Messages

  • Unable to assign multiple nodes

    Hi
    I am trying human task over here. My case-study scenario is like this:
    I am a clerk. I've the job of passing on the files to my supervisor. I've number of files with number of details which I am maintaining as array of valueobjects. Now I'll pass onto these array of VO's to my supervisor. So that he can click on one of the ids and get the specific details to the item clicked. I am introducing a human task after invoking my process from where I am getting an array of VO's. Now I need to assign these array to Human Task. I tried to assign but it gives me the following error in the BPEL Console.
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <part name="summary">
    <summary>XPath query string returns multiple nodes.
    According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query /ns1:retrieveSupervisorWorkOrderStatus1Response/return should not return multipe nodes.
    Please check the BPEL source at line number "150" and verify the part and xpath query /ns1:retrieveSupervisorWorkOrderStatus1Response/return.
    </summary>
    </part>
    </selectionFailure>
    The id which supervisor clicks to get the details, I want that Id to be my response from the Human task.
    Can anyone tell me as to how to go for it? How to assign the multiple nodes in the Human Task and How to get back the response?
    Thanks & Regards

    Hmm weird.
    Only thing i could think of is that the transformation is getting executed before the assign.
    After the transformation the field task:taskDefinitionURI isnt there anymore...in the initiateTask i mean.
    Still dont think your transformation is correct. You only map a few fields, so after this, the initiateTask will only contain something like :
    <task:task>
    <task:systemMessageAttributes>
    <task:textAttribute1>
    <xsl:value-of select="workorderId"/>
    </task:textAttribute1>
    </task:systemMessageAttributes>
    <task:systemMessageAttributes>
    <task:textAttribute1>
    <xsl:value-of select="workorderId"/>
    </task:textAttribute1>
    </task:systemMessageAttributes>
    <task:systemMessageAttributes>
    <task:textAttribute1>
    <xsl:value-of select="workorderId"/>
    </task:textAttribute1>
    </task:systemMessageAttributes>
    </task:task>
    This isn't a valid definition of the task-variable.
        <element name="task">
          <complexType>
            <sequence>
              <element name="title" type="xsd:string" minOccurs="0"/>
              <element name="payload" type="xsd:anyType" minOccurs="1" maxOccurs="1"/>
              <element name="taskDefinitionURI" type="xsd:string" minOccurs="0"/>
              <element name="creator" type="xsd:string" minOccurs="0"/>
              <element name="ownerUser" type="xsd:string" minOccurs="0"/>
              <element name="ownerGroup" type="xsd:string" minOccurs="0"/>
              <element name="priority" type="tns:priorityType" minOccurs="0"/>
              <element name="identityContext" type="xsd:string" minOccurs="0"/>
              <element name="userComment" type="tns:commentType" minOccurs="0" maxOccurs="unbounded"/>
              <element name="attachment" type="tns:attachmentType" minOccurs="0" maxOccurs="unbounded"/>
              <element name="processInfo" type="tns:processType" minOccurs="0"/>
              <element name="systemAttributes" type="tns:systemAttributesType" minOccurs="0"/>
              <element name="systemMessageAttributes" type="tns:systemMessageAttributesType" minOccurs="0"/>
              <element name="titleResourceKey" type="xsd:string" minOccurs="0"/>
              <element name="callback" type="tns:callbackType" minOccurs="0"/>
              <element name="identificationKey" type="xsd:string" minOccurs="0"/>
            </sequence>
          </complexType>
        </element>so only 1 element of systemMessageAttributes allowed.
    the same for the content in the systemMessageAttributes element.
    <element name="textAttribute1" type="xsd:string" minOccurs="0"/>only one element of textAttribute1 allowed.
    so guess you still need to fix your transformation.

  • JTree multiple nodes selection problem !

    I can not make my JTree to be in multiple node selection mode.
    I have custom tree model and tree node class, the tree model class
    implements javax.swing.tree.TreeModel, and the tree node is an ordinary
    Java object.
    In this setting, my JTree is always in single selection mode.
    I have tried set the selection model after the JTree has initialized, and
    it didn't work.
    What I missed in TreeModel implementation ? Or should my tree node class
    also implements javax.swing.tree.TreeNode ?
    Don't tell me just call
    xxtree.getSelectionModel().setSelectionMode(javax.swing.tree.TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
    It didn't work.

    Just in case anyone wants to know, I did find the magic number of files, and what the problem is. I talked with tech suppot at Adobe, and they know the problem exists, but won't fix it. I did put in a request in the "Request a Feature" form. Read on:
    The magic number is 40 Canon 1Ds Mark III Raw files, and clicking on three or more keywords. The key to not having the numbers of keywords counted incorrectly in the filter pane is to click on the keywords as fast as you can before it starts to write to the metadata. If you click on each keyword one at a time, and wait about a second or more between selecting the keywords, then the counts in the filter panel for the number of keywords is not correct in relation to the number of files that you have chosen to apply keywords to. The cure for this is to click as many keywords as possible as fast as you can before the software starts incorporating the keywords into the metadata.
    I would suggest to Adobe, that a nice feature would be that one could click on as many keywords as one would want, to as many files one would want, and then have a button or icon that would enable one to then apply all the keywords at once, instead of applying them as you click them as it is now. I also would love it if Adobe fixed it now instead of waiting to fix it in the version of CS5. Someone on Adobe's support line told me that Adobe would rather wait to put this into the CS5 version than fix it now. I don't think that is right, but heck, I am only one guy who depends on this software to provide images keyworded to my clients in a timely manner. I would never run my business like this Adobe. If there is a problem, and there is, please fix it now, or give me some of my money back since your product has a design flaw that is having a negative impact in my ability to to my job and run my business.
    Thanks!
    Daniel Root
    Portland, OR

  • Problem about financial reporting studio(assign multiple db connection)

    Hi,
    I need to assign multiple database connections to a grid in Oracle Hyperion Financial Reporting Studio
    To do this, I performed the following steps:
    - Open a report.
    - In a grid, select one column for which I want to change the database connection.
    - In the Column Properties sheet, click the Select Database Connection button, .
    - In the Select a Database Connection dialog box, select a database connection from the Database Connection drop-down list, then Click OK.
    - In the Map Dimensions Between... dialog box, map dimensions between the default database connection and the selected database connection. I do this by selecting a dimension from the pull-down list in the right column for each dimension in the left column.
    - Optional: Select an alias table for the new database connection.
    - Click OK.
    But after last step I have received next error:
    *; nested exception is:*
    java.lang.NullPointerException
    Can someone explain the source of this error?
    And help me please solve this problem because I didn’t receive figures in that column where I changed database connection.
    Thank you in advance!

    I'm sure that both DB connections has the same dimension hierarchy. I can open the repot, but in it I don't see figures in that column where I've changed database connection...

  • Problem while assigning multiple staffing to project role.

    Dear All,
    I am facing problem while assigning multiple staffing to project role.
    In the project role, we are doing staffing ( assigning BP). While assigning the BP's getting below errors.
    Resource assignments overlap
    Message no. DPR_BUPA_LINK004
    Diagnosis
    The validity period '10.02.2008'-'01.03.2008' for the assignment of project role Product Manager and ' Rakesh Pradhan' overlaps with the validity period of the assignment ''.
    However, the project role type does not allow several staffings to be edited at the same time in the project role.
    System Response
    The system does not allow this constellation of data when saving.
    Procedure
    Check and correct the start and finish dates of the staffings affected.
    Request you to advise in fiixng the issue.
    Thank you for your cooperation.
    Regards,
    Ranjan

    Hi Biplab,
    For multiple staffings in the same time frame, check the option of 'Edit in Parallel' in the Role Type settings in SPRO.
    Let me know if that helps.
    Regards,
    Vivek Pandey

  • Random Selection Failure - to-spec at line is evaluated to multiple nodes

    Hi,
    Has anybody come across a situation were an assign activity fails with an
    "Exception is thrown because the to-spec at line 113 is evaluated to multiple nodes"
    The problem is that an element in a variable appears more than once although it is restricted to maxOccurs="1".
    e.g
    <variable>
    <outputVariable>
    <part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Output xmlns="http://xmlns.oracle.com/MyApp/MySchema">
    <result/>
    <result/>
    </Output>
    </part>
    </outputVariable>
    </variable>
    The result element has a maxOccurs="1" in the xsd and the operation in the assign activity is a copy not an append!
    The problem is not consistent and happens randomly with the same set of data.

    Hi I understand the workaround here (adding [1] to the to-spec expression) - but what about the extra empty nodes, when we move to the next step in our process will those empty nodes still exist - since our XSD sets that node to maxOcurrs="1" this would cause issues down stream if these empty nodes are carried forward - we are thinking of putting in a XSLT to remove them, but wanted to see if anyone has input on if they will be carried forward - since this is a random issue ware not able to reproduce it in our dev/test environment, it seems to only happen in our Production environment.

  • Human Workflow Task XPath query string returns multiple nodes.

    I am looking for trouble shooting help for this error. I am no sure if it is a server or jdev issue.
    I am running JDev version 10.1.3.3 and console version 10.1.3.1.0 locally.
    General information on the BPEL process:
    I have a temporary table in Oracle lite that I created items to be review by the user. I created a synchronous BPEL process. The first step in developing this process, I created the straight forward invoke the table to get the records, transform the records with a change the approve flag = "Y", and invoke the table to update the records. Works like a charm. I followed the online tutorial by dropping a human task after the transform, configured the parameters, setup the assignments, and moved the invoke to update table under the approved condition. If the table has only one record, the process runs great but if there are two records I get the following error message.
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>XPath query string returns multiple nodes.
    According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query /ns3:TempItemCollection/ns3:TempItem/ns3:ItemNbr should not return multipe nodes.
    Please check the BPEL source at line number "178" and verify the part and xpath query /ns3:TempItemCollection/ns3:TempItem/ns3:ItemNbr.
    </summary>
    </part></selectionFailure>
    =================
    The error occurs in the first assign of the Human task after the assign copies the fields for the title. I underlined line number 178.
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="HumanTask1_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/HumanTask1/HumanTask1.task'))"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <Case xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <CourtDate xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ErrorMessage xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ItemName xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <Payment xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <Zip xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ProcessFlag xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <LastUpdated xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <AddedDate xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <CityAttnyAmount xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ApprovalFlag xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ProlawKey xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    <ProcessKey xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </payload>
    </from>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    <copy>
    <from expression="concat(string('Item Fee Approval '), bpws:getVariableData('Invoke_1_Select_RecordsSelect_OutputVariable','TempItemCollection','/ns3:TempItemCollection/ns3:TempItem/ns3:ItemName'))"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:title"/>
    </copy>
    <copy>
    <from variable="Invoke_1_Select_RecordsSelect_OutputVariable"
    part="TempItemCollection"
    query="/ns3:TempItemCollection/ns3:TempItem/ns3:ItemNbr"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:payload/task:Item"/>
    </copy>
    <copy>
    Thank you for any help you can give me.

    Here is how I solved this problem: I was told by the metalink folks that I should use the same verion of SOA console as jdev. So I went back to jdev 10.1.3.1. Rather than reading from the Oracle lite table, I dumped the table into a flat file. I read flat file and populated the workflow. Remember to set the 'messages in batch' flag in the file adapter to 1 and the number of records to skip to zero in the format builder for the flat file. The process now reads each record and creates an instance for that each record. In other words, if I have 8 records in my flat file, I will have 8 instances of the process running on the console. Thanks Jeremy for your help figuring this out.
    Edited by: user7725126 on Nov 19, 2009 3:56 PM

  • BizTalk Mapper - Looping multiple nodes to map to a single node in a single row (flat file)

    Hi everybody,
    I'm still new in developing BizTalk app and require some help in this one problem. Appreciate your time and input to help me on this.
    Basically I have an XML document as input and a flat file as output. Example for input is as per below. The "Contact" node's maxOccurs here is set to unbounded and could be multiple. (phone, fax, website, telex ...)
    <root>
    <CustomerName>Company A</CustomerName>
    <Contact>
    <Type>Phone</Type>
    <Locator>03566789</Locator>
    <Type>Phone</Type>
    <Locator>03566790</Locator>
    <Type>Fax</Type>
    <Locator>03566795</Locator>
    <Type>Telex</Type>
    <Locator>03566798</Locator>
    <Type>Website</Type>
    <Locator>www.companyA.com</Locator>
    </Contact>
    </root>
    The expected output in XML would look like below. The final outcome would be a csv file. Strictly Phone 1, phone 2, fax and telex, the rest would be ignored.
    <root>
    <CustomerName>Company A</CustomerName>
    <Phone1>03566789</Phone1>
    <Phone2>03566790</Phone2>
    <Fax>03566795</Fax>
    <Telex>03566798</Telex>
    </root>
    Example of expected output result (csv file): CompanyName;Phone1;Phone2;Fax;Telex;
    In our case here: Company A;03566789;03566790;03566795;03566798;
    Another example could be: Company B;036778911;;036778912;; if only 1 phone number and 1 fax number provided.
    I've used Table Looping and Table Extractor and nearly got the desired result except that it is represented in multiple rows instead of one: Example:
    Company A;03566789;;;
    Company A;;03566790;;;
    Company A;;;03566795;;
    Company A;;;;03566798;
    Any idea how to do the mapping? I'm kind of stuck here and it sounds like an easy problem but i could not find any example to the solution that I need here. Table looping and table extractor is ok to map from single node flat file to multiple nodes but not
    the reverse like in this example.
    rgds,
    sportivo

    Hi,
    Please refer to below links where similar issue has been answered.
    http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/ecdff241-6795-4a95-bad7-48fca4410dfb
    http://www.epinaki.com/2011/05/other-options-to-using-biztalk-table-looping-functoid-par-i/
    I hope this helps you.
    Thanks With Regards,
    Shailesh Kawade
    MCTS BizTalk Server
    Please Mark This As Answer If This Helps You.
    http://shaileshbiztalk.blogspot.com/

  • Deploying EJBs on multiple nodes

    Hi,
    Our Application works when we deploy it on a single node. But the moment we deploy
    it with multiple nodes,we are getting a exception:
    java.lang.NoClassDefFoundError: javax/xml/bind/UnmarshalException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    Our deployment looks correct for me.
    We have specified each node in the target like:
    <EJBComponent Name="ecommerce" Targets="monode3,monode2,monode1,monode4,monode5,monode6"
    URI="ecommerce.jar"/>
    Any clues from anyone?
    Thanks,
    Jeeva

    You didn't give the full stack trace. No thread starts executing at
    Class.forName ;-)
    What's happening is that you are dealing with XML, probably in your
    clustered EJBs or in your HTTP session, and so it's getting replicated. The
    XML pops out onto the other end of the wire, the code loaded from the system
    classpath tries to deserialize it, but can't find your application classes.
    That's a common problem with object transfer protocols.
    Do you know where you are using javax/xml?
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Jeeva" <[email protected]> wrote in message
    news:3c3a8401$[email protected]..
    >
    Hi,
    Our Application works when we deploy it on a single node. But the momentwe deploy
    it with multiple nodes,we are getting a exception:
    java.lang.NoClassDefFoundError: javax/xml/bind/UnmarshalException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    Our deployment looks correct for me.
    We have specified each node in the target like:
    <EJBComponent Name="ecommerce"Targets="monode3,monode2,monode1,monode4,monode5,monode6"
    URI="ecommerce.jar"/>
    Any clues from anyone?
    Thanks,
    Jeeva

  • Assign Multiple Sales Org for One Plant in STO process

    Hi Experts,
    Aware that I can assign multiple sales org to 1 plant (relationship: many to many).
    I am trying to create STOs to supplying plant and assigning them to different sales organization but encountered problem.
    Example:
    Supplying Plant 1000 - Sales Org 1000A (food) and 1000B (apparel)
    Receiving Plant 1100
    Plant 1100 wants to issue 2 STOs to Plant 1000 - 1 for each Sales Org (for instance STO1 to food division, and STO2 for apparel division).
    However, when I tried creating STO in the system, noticed that in the shipping tab (item details) the sales org, DC has been assigned to 1 particular assignment and data is locked.
    Tried to get into SPRO to configure and define the shipping data for plants but noticed that it's 1 to 1 relationship (SPRO - IMG - MM - PO - Set up Stock Transport Order - Define Shipping Data).
    How can this be done?

    You can set different sales areas (~sales organisation) for one plant in SAP - based on issuing SLoc provided STO between storage locations is activated.
    SPRO > Materials Management > Purchasing > Purchase Order > Set up Stock Transport Order > Set Up Stock Transfer Between Storage Locations > Define Shipping Data for Stock Transfers Between Storage Locations
    Edited by: Csaba Szommer on Jul 2, 2011 6:14 PM

  • Multiple nodes

    Hello,
    Is it possible to have multiple portal instances and working with them throug one 9iAS installation ?
    Example:
    1) machine_A - ora9iAS installed, DB9i installed, PORTAL_A repository is installed into DB9i (ALL IN ONE)
    2) then I'd like to have another portal, so I run OracleASportal30 conf. assistant and create SECOND portal in remote DB on machine_B.
    How shoul I call the second portal, if machine_B is only DB server ? is it possible to configure Apache, to work with both instances ? Is it wrong, that second PORTAL is on machine without 9iAS installed ?
    Thank you for your help - I'm little mixed up.
    Ales Hrncarek

    This is in response to a question about configuring Portal across multiple nodes. But I also throw it out as a question myself.
    The architecture I am setting up at my site also involves multiple nodes. I hope that someone will comment on my architecture because I don't see anything like this in Oracle documentation (and am afraid I'm forgetting something).
    My only installation of Portal is on a dedicated host DB located on the app server machine (Solaris) where I have the rest of 9iAS installed. All the applications I render as portlets are implemented as JSPs that also reside on that mid-tier server.
    Users to my Portal pages have to choose one of several databases to use as data sources for those portlets/JSPs. All of these Oracle databases are located on servers other than the app server. What happens is that the JSPs perform a logon to the desired data source, grab (or manipulate) the data needed, and then logoff from the data source. The output from that JSP is still rendered onto the Portal page in the Portal host database and served back to client browser via Apache as normal.
    There were several reasons why we didn't use Portal-wizard-generated Applications for our portlets.
    1. We didn't feel them robust enough for our purposes.
    2. We didn't know how to deal with the multiple data-source problem with regular Portal Applications. Only way I saw were to use a huge number of database links because there was no way I could install (and keep synchronized) a Portal implementation in each of those databases.
    The setup I describe seems to work but I am interested in hearing from Oracle (or other DBA-types) what I should look out for. Also, if Oracle does describe a suggested architecture to handle multiple data sources from a central Portal host then I'd really like to see it.

  • Error: XPath query string returns multiple nodes

    Hi all,
    I am facing issue with the assign activity.
    Error message:
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} parts: {{ summary=&lt;summary>*XPath query string returns multiple nodes. The assign activity part and query are returning multiple nodes. The assign activity part and query named in the error message returned multiple nodes. It should return single node. According to BPEL4WS specification 1.1 section 14.3, the assign activity part and query named in the error message should not return multiple nodes. Verify the part and xpath query named in the error message at line number 2005 in the BPEL source*.
    BPEL code:
    <copy>
    <from variable="Invoice_Tax_loopCounter"/>
    <to variable="Var_Invoice_Tax_Contacts" part="payload" query="/ns30:Invoice_Tax_Contacts/ns30:Invoice/ns29:Get_InvoiceOutput[bpws:getVariableData'Invoice_Tax_loopCounter')]/ns29:ADDR_ATTRIBUTE2"/>
    </copy>
    We are using SOA 11.1.1.3 version.
    Any pointers on this?
    Thanks in advance

    Hi-
    This is because you are have multiple nodes either in source or target XML.
    My guess is some nodes of your XML might be repeating (means a single element/node has multiple values). Can you please check that or please post your XML here.
    Edited by: 145678 on Mar 7, 2011 6:28 PM

  • Updating multiple node in a single query

    Hi
    Shall I update multiple nodes (which satisfies the given condition) in a single query? From the prototype we suspect that all nodes in all document are not updated in the container.
    Version: BDB XML 2.4 - Fedora core 4 Linux - C++ language
    Query:
    replace value of node collection()/File[@Id="57565C01327A"]//Entry[@Class="Measurement" and @Id="0"]/Attribute[@Name="apDlBhUtil"]/@Value with 8'
    Result:
    XmlException occurred with msg 'Error: Sequence does not match type node() - the sequence contains more than one item [err:XUTY0008], <query>:1:1'
    We have tried running the query in both Lazy and Eager evaluation type. Please clarify that the issue is with the query/execution type or BDB XML doesn't support this feature?
    Thanks
    Santhosh

    Santhosh,
    Try:
    for $i in collection()/File[@Id="57565C01327A"]//Entry[@Class="Measurement" and @Id="0"]/Attribute[@Name="apDlBhUtil"]/@Value return replace value of node $i with 8'The problem with your original is that the argument for "replace value of" needs to be a single item, not a sequence.
    Regards,
    George

  • 802.11 RTS/CTS and hidden node problem

    Guys,
    A little confused here.
    The hidden node problem is if two nodes within a cell can hear the AP but not each other. OK.
    But, when we talk about 802.11b and 802.11g backwards compatibility causing reduced throughtput in terms of bandwidth, it seems that this is always blamed on 802.11g stations having to use RTS/CTS.
    But,
    Even in an 802.11g only cell, dont stations still have to use RTS/CTS mechanisms for the hidden node problem?
    I'm confused.com!
    Thx
    Ken

    When 802.11b clients are associated to an 802.11g access point, the access point will turn on a protection mechanism called Request to Send/Clear to Send (RTS/CTS). Originally a mechanism for addressing the "hidden node problem" , RTS/CTS adds a degree of determinism to the otherwise multiple access network. When RTS/CTS is invoked, clients must first request access to the medium from the access point with an RTS message. Until the access point replies to the client with a CTS message, the client will refrain from accessing the medium and transmitting its data packets. When received by clients other than the one that sent the original RTS, the CTS command is interpreted as a "do not send" command, causing them to refrain from accessing the medium. One can see that this mechanism will preclude 802.11b clients from transmitting simultaneously with an 802.11g client, thereby avoiding collisions that decrease throughput due to retries. One can see that this additional RTS/CTS process adds a significant amount of protocol overhead that also results in a decrease in network throughput.
    In addition to RTS/CTS, the 802.11g standard adds one other significant requirement to allow for 802.11b compatibility. In the event that a collision occurs due to simultaneous transmissions (the likelihood of which is greatly reduced due to RTS/CTS), client devices "back off" the network for a random period of time before attempting to access the medium again. The client arrives at this random period of time by selecting from a number of slots, each of which has a fixed duration. For 802.11b, there are 31 slots, each of which are 20 microseconds long. For 802.11a, there are 15 slots, each of which are nine microseconds long. 802.11a generally provides shorter backoff times than does 802.11b, which provides for better performance than 802.11a, particularly as the number of clients in a cell increases. When operating in mixed mode (operating with 802.11b clients associated) the 802.11g network will adopt 802.11b backoff times. When operating without 802.11b clients associated, the 802.11g network will adopt the higher-performance 802.11a backoff times.

  • Assign multiple internal material to one MPN

    Hello.
    I have a requirement to assign multiple internal inventory managed materials to one manufacture part number.
    But when I create an HERS material it allows to assign to only one .
    Can you suggest a solution , a workaround , to solve this problem.
    Thanks,

    As of configurator 1.7.1 this still seems un-possible.  Contacted Apple enterprise phone support about this and they verified that at this time only one device can be assigned to a user.  A suggested workaround was to label the user with a device specific tag (IE "$USERNAME [iPad]" "$USERNAME [iPhone]") but obviously this leads to some other complications.  I asked the phone representative to please submit feedback concerning use cases where users need to have more than one device assigned.  Hopefully this can be addressed.  If other people have this question I would suggest submitting feedback at apple.com/feedback (no there isn't an option for configurator but I submitted my feedback under OS X).
    The squeaky wheel gets the grease.  Hopefully we will be heard.

Maybe you are looking for

  • How to set data in rtf document?

    Hi friends, I have a rtf document can anyone suggest how to set data in cells of an rtf document?Is there any way? Thanks in advance.. Regards , Soumyanil

  • How can I display a list of records from a JSP to my Midlet ??

    Hi there ! I'm new in J2ME. I have been strugling with this problem for weeks now. All I find on the net is some theory and is not helping me much. Here the deal I have created a Midlet that shoud display a certain list which is from the remote datab

  • How can I return to the top of an array indicator

    I have in my UI a 1D array indicator that I will navigate to and populate with different lists of items depending on other selections.  Always text elements. I have limited the number of visible rows to 20 max even though some lists will contain doze

  • Avoid JDBC sender error: Execute statement did not return a result set

    Hi! My JDBC sender adapter towards MS SQL server works fine, with an Execute statement calling a stored procedure that returns the source data needed. The stored procedure itself updates the status of database table records, so that only the unread r

  • Dynamic table generation for Employee Schedule Project

    Hi, I am new to Jave programming and attempting to teach myself Java using the Sun tutorials & these forums. As a first step of learning, I want to do a Automated Employee Schedule Project in Java. (JSP) There are two main parts of the project. The f