Unable to appoint BPEL call variable activity with other variables output

Hi all

I tried to assign the result to an invoke activity to an output response BPEL activity variable. However I get Exception is thrown because the spec to the line is evaluated to be empty even if the output variable is clearly demonstrated in the trace stream. I am able to assign the output set variable to the variable response but when I try to assign the child element of the element of activity called the child element of the response output variable that it will fail.

The activity to invoke calls an external reference link http that calls a proxy OSB service and returns details in XML format. I just a few tests now so I'll be back just static values to see if I could recover and use them as variables in BPEL, regardless of the input in activity variable.

The HTTP Binding call will return:

< IAMDetails >

< ApplicationID > < / ApplicationID >

< user name > < / UserID >

< user name > < / username >

< / IAMDetails >

The XSD used for entry and exit for the HTTP binding are as follows:

Scheme of entry:

" < xs: Schema attributeFormDefault ="unqualified"elementFormDefault ="qualified"xmlns: XS =" http://www.w3.org/2001/XMLSchema "targetNamespace =" " http://www.w3schools.COM1 ">

< xs: element name = "IAMDetailsReq" >

< xs: complexType >

< xs: SEQUENCE >

< xs: ELEMENT type = "xs: String" name = "ApplicationID" / >

< xs: ELEMENT type = "xs: String" name = "User name" / >

< xs: ELEMENT type = "xs: String" name = "User name" / >

< / xs: SEQUENCE >

< / xs: complexType >

< / xs: element >

< / xs: Schema >

Output schema:

" < xs: Schema attributeFormDefault ="unqualified"elementFormDefault ="qualified"xmlns: XS =" http://www.w3.org/2001/XMLSchema "targetNamespace =" " http://www.w3schools.COM12 ">

< xs: element name = "IAMDetails" >

< xs: complexType >

< xs: SEQUENCE >

< xs: ELEMENT type = "xs: String" name = "ApplicationID" / >

< xs: ELEMENT type = "xs: String" name = "User name" / >

< xs: ELEMENT type = "xs: String" name = "User name" / >

< / xs: SEQUENCE >

< / xs: complexType >

< / xs: element >

< / xs: Schema >

The WSDL for the http binding

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
     name="qweerty"
     targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/http/GenLetterSendEmail/Project2/qweerty"
     xmlns:msg_in="http://www.w3schools.com1"
     xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/http/GenLetterSendEmail/Project2/qweerty"
     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
     xmlns:msg_out="http://www.w3schools.com12"
     xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
    <plt:partnerLinkType name="get_plt">
        <plt:role name="get_role">
            <plt:portType name="tns:get_ptt"/>
        </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema">
            <import namespace="http://www.w3schools.com1" schemaLocation="xsd/IAMDetails.xsd"/>
        </schema>
        <schema xmlns="http://www.w3.org/2001/XMLSchema">
            <import namespace="http://www.w3schools.com12" schemaLocation="xsd/IAMDetails2.xsd"/>
        </schema>
    </wsdl:types>
    <wsdl:message name="IAMDetailsReq_msg_in">
        <wsdl:part name="IAMDetailsReq" element="msg_in:IAMDetailsReq"/>
    </wsdl:message>
    <wsdl:message name="IAMDetails_msg_out">
        <wsdl:part name="IAMDetails" element="msg_out:IAMDetails"/>
    </wsdl:message>
    <wsdl:portType name="get_ptt">
        <wsdl:operation name="get">
            <wsdl:input message="tns:IAMDetailsReq_msg_in"/>
            <wsdl:output message="tns:IAMDetails_msg_out"/>
        </wsdl:operation>
    </wsdl:portType>
</wsdl:definitions>

Here is the BPEL process

<?xml version = "1.0" encoding = "UTF-8" ?>

<process name="BPELProcess1"
               targetNamespace="http://xmlns.oracle.com/GenLetterSendEmail/Project2/BPELProcess1"
               xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
               xmlns:client="http://xmlns.oracle.com/GenLetterSendEmail/Project2/BPELProcess1"
               xmlns:ora="http://schemas.oracle.com/xpath/extension"
               xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
         xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/http/GenLetterSendEmail/Project2/asdasd"
         xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/http/GenLetterSendEmail/Project2/qweerty"
         xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
         xmlns:ns4="http://www.w3schools.com123"
         xmlns:ns3="http://www.w3schools.com12">


  <!--
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     ORCHESTRATION LOGIC                                              
     Set of activities coordinating the flow of messages across the   
     services integrated within this business process                 
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  -->
  <partnerLinks>
    <partnerLink name="asdasd" partnerLinkType="ns1:Request_Response_plt"
                 myRole="Request-Response_role"/>
    <partnerLink name="qweerty" partnerLinkType="ns2:get_plt"
                 partnerRole="get_role"/>
  </partnerLinks>
  <variables>
    <variable name="Receive1_Request-Response_InputVariable"
              messageType="ns1:testing_msg_in"/>
    <variable name="Reply1_Request-Response_OutputVariable"
              messageType="ns1:testing2_msg_out"/>
    <variable name="Invoke1_get_InputVariable"
              messageType="ns2:IAMDetailsReq_msg_in"/>
    <variable name="Invoke1_get_OutputVariable"
              messageType="ns2:IAMDetails_msg_out"/>
  </variables>
  <sequence name="main">
    <receive name="Receive1" createInstance="yes" partnerLink="asdasd"
             portType="ns1:Request_Response_ptt" operation="Request-Response"
             variable="Receive1_Request-Response_InputVariable"/>
    <invoke name="Invoke1" partnerLink="qweerty"
            portType="ns2:get_ptt" operation="get"
            inputVariable="Invoke1_get_InputVariable"
            outputVariable="Invoke1_get_OutputVariable"
            bpelx:invokeAsDetail="no"/>
    <assign name="Assign1">
      <copy>
        <from>$Invoke1_get_OutputVariable.IAMDetails/ns3:ApplicationID</from>
        <to>$Reply1_Request-Response_OutputVariable.testing2/ns4:response</to>
      </copy>
    </assign>
    <reply name="Reply1" variable="Reply1_Request-Response_OutputVariable"
           partnerLink="asdasd" portType="ns1:Request_Response_ptt"
           operation="Request-Response"/>
  </sequence>
</process>

The error response

<error>faultName: {{http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
</error>

So for now, I am trying to assign ApplicationID to the response variable but it still isn't the assign activity. I'm not sure what the problem might be that my knowledge on BPEL is quite limited. Any help would be greatly appreciated. Thank you.

Kind regards

Mark

You can try removing the attributeFormDefault and elementFormDefaults of the target schema elements...

Tags: Fusion Middleware

Similar Questions

  • Unable to activate Windows XP but could not launch Windows or the other, "to keep your copy of Windows must be activated with Microsoft.»

    Hello

    No activitate Windows XP with Microsoft because I can't get into Windows. "To keep your copy of Windows must be activated with Microsoft."

    Yes No.

    Wathever button I push the answer is the same: yes no perpetual... Cannot type Windows so I can't activitate the Windows key. Since last December, I try to get a correct answer with no result.

    Thank you

    Carl

    E-mail address is removed from the privacy *.

    * original title - no activitate Windows XP with Microsoft because can not enter Windows *.

    Repair XP and then re-enable it:
    http://www.Microsoft.com/windowsxp/using/helpandsupport/learnmore/tips/doug92.mspx

  • Sharing activity with Apple Watch problem

    I added a friend to my shared items Apple Watch and went through all the stages of acceptance.

    However on my Apple Watch I can't see the results of my friend, but on my iPhone, I can see mine and theirs.

    On my friends iPhone and Apple Watch, they can see my results of activity, but all mine read as zero.

    Hi slithytove,

    Thank you for using communities of Apple Support.

    I see that you have added a friend on your Apple Watch to share activities. On your Apple Watch you don't see the results of your friend, but you can see the you and the results of your friends on your iPhone. They see your activity on their iPhone as zero.

    I just started using this feature myself. Watch OS 3 is really cool in how it allows you to share your activity with friends and family rings. I'm happy to help you with this problem.

    Please ensure that all iPhones who share the activity are connected to the Internet and signed in iCloud. Use article share your activity with your Apple Watch, more specifically, this section:

    Get help with sharing activity

    Activity sharing requires iOS 10 and watch OS 3. If more than one Apple Watch associated with your iPhone, the sharing tab appear not in the activity until you update all your watches to watch OS 3.

    If you are unable to add a friend, make sure you have a Apple Watch and that you have not added the maximum number of friends. You can add up to 25 friends.

    If your iPhone can connect to the Internet and you are connected to iCloud, you can get the updates relating to the activities of your friends every day. If your iPhone can not connect for several days, or you disconnect from iCloud, you may see missing days.

    Additional information can be found in the Apple Watch user's Guide

    Have a great day!

  • Problem calling LabVIEW DLL with c#

    Dear all,

    I compiled a few DLLs in LabVIEW and called these DLLs using c#.
    I'm having trouble passing in strings and arrays as input and output of the DLL.

    Whenever I try to view the string I have entered in a dialog box (this part is written in LabVIEW DLL), a LabVIEW message dialog box appears and the program just stuck there.

    Whenever I try to enter a string or an array to the dll, Microsoft Visual Studio would display "attempt read or write protected memory. It is often an indication that other memory has been corrupted. »

    I attached the vi and also the c# .sln file.

    Can you guys please advise where am I wrong?

    Thank you very much.

    You must allocate strings and arrays of output!

    private void button1_Click (object sender, EventArgs e)
    {
    output string;
    int [] value;
    StringOutput ("A", "B", exit, 3, value, 4);
    }
    }

    Your variable output and value must be preallocated to ensure storage of 3 items respectively. 4. and since you want to receive the C string that you need to increase this to 4 characters terminated by a NULL value.

    String in c# is also a not a C string of object pointer. You must declare the StringOutput() function as follows:

    [DllImport("SharedLib.dll",CallingConvention=CallingConvention.StdCall, Charset=CharSet.Ansi]internal static extern int StringOutput(StringBuilder A, StringBuilder B, out StringBuilder StringOutput, int sizeString, out int[] output, int sizeArray);
    

    Then call like this:

    StringBuilder output = new StringBuilder(4);int[4] array = new int[4];
    
    StringOutput("A", "B", output, output.Capacity, value, value.Length);
    

    Please note that I'm not a pro in c# and usually do not do much in it. Also that this code has not been tested or updated at all, so probably contains some errors. He however point you in the direction of where to look further.

    What you need to understand, is that the C DLL that you created in LabVIEW has a so-called unmanaged interface. This means c# is not able to know how to manage the memory for the parameters at all and you have to do everything yourself, where the obligation to explicitedly initialize variables output and table with a block of memory préallouée.

  • Receive a message regarding activate to Windows XP: "this copy of Windows must be activated with Microsoft before you can continue to use it."

    Why do I need to reactivate Windows XP?

    Had the genuine Windows XP on my computer for years, which was activated when I bought it. Recently have messages saying: "this copy of Windows must be activated with Microsoft before you can continue to use it."  Tried to turn it back on, but just get a message saying that it is "unable to establish a connection with the activation server" and I can't go any further. Any ideas what is happening?

    Hello

    Have you done a recent software or changes to the material on the computer?

    I suggest you to go through the steps mentioned in the link and the Coachman.

    Error: could not establish a connection with the activation server. Please check your network...

    http://support.Microsoft.com/kb/306153

    See also:

    How to activate Windows XP

    http://support.Microsoft.com/kb/307890

  • My computer won't let me connect to one of my accounts. The screen remains blue or said: "this product must be activated with microsoft" why is this?

    My computer crashed on me and when I tried to reboot, the computer would not let me connect to my own account, nor my accounts of family members. I tried to use the System Restore tool, but the computer says that the menu command / I'm trying to use does not exist. I don't have the CD or the floppy to boot. When I try to log in to my administrator account on the computer says, "this product must be activated with Microsoft."  Can anyone help?

    Hello

    If you are unable to connect to any user account then, how did you try the System Restore tool?

    We will try these steps and check.
    Step 1: Use know last good Configuration option and check.

    Step 2: Check to see if the problem persists in safe mode. If the problem persists not in safe mode and then try to perform the clean boot.

  • BlackBerry Smartphones unable to make / take calls on my BB Torch 9800

    Hi all

    I am facing a weird problem with my phone today. I'm unable to make any calls or take calls on my phone.

    When I call someone the call is connected to the other person but on speaker phone only and the person does not hear me.

    When someone tries to call me, I am unable to take the call. I tried everything I can think but cannot take the call. Even hands-free is not helping here.

    All other functions are fine. all keys work correctly. I am facing problem and take calls. Kindly help me out here. what I'll do.

    Hello and welcome to the community!

    Each time a random strange behavior or slow creeps, the first thing to do is a battery pop reboot. With power ON, remove the hood back and remove the battery. Wait a minute, then replace the battery and cover. Power on and wait patiently through the long reboot - about 5 minutes. See if things return to functioning. Like all computing devices, BB suffers from memory leaks and others... with a hard reboot is the best remedy.

    Best!

  • BlackBerry smartphones when you try to make a call, I get this message: "unable to connect. Call in progress"

    Until a few days ago this phone has worked in the car (Bluetooth) and elsewhere.

    Suddenly, when I was in the car with the phone, I got a call that I could not access. I tried to connect, but the device did not respond.  However, I could cut an incoming call.

    Subsequently, and still in the car, every 10-15 seconds the phone rang again.  Each time, I was not able to accept the call but managed to put out of service.

    This continued for a while until I've finished my trip.

    Later, I managed to stop the ringing by cutting the storm.

    Subsequently, I was unable to make any calls or receive all.  I get the message: "unable to connect. Call in progress".

    I called the storm of my fixed line and it does not sound.

    A problem really disturbing last night was the alarm.  That has been fixed at 5:00 this morning so that I could watch the broadcast eligible Grand Prix.  He didn't ring and went to rehearsal still sounds do not.

    Why my previously sensitive phone suddenly disappeared into pieces?

    You are welcome.

    Good luck.

  • How can I check lock activation with an iPod touch 3rd generation

    How to check a lock of activation with a 3rd generation iPod touch which was given to me

    A third generation of iPod touch cannot be updated past 5.1.1 and will therefore never be activation locked; This requires iOS 7 or newer.

    (143866)

  • When I send a message or call a contact with my Apple Watch, what message or free call? or I am paying it with my mobile plan?

    When I send a message or call a contact with my Apple Watch, what message or free call? or I am paying it with my mobile plan?

    Apple Watch is just an extension of your iPhone.

    If you send a message or make a call, you would via the paired iPhone.   Just as if you had sent the message to the iPhone or telephoned him with the iPhone.

  • Hello Apple ID I opened gmail but when I'm active with their yahoo what should I do now?

    Hello
    Apple ID, I opened gmail but when I'm active with their yahoo

    What should I do now?

    Hello

    You ask your question in the iPhone forum.

    Do you jailbrake the iPhone?

  • When I do a race with my Apple Watch I don't have a frequency heart displayon the session screen. When I then sync my activity with my iphone there is also no average heart rate on the completion of my activity. How can I get my heart rate displayed?

    When I do a race with my Apple Watch I don't have a frequency heart displayon the session screen. When I then sync my activity with my iphone there is also no average heart rate on the completion of my activity. How can I get my heart rate displayed?

    Hello

    Mode power saving can be activated.

    To check this, on your iPhone, in the application of the watch, go to: Watch My > Workout - if it is currently enabled, disable power saving Mode.

    (When the power saving Mode is enabled, it disables the sensor of heart rate during workouts running).

  • iPhone s 6 Siri unable to complete phone calls

    I have an iPhone 6 - all the IOS current updates have been made.  Siri can look up a person's phone number, but is unable to complete the call.  I get a message like "I'm sorry, that I can do it right now."  It lasts for weeks.  I turned off the phone and rebooted, I turned Siri on and outside, but nothing seems to work.  Others are experiencing the same problem after my review of the discussion forums, but Apple has not responded.  Any ideas >

    mshamilton1908 wrote:

    ... yet, Apple has not responded.  Any ideas >

    Well, that's because Apple does not participate in the forum. This is a user to user support forum. So, is the only troubleshooting you did a restart and a reset? You have a good internet connection for Siri? I just tested mine before responding, and completed all three calls I tried 3 different contacts.

  • iPhone 5 s can not active with the Apple ID

    My 5s iPhone has just been reset, however, I could not active with my ID to iCloud. A single pop up notification "could not use this apple ID active thi iPhone in the parameter list iCloud, we saw again.» Then, I removed it from the list, but I still can not active there.

    Hi Phuc Bo,

    Looks like you were using your iPhone very well, but after a reset you can activate it no longer.

    Please scroll through this article for help.

    If you can not activate your iPhone - Apple Support

    Best regards.

  • Unable to draw the table 1 d with a cluster of 2 items on a XY Chart

    I am unable to draw a table 1 d with a cluster of 2 items on a XY Chart. The data displayed at the entrance in the graph, but nothing is drawn. I'm trying to draw a line connecting each point generated.

    You need a registry change on the inside of loops as well.

    But beyond that, you create too complicated a structure.  You create several plots of 1 point and not a single multipoint parcel.

    See attachment for the change that works.

Maybe you are looking for

  • Satellite L350 - 16L: could not find the SATA drivers to install Win XP Pro?

    I want to install XP Pro.Can not find a driver for a SATA drive. nLite will incorporate into xp driver SATA and install XP and then install any driver and the program.You will connect to the SATA driver, please I don't know who is right. Thank you Po

  • Error code persistent 646 for KB973475 KB973443, KB975958. Vista 64

    Manual updates even tried.  MS scrub ran malware.  Do not use Outlook.  Tired of trying another web options.   A no updates began early November.  Tired of seeing load updates before closing.  There is a chance that I'll ignore who actually updated :

  • format a hard drive from the old computer

    I got a hard drive of 250 GB desktop a replaced albums which I now use as an extra external hard drive.  Externally has never been formatted since the abduction and there are several files that have been transferred to the new office.  Now, I bought

  • My office seems locked. I can't click on anything.

    My office is locked. All the icons are not letting me click on them. I can click on the bottom of the task bar. Also I can't right click on the desktop at the top of the page either.

  • Age of Empires 2 download

    Age of Empires 2 is one of the best games of that MS never did, but he is so old that there is no more money.  Any chance of a free full download?  If this isn't the case, I noticed that the trial download is still online but has stopped working.  If