Help with BPEL - copy values inside of complex type array ???

I have a jirasoapservice-v2.wsdl with:
<complexType name="RemoteIssue">
<complexContent>
<extension base="tns1:AbstractRemoteEntity">
<sequence>
<element name="customFieldValues" nillable="true" type="impl:ArrayOf_tns1_RemoteCustomFieldValue"/>
<complexType name="ArrayOf_tns1_RemoteCustomFieldValue">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType"> wsdl:arrayType="tns1:RemoteCustomFieldValue[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="RemoteCustomFieldValue">
<sequence>
<element name="customfieldId" nillable="true" type="xsd:string"/>
<element name="key" nillable="true" type="xsd:string"/>
<element name="values" nillable="true" type="impl:ArrayOf_xsd_string"/>
</sequence>
</complexType>
And in BPEL I'm trying this code:
<?xml version="1.0" encoding="UTF-8"?>
<process
name="CosimaJiraProcess"
targetNamespace="http://enterprise.netbeans.org/bpel/BpelModuleCosimaJira/CosimaJiraProcess"
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment"
xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling"
xmlns:tns="http://enterprise.netbeans.org/bpel/BpelModuleCosimaJira/CosimaJiraProcess" xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2" xmlns:ns0="un:CosimaJira:JiraObject" xmlns:ns1="un:CosimaJira:CosimaObject" xmlns:impl="http://localhost/rpc/soap/jirasoapservice-v2" xmlns:ns2="http://beans.soap.rpc.jira.atlassian.com" xmlns:ns3="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions">
<import namespace="http://enterprise.netbeans.org/bpel/jirasoapservice-v2Wrapper" location="jirasoapservice-v2Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://localhost/rpc/soap/jirasoapservice-v2" location="binding/jirasoapservice-v2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/BpelModuleCosimaJira/JMSCosimaJiraWSDL" location="binding/JMSCosimaJiraWSDL.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<partnerLinks>
<partnerLink name="PartnerLink1" xmlns:tns="http://j2ee.netbeans.org/wsdl/BpelModuleCosimaJira/JMSCosimaJiraWSDL" partnerLinkType="tns:JMSCosimaJiraWSDL" myRole="JMSInPortTypeRole"/>
<partnerLink name="plJira" xmlns:tns="http://enterprise.netbeans.org/bpel/jirasoapservice-v2Wrapper" partnerLinkType="tns:JiraSoapServiceLinkType" partnerRole="JiraSoapServiceRole"/>
</partnerLinks>
<variables>
<variable name="JMSInOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/BpelModuleCosimaJira/JMSCosimaJiraWSDL" messageType="tns:JMSInputMessage"/>
<variable name="Token" messageType="impl:loginResponse"/>
<variable name="LoginIn" messageType="impl:loginRequest"/>
<variable name="newIssue" type="ns2:RemoteIssue"/>
<variable name="CreateIssueOut" xmlns:impl="http://localhost/rpc/soap/jirasoapservice-v2" messageType="impl:createIssueResponse"/>
<variable name="CreateIssueIn" xmlns:impl="http://localhost/rpc/soap/jirasoapservice-v2" messageType="impl:createIssueRequest"/>
</variables>
<sequence>
<receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="JMSInOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/BpelModuleCosimaJira/JMSCosimaJiraWSDL" portType="tns:JMSInPortType" variable="JMSInOperationIn"/>
<scope name="Scope1">
<variables>
<variable name="cusField1" type="ns2:RemoteCustomFieldValue"/>
</variables>
<sequence name="Sequence1">
<assign name="AssignNewIssue">
<copy>
<from>'probe'</from>
<to>$cusField1/customfieldId</to>
</copy>
<copy>
<from>'summary'</from>
<to>$newIssue/summary</to>
</copy>
<copy>
<from variable="cusField1"/>
<to>$newIssue/customFieldValues[1]**</to>
</copy>
</assign>
</sequence>
</scope>
<assign name="LoginAssign">
<copy>
<from>'test'</from>
<to variable="LoginIn" part="in0"/>
</copy>
<copy>
<from>'test'</from>
<to variable="LoginIn" part="in1"/>
</copy>
</assign>
<invoke name="loginJira" partnerLink="plJira" operation="login" portType="impl:JiraSoapService" inputVariable="LoginIn" outputVariable="Token"/>
<assign name="IssueAssign">
<copy>
<from variable="newIssue"/>
<to variable="CreateIssueIn" part="in1"/>
</copy>
<copy>
<from variable="Token" part="loginReturn"/>
<to variable="CreateIssueIn" part="in0"/>
</copy>
</assign>
<invoke name="createIssue" partnerLink="plJira" operation="createIssue" xmlns:impl="http://localhost/rpc/soap/jirasoapservice-v2" portType="impl:JiraSoapService" inputVariable="CreateIssueIn" outputVariable="CreateIssueOut"/>
</sequence>
</process>
None of the 3 ways work:
<copy>
<from variable="cusField1"/>
<to>$newIssue/customFieldValues[1]/ns2:RemoteCustomFieldValue</to>
</copy>
<copy>
<from variable="cusField1"/>
<to>$newIssue/customFieldValues/impl:RemoteCustomFieldValue[1]</to>
</copy>
<copy>
<from variable="cusField1"/>
<to>$newIssue/customFieldValues[1]*</to>
</copy>
Any ideas, advice or suggestions ???
Thanks,

Hi,
My requirement is to retrieve those task which satisfying some input criteria. and that input criteria are in payload attribute of task.
we can use ITaskQueryService API, for retrieving task list, but I am not able to see any function through which I can find my task based on payload attribute,
Lets take a example
I created a task with atribute functionID="ABC" (payload attribute). now i want to query the task list which have functionID attribute value "ABC".
for this I have found some flex fields are there, but even not sure what flex fields are.
still trying for the same.

Similar Messages

  • Urgent help with BPEL process

    Hello there,
    I need help with BPEL project.
    i have created a table Employee in Database.
    I did create application, BPEL project and connection to the database properly using Database Adapter.
    I need to read the records from the database and convert into xml fomat and it should to go approval for BPM worklist.
    Can someone please describe me step by step what i need to do.
    Thanks,
    Dps

    Read the Demo examples given with Oracle BPEL Process Manager.
    I am now at a proficient level in BPEL in the past 1 year,
    still need to reach the excellent mark.
    Thanks & Regards,
    Gopal D. Kalsekar
    Sr. Software Developer
    Business Solutions (eGroup)
    M.H. Alshaya Company W.L.L.
    www.alshaya.com
    Jai Maharashtra
    P :- (965) 224 3598
    F :- (965) 224 2488
    E :- [email protected]

  • How to pass values to XML complex type of a Webservice using PL/SQL

    HI,
    I need to call a web service from PL/SQL that has an complex type element. That complex type element has 4 child elements each of integer type.
    I want to pass values for this complex type using SOAP_API.add_parameter but I can't understand how to pass the values.
    <xsd:element name="getBestFit">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="circleId" type="xsd:string"/>
                        <xsd:element maxOccurs="1" minOccurs="1" name="usage" type="Q1:UsageInfoType"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
    <complexType name="UsageInfoType">
         <sequence>
              <element maxOccurs="1" minOccurs="1" name="a1" type="int"/>
              <element maxOccurs="1" minOccurs="1" name="a2" type="int"/>
              <element maxOccurs="1" minOccurs="1" name="a3" type="int"/>
              <element maxOccurs="1" minOccurs="1" name="a4" type="int"/>
         </sequence>
    </complexType>
    Please help me in getting a solution here.
    Thanks in advance.

    Have you tried doing a google search on "SOAP_API.add_parameter" to see what comes back? I see a lot of hits come back so hopefully one of those will help you. I've never used soap_api as I used utl_http to make WS calls. This required me to build the SOAP message (aka XML of a specific nature) by hand and then pass it to the WS using utl_http. How this approach is done via SOAP_API, I can't say.

  • Complex Types Array in webservices

    How can i invoke the generated Codec for one of my complex type array to serialize and get the xml data..
    I am supposed to store the object info in database as xml. I cannot use regular xml encoding schemas due to limitations.
    Thanks in Advance
    Venkat

    There are no public API for using the generated codec. Check out
    if XMLBeans will be of any help:
    http://xml.apache.org/xmlbeans/
    Regards,
    -manoj
    http://manojc.com
    "Venkat Addanki" <[email protected]> wrote in message
    news:40d71639$1@mktnews1...
    How can i invoke the generated Codec for one of my complex type array toserialize and get the xml data..
    >
    I am supposed to store the object info in database as xml. I cannot useregular xml encoding schemas due to limitations.
    >
    Thanks in Advance
    Venkat

  • OVS Value help with a preallocate value

    Hi everybody,
    i use a OVS Value Help whitch contains one field and a button for search.
    Now i want to preallocate this field with a default value and execute the search automatically when the OVS View appears.
    How can i do it?
    Regards,
    Sid
    Edited by: Sid on Nov 7, 2011 1:05 PM

    Hi Sid,
    You can set default value to the field in value help within the method applyInputValues() and within this method, call onQuery() method which contains the logic for fetching the search results. Please find below the sample code for applyInputValues():
    public void applyInputValues(IWDNodeElement applicationNodeElement, IWDNodeElement queryInputNodeElement)
         // On clicking Value help pop-up icon, get all the records from database
         wdContext.nodeDemoOutput().invalidate();
         queryInputNodeElement.setAttributeValue(IDemoInputElement.NAME, "<default_value>");
         onQuery(queryInputNodeElement, wdContext.nodeDemoOutput());
    Hope this helps.
    Regards,
    Pavithra

  • Complex types arrays in webservices using custom codec

    In WLS8.1, I use the arrays serializing classes generated by the "servicegen" task,
    for the arrays of a complex type, and I register to the TypeMapping registry
    the complex type specifying as serializer/deserializer the custom codec that I
    developed. (The custom codec extends the AbstractCodec class)
    The problem occurs when I try to execute a service that has like return type an
    array of my complex type. In fact the response envelope is incorrectly built,
    containing before the tag result(that includes at his turn, the serialized array)
    once again the array serialized.
    So at the parsing time of the envelope, the following error occurs:
    … But was not able to find a Part that is registered with this Message which corresponds
    to this SOAPElement. The name of the element should be one of these[simpleTypeBDTs]
    at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:445)
    at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:74)
    at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:125)
    at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:513)
    at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:150)
    at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:125)
    at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:74)
    at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:98)
    at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:274)
    at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:393)
    at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception
    during processing: javax.xml.soap.SOAPException: Found SOAPElement
    that seems to be normally because the encountered tag is not the result tag like
    expected, but the starting tag of the first element of the resulted array.
    It’s the correct way, the way I used? For my complex type is imperative to use
    a custom codec, because my complex types are the nested complex types.

    I opened a case to bea support, (case 426018 ) but I didn't obtain the solution
    till now.
    If you can access the case at the support.bea.com site, it contains a simple
    test case explaining my problem.
    regards,
    mihaela
    "manoj cheenath" <[email protected]> wrote:
    In fact the response envelope is incorrectly built,
    containing before the tag result(that includes at his turn, the serializedarray)
    once again the array serialized.I suspect this is due to a bug in 8.1 and it is fixed since. Please
    contact support for a patch.
    For my complex type is imperative to use
    a custom codec, because my complex types are the nested complex types.WLS can handle nested complex types. You need not write
    custome codec to handle this case.
    Regards,
    -manoj
    http://manojc.com
    "miki tirnacop" <[email protected]> wrote in message
    news:[email protected]...
    In WLS8.1, I use the arrays serializing classes generated by the"servicegen" task,
    for the arrays of a complex type, and I register to the TypeMappingregistry
    the complex type specifying as serializer/deserializer the custom codecthat I
    developed. (The custom codec extends the AbstractCodec class)
    The problem occurs when I try to execute a service that has like returntype an
    array of my complex type. In fact the response envelope is incorrectlybuilt,
    containing before the tag result(that includes at his turn, the serializedarray)
    once again the array serialized.
    So at the parsing time of the envelope, the following error occurs:
    . But was not able to find a Part that is registered with this Messagewhich corresponds
    to this SOAPElement. The name of the element should be one ofthese[simpleTypeBDTs]
    atweblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:445)
    atweblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.j
    ava:74)
    atweblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.jav
    a:125)
    atweblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:513)
    at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:150)
    atweblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:125)
    at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:74)
    atweblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java
    :98)
    atweblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebSer
    viceServlet.java:274)
    atweblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:393)
    atweblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServle
    t.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6291)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    java.rmi.RemoteException: SOAPFault:javax.xml.rpc.soap.SOAPFaultException: Exception
    during processing: javax.xml.soap.SOAPException: Found SOAPElement
    that seems to be normally because the encountered tag is not the resulttag like
    expected, but the starting tag of the first element of the resultedarray.
    It's the correct way, the way I used? For my complex type is imperativeto
    use
    a custom codec, because my complex types are the nested complex types.

  • Need help with attempting copy of 1 line of text

    Hello All,
    I'm hoping that someone can point me in the right direction. I've been using DW for many years and write php/mysql code with it. Over the weekend, I downloaded and instalt a brand new copy of CS4 .I'm trying to learn all the new ins and outs.
    I'm using Dreamweaver and am writing a php script. I'm in Code View and have my page structured with all the php code at the top of the page between my <?php and ?> symbols and all my html form code at the bottom. I'm attempting to copy one line of php code from my script to paste in the same script just a bit farther done in the code.
    I hightlight the line of code using the left button of the mouse and then press Cntl-C. When I do this, DW highlights all the php code from the open symbol to the closing symbol and then moves the screen view to the top of the page. This same behavior happens if I highlight, and right click to select copy from the pop-up menu.
    I'm only trying to copy one line of code so this is really very odd to me!
    Do I have a setting value wrong?
    Is anybody else experiencing this??
    And help at all???
    Thanks,
    Dennis

    This has been discussed to death. Just click the top item in the More Like This box on the right.
    It's an intermittent problem. I have never once encountered it in working on several machines and operating systems. Others find themselves constantly plagued. The key to finding out what causes it lies in finding the common element that triggers the problem. No one has managed to do that so far.
    It appears that making a change in the page before trying to copy eliminates the problem. Others have also found that switching workspace clears the problem.

  • Need help with BPEL please

    I am trying to create BPEL that acts as a message "fork" from one external public interface to two internal webapps (i.e. the received message is duplicated and sent to both webapps in parallel). The message is an array of user information that I want to register into both webapps.
    I believe that I have created the public wsdl OK and can receive a message and store it in a local variable. Although both webapps define a similar message within their own wsdls, I am unclear how to transfer the information from the "receipt" variable into the "invoke webapp" variable. Stated another way, how can I transfer an array defined in one wsdl into a similar array defined in a second wsdl?
    Can anyone help me?
    Thanks in advance,
    Steve

    xsd file i used,
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xml.netbeans.org/schema/newXMLSchema"
    xmlns:tns="http://xml.netbeans.org/schema/newXMLSchema"
    elementFormDefault="qualified">
    <xsd:element name="newElement">
    <xsd:complexType>
    <xsd:sequence maxOccurs="1">
    <xsd:element name="Collection" maxOccurs="5">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="leafElement" type = "xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    wsdl file i used,
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions targetNamespace="http://j2ee.netbeans.org/wsdl/repeatingNode"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://j2ee.netbeans.org/wsdl/repeatingNode" name="repeatingNode" xmlns:ns="http://xml.netbeans.org/schema/newXMLSchema" xmlns:plink="http://schemas.xmlsoap.org/ws/2004/03/partner-link/">
    <wsdl:types>
    <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/repeatingNode">
    <xsd:import xmlns="http://www.w3.org/2001/XMLSchema" namespace="http://xml.netbeans.org/schema/newXMLSchema" schemaLocation="repeatingNode.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="repeatingNodeOperationRequest">
    <wsdl:part name="part1" element="ns:newElement"/>
    </wsdl:message>
    <wsdl:message name="repeatingNodeOperationReply">
    <wsdl:part name="part1" element="ns:newElement"/>
    </wsdl:message>
    <wsdl:portType name="repeatingNodePortType">
    <wsdl:operation name="repeatingNodeOperation">
    <wsdl:input name="input1" message="tns:repeatingNodeOperationRequest"/>
    <wsdl:output name="output1" message="tns:repeatingNodeOperationReply"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="repeatingNodeBinding" type="tns:repeatingNodePortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="repeatingNodeOperation">
    <soap:operation/>
    <wsdl:input name="input1">
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="output1">
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="repeatingNodeService">
    <wsdl:port name="repeatingNodePort" binding="tns:repeatingNodeBinding">
    <soap:address location="http://localhost:18181/repeatingNodeService/repeatingNodePort"/>
    </wsdl:port>
    </wsdl:service>
    <plink:partnerLinkType name="repeatingNodePartner">
    <!-- partnerLinkType are automatically generated when a new portType is added. partnerLinkType are used by BPEL processes.
    In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
    A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
    <plink:role name="repeatingNodePortTypeRole" portType="tns:repeatingNodePortType"/>
    </plink:partnerLinkType>
    </definitions>
    BPEL file i used
    <?xml version="1.0" encoding="UTF-8"?>
    <process
    name="repeatingNode"
    targetNamespace="http://enterprise.netbeans.org/bpel/repeatingNode"
    xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
    xmlns:wsdlNS="http://enterprise.netbeans.org/bpel/repeatingNode" xmlns:ns1="http://j2ee.netbeans.org/wsdl/repeatingNode" xmlns:ns0="http://xml.netbeans.org/schema/newXMLSchema">
    <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" namespace="http://j2ee.netbeans.org/wsdl/repeatingNode" location="repeatingNode.wsdl"/>
    <bpws:partnerLinks>
    <bpws:partnerLink name="PartnerLink1" partnerLinkType="ns1:repeatingNodePartner" myRole="repeatingNodePortTypeRole"/>
    </bpws:partnerLinks>
    <bpws:variables>
    <bpws:variable name="counter" type="xsd:int"/>
    <bpws:variable name="RepeatingNodeOperationOut" messageType="ns1:repeatingNodeOperationReply"/>
    <bpws:variable name="RepeatingNodeOperationIn" messageType="ns1:repeatingNodeOperationRequest"/>
    </bpws:variables>
    <sequence>
    <bpws:receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="repeatingNodeOperation" portType="ns1:repeatingNodePortType" variable="RepeatingNodeOperationIn"/>
    <bpws:assign name="Assign2">
    <bpws:copy>
    <bpws:from>0</bpws:from>
    <bpws:to variable="counter"/>
    </bpws:copy>
    </bpws:assign>
    <bpws:while name="While1">
    <bpws:condition> ( $counter < 6 ) </bpws:condition>
    <bpws:assign name="Assign1">
    <bpws:copy>
    <bpws:from> ( $counter + 1 ) </bpws:from>
    <bpws:to variable="counter"/>
    </bpws:copy>
    <bpws:copy>
    <bpws:from>$RepeatingNodeOperationIn.part1/ns0:Collection[$counter]/ns0:leafElement</bpws:from>
    <bpws:to>$RepeatingNodeOperationOut.part1/ns0:Collection[$counter]/ns0:leafElement</bpws:to>
    </bpws:copy>
    </bpws:assign>
    </bpws:while>
    <!--
    <bpws:assign name="Assign3">
    <bpws:copy>
    <bpws:from variable="RepeatingNodeOperationIn" part="part1"/>
    <bpws:to variable="RepeatingNodeOperationOut" part="part1"/>
    </bpws:copy>
    </bpws:assign>
    -->
    <bpws:reply name="Reply1" partnerLink="PartnerLink1" operation="repeatingNodeOperation" portType="ns1:repeatingNodePortType" variable="RepeatingNodeOperationOut"/>
    </sequence>
    </process>
    input file
    <soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:new="http://xml.netbeans.org/schema/newXMLSchema">
    <soapenv:Body>
    <new:newElement>
    <!--1 to 5 repetitions:-->
    <new:Collection>
    <new:leafElement>1</new:leafElement>
    </new:Collection>
    <new:Collection>
    <new:leafElement>2</new:leafElement>
    </new:Collection>
    <new:Collection>
    <new:leafElement>3</new:leafElement>
    </new:Collection>
    <new:Collection>
    <new:leafElement>4</new:leafElement>
    </new:Collection>
    <new:Collection>
    <new:leafElement>5</new:leafElement>
    </new:Collection>
    </new:newElement>
    </soapenv:Body>
    </soapenv:Envelope>
    output file due to running the bpel
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://xml.netbeans.org/schema/newXMLSchema" xmlns="http://xml.netbeans.org/schema/newXMLSchema">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
    <newElement xmlns="http://xml.netbeans.org/schema/newXMLSchema">
    <ns0:Collection xmlns:ns0="http://xml.netbeans.org/schema/newXMLSchema">
    <ns0:leafElement>1</ns0:leafElement>
    </ns0:Collection>
    <ns0:Collection xmlns:ns0="http://xml.netbeans.org/schema/newXMLSchema">
    <ns0:leafElement>2</ns0:leafElement>
    </ns0:Collection>
    <ns0:Collection xmlns:ns0="http://xml.netbeans.org/schema/newXMLSchema">
    <ns0:leafElement>3</ns0:leafElement>
    </ns0:Collection>
    <ns0:Collection xmlns:ns0="http://xml.netbeans.org/schema/newXMLSchema">
    <ns0:leafElement>4</ns0:leafElement>
    </ns0:Collection>
    <ns0:Collection xmlns:ns0="http://xml.netbeans.org/schema/newXMLSchema">
    <ns0:leafElement>5</ns0:leafElement>
    </ns0:Collection>
    </newElement>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • I need some syntax help with reading some values from a selected row in an Access form.

    My goal:  to extract the data from 4 fields in a datasheet row and place them in another form.
    My problem:  I can only get the field values from the first row of the datasheet.
    I have tried using the Form_Click event as the location for the code I've tried.  This seems to be the right place, but apparently referring to the desired fields by their names with Me. in front just references the first record in the datasheet, not
    the one I've selected.
    Should I just read the source form's recordset using the Currentrecord value somehow?  I could use some direction on that.
    Thank you.
    Marj Weir

    It's generally considered good forum etiquette to post back a description of the solution which you've reached.
    The normal control for a multi-valued field is a combo box rather than a text box, but unless it is necessary for you to use a  multi-valued field, i.e. your database is interfacing with SharePoint in the very limited context in which this feature is necessary,
    I'd advise that you model the many-to-many relationship type in the time-honoured way by means of a table which resolves the relationship type into two one-to-many relationship types, and use a subform to show the data.  You can alternatively use a multi-select
    list box or a text box which shows a value list.  You'll find examples of all three methods in StudentCourses.zip in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    Ken Sheridan, Stafford, England

  • Help with passing integer value in A.S.S

    I get an NSinternal script error while trying to pass this value can anyone help?
    Also I wonder if it is possible to pass the value to a matrix
    on clicked theObject
    tell button "checkbox" of window 1
    if integer value = 1 then
    set button "checkbox2" of window 1 to integer value = 1
    else
    set integer value to 0
    end if
    end tell
    end clicked
    I also tried:
    if state of button "checkbox" of window1 is 1 then
    set the state of button "checkbox2" of window1 to 1
    end if
    Message was edited by: Doug Bassett

    I've been following this thread and trying to figure out how to make this work. I was getting inconsistent results or errors with most of the code that has been posted. But I finally got it working... at least on a Leopard machine (not sure if this could have changed between Tiger and Leopard so your mileage may vary).
    What I found was that a checkbox button that's located directly in a window seems to have a state that's equal to 0 when it's unchecked and 1 when it's checked. But a checkbox cell that's contained within a matrix seems to have a state that's set to either _off state_ or _on state_. Trying to set a cell's state to 0 or 1 simply wasn't working right for me. So I get the state of the "selectall" checkbox button (which is a 0/1) and transform it to either "off state" or "on state" before setting the states of the checkbox cells in the matrix.
    Here's my code:
    on clicked theObject
    set n to name of theObject
    if n = "selectall" then
    set s to state of theObject
    log "state: " & s
    if s = 0 then
    set newState to off state
    else
    set newState to on state
    end if
    repeat with i from 1 to count of cells of matrix "directories" of window "main"
    tell cell i of matrix "directories" of window "main"
    set state to newState
    end tell
    end repeat
    return
    end if
    if n = "logStatesBtn" then
    logStates()
    return
    end if
    end clicked
    on logStates()
    log "Logging states:"
    set s to state of button "selectall" of window "main"
    log "selectall checkbox: " & s
    repeat with i from 1 to count of cells of matrix "directories" of window "main"
    tell cell i of matrix "directories" of window "main"
    set s to state
    end tell
    log "Cell " & i & ": " & s
    end repeat
    end logStates
    Note the "logStates" handler is just something I connected up to a "logStatesBtn" button in my window that lets me spit out the states of all the checkboxes into the console log. This is how I actually discovered that the cells were set to "off state" or "on state".
    Steve

  • Need help with a copy of an old document Using Adobe PSE 8.0

    I have a copy of a document (Will) written in ink, in 1782.  The problem is, about half of the ink has faded over time, so that only the bottom portion of the Will is still readable.  I wish to be able to alter the image so that somehow someway I will be able to read the "faded" ink.  I have three different copies of this document, as people attempted to copy the document, as best they could.  I have been (told) that one image is very close to what the actual document looks like.  I'm not experienced, in altering scanning settings (ex. HP Officejet 6500, All-in-One).  I know how to scan documents (at the simpliest level), but I'm not very experienced in using the Adobe PSE 8.0 software.  So, I don't know if it's capable of helping me with this problem or not.  The ink is very faded, you can still see most of the words (of the faded ink) but just not enough to be able to decern what each word is.  Transcribing this Will, is of the utmost importance, because it may lead to answers about the family of this individual.  Any tuturials or suggestions, would be greatly appreciated.  Thank you, for your time, consideration, and cooperation, I truly appreciate it.

    These are two samples of the "faded ink", that I want to resurrect, so to speak.  I scanned them in grayscale.

  • Help with digital copy film on mac

    hi, i got the hangover blu-ray for christmas and it comes with a free digital copy, which i was very happy about, so i follow the steps and go to the website where it says, sorry, its windows only, this is the first time i have had one that is windows only, now as well on the website's main page there is a help video which shows a video being transferred to a iphone/ipod touch, yet when i select that i have the hangover blu-ray and want the digital copy, it says sorry, windows only. any ways of getting it on my mac would be very helpful and make my christmas. thanks in advanced.

    It's probably related to some type of DRM (copy-protection) on the digital copy, and not due to it being any particular type of file format. The DRM scheme probably only works under Windows. And if that is the case, I don't think you will be able to get it to work under Mac OS X, short of running VMware Fusions or Parallels Desktop (or Sun's free VirtualBox) and installing Windows to run under Mac OS X.
    Considering the popularity of Macs recently, and higher use of Macs among creative folks, it's pretty stupid for the studio/distributor to make a key feature Windows-only.

  • Help with Allowing Multiple values Function

    I am wondering if someone can help me with what I am doing wrong?
    Basically I am trying to set up 4 parameters.
    The first two say, if a 1 is selected then I want to pull back the full data set, if a 0 is selected then it should pull the department that is put in a parameter after that.
    The same goes for a provider, if a 1 is selected then pull all providers, if a zero then select the providers that have been entered in the parameter below that.
    I am using "Allow Multiple Values" for both the dept and provider if the 0 is selected for either.
    Here is what I have been trying to use along with 4 parameters:
    whilereadingrecords;
    numbervar i;
    numbervar j :=ubound({?Provider});
    ( (1 = {?AllDepartments})
    OR
    (for i := 1 to j do(
    ({Command.DEPARTMENT_ID} in {?Department}) ))
    and
    ( (1 = {?AllProviders})
    OR
    (for i := 1 to j do(
    ({Command.PROV_ID} in Trim ({?Provider}<i>) )))))
    Thanks you, any help would be appreciated.

    Thanks for the advice Ian, I am trying to implement your code change with the following (this is just the first Department part)
    IN SELECT
    (IF {?AllDepartments} <> 0 THEN {Command.DEPARTMENT_ID} = {?Department} ELSE TRUE)
    but I keep getting the following error:
    "The remaining text does not appear to be part of the formula"
    any thoughts?

  • Help with displaying integer values

    I am not sure what is going on in my code.
    I have a field where  use
    <?php
    if ($pets==1) echo "Pets Allowed";
    ?>
    and that works fine.  Integer 1 in my database.
    But when I want to use that for another field, same exact settings, just different field, nothing shows up.  Even tried putting in quotes.  I queried from mysql with success and using the entered value of 1 in the dreamweaver recordset window and it showd.  But yet the PHP wont display.

    That's the thing.  Everything is exactly the same.  The line of code is copied and only replacing pets with cdla.

  • Oracle Text Help with XML column values

    Hello. In addition to being new to Oracle Text, I am inheriting an Oracle Text application and have a couple of questions.
    First, A context-based index has been set-up on a CLOB column which contains an XML formatted document. The Auto Section Group parameter has been set to created zones for each tag of the XML document. I have found that when using a browser to display the content of the CLOB, some of the column values have trouble displaying in the browser, where I receive an XML processing error. I believe this is due to the fact that some of the XML document rows contain URLs that are not embedded in the CDATA tag. In any case, if the browser has trouble displaying the XML, will oracle text have trouble indexing the XML and creating the section group zones?
    Second, I understand that the NOT operator takes a right operand term and left operand term. Can either of the terms be the results of the WITHIN operator, i.e. "dogs not (cats within animals)".
    Thank you.

    I bet you just whipped that out, and I thank you with all my
    heart, its amazing to me how many ways I tried to do what you did.
    Thanks
    I have a second question relating to the same problem and
    that is in referencing the over state. Currently, I can write
    'text' into the text field and see what I have coming in from xml
    in its place during the 'up' state.
    However, when the timeline hits the 'over' state, the
    textfield will display nothing, or 'text' if I have that written
    in. I suspect that I am not referencing the'over' state correctly.
    Should I add one line of code sort of referencing the text
    field and not just the button while in the over state?

Maybe you are looking for

  • How can I mix (and shuffle) both podcasts and music?

    The former version of Itunes and the ipod update that went along with it, allowed my ipod to helpfully shuffle both podcasts, and songs, randomly. While driving, I could play a podcast, and then a song would come up, and then maybe another song, or a

  • Youtube or similar Video sites on N96

    Hi, How do i view Youtube videos with N96, i tried accessing youtube as a webpage, and tried to access the videos, but it openes the whole page, and video doesnt open. i tried accessing with video center and doesnt work. is there another way to acces

  • Acrobat Reader 7.0 英語版で日本語PDFが正常に表示されない

    Windows XP SP2英語版上で使用しています. Regional and Language OptionsコントロールパネルでJapaneseとJapanを選択しても日本語が丸い「点」でしか表示されません. 必要な日本語のフォントがインストールされていないためかと思いましたが.アップデイトの必要がないと表示されます. また時折.9.8MB程度の日本語フォントをインストールするかと訊いてくるので.Yesを選択してもその後何も起こりません. どうすれば解決できるのか.ご教示いただければ幸甚で

  • Disabling downloading of attachments in email on iPad - for international

    When I travel I want to be able to check my email, but disable the automatic download of attachments, especially when on 3G. How do I do that?

  • Create multiple Still Proxies

    Having a problem creating multiple still proxies. Basically what I want to do is select all the layers in a PSD imported as a cropped comp and create a half res proxy for each item. the right click "create proxy" option is disabled when I select more