Problems with different received message from sql function

Hello all!
I have a little problem with my BPEL process. I call a sql function that returns a string. In this string I have a xml. The returned message can be something like:
<error><id>id_error</id><message>descr_error</message></error>
or
<comm>
<header>
children tags
</header>
<body>
children tags
</body>
</comm>
As you see, I can receive two types of messages. Of course, the process transforms string -> xml.
Depending on the type, the process must choose between two flows.
My questions are: what should be the solution(the steps) to determine what type of message the function returns? In my project, where should I define the same message types in order to assignate them to a variable? In a xsd?
Thanks in advance!!

seems like you could solve this with a <pick>. Take a look at the section "One Request, One of Two Possible Responses" in chapter 13 of the bpel developer guide.

Similar Messages

  • Problems with importing text messages from PC Suit...

    Problems with importing text messages from PC Suit 7.1.18.0 to my Nokia 5800
     I am trying to import a csv file that contains text messages (Note that this file was created using PC Suit 7.1.18.0) to a subfolder that I have created to My Folders but PC Suits only imports the text messages to the Draft folder. Note that initially it shows that the messages are import in the correct folder but after a refresh it shows them in the Draft Folder. Is their any setting that I should change in the PC Suit or the phone? My computer runs on Windows XP Service Pack 3 and the Nokia 5800 was upgraded to the latest firmware v20.0.012
     Thanks for your help

    Most phones only allows importing of draft and archived box for SMS.
    To do a restoring, you need to backup the SMS as a .nbu file using PC Suite and restore later.
    If you got an SD card, you can also do a backup on the SD Card (backup.arc) then restore later (reset and restore: backup.arc and mmc).
    What's the law of the jungle?

  • Problem with calling a report from a function module. Please help! URGENT!

    Hi Experts,
       I have a scenarion like this:
      XI -
    > Function Module -
    > ABAP Report
      From XI I am callingf a function module in another R/3 system. This function module inturn calls a ABAP report using SUBMIT statement. The function module and the report reside in the same R/3 system.
      I am calling the report like this:
    SUBMIT yseg_save_bp_data WITH SELECTION-TABLE rspar
                                 AND RETURN.
    The problem is when I run the function module directly in the R/3 system then it calls the report without any problem.
    On the other hand, when I call the function module from XI then the report is not called. On debug mode I found that the program exits just at the Submit statement. Why is this strange problem?
    What mistake am I doing? Is there any limitations or restrictions with SUBMIT statement.
    What is the correct way of using submit statement in this scenario?
    Kindly help me!
    Thanks
    Gopal

    Hi Rao,
       I have created the FM as remote RFC. Infact XI is able to call the FM. Only problem is when it reaches the point where the report is called via SUBMIT it exits.
    Help me please!
    Thanks
    Gopal

  • Problem with PSE9 - Receiving message window - CAHeadless Debuger Event.

    In my last request for Technical support (Case # : 0181931685), I have 2 problems. One about inability to remove PSE9 and reinstalling was corrected by following instructions from Tech.Support. The second problem is still with me. The message window CAHeadless Debuger Event is poping up with the message ...\...\Src\DataManager.cpp-410. The window is having one button <Continue>. When I press the Continue button, everithing work and look OK until next time the windows pop-ups. The computer is new Dell Studio 8100 running OS Windows 7 Home Premium 64. Originaly I started using PSE9 on old Dell with Windows 7 Home premium 32 without any problem. Any advice how to stop this un-plessant message comming?
    Thanks a lot! George.

    Hi all,
    this case is closed it was catalog issue. I corrected this by creating new catalog and importing pictures from hard drive. All is now correct.
    George

  • Usage of WndProc for receiving message from skype c#

    i am trying hard to capture & save skype conversation to file. i go through this tutorial
    http://galratner.com/blogs/net/archive/2011/08/27/how-to-record-skype-voice-conversations.aspx also download wpf based
    the source code which i run and got the success.
    i follow the everything but my application is not working. the main problem is regarding receiving message from skype through
    WndProc() function. my WndProc() function is calling only once but the application which i download there i saw their
    WndProc() function is calling repeatedly for getting message from skype. i am trying for long time to capture the skype conversation but still no luck.
    i already post few questions for capturing the skype conversation in this forum but not getting no expected clue. here i attach the link of my win application and that is
    https://onedrive.live.com/#cid=C4A6F16F34D7540A&id=C4A6F16F34D7540A!126 just download the skypecalltest and run it and definitely notice that
    WndProc() function is calling repeatedly for getting message from skype.
    here is my WndProc() body
    protected override void WndProc(ref Message m)
    Boolean handled = false;
    if (m.Msg == NativeCalls.APIAttach && (uint)m.LParam == NativeCalls.SKYPECONTROLAPI_ATTACH_SUCCESS)
    // Get the current handle to the Skype window
    NativeCalls.HWND_BROADCAST = m.WParam;
    handled = true;
    m.Result = new IntPtr(1);
    // Skype sends our program messages using WM_COPYDATA. the data is in lParam
    if (m.Msg == NativeCalls.WM_COPYDATA && m.WParam == NativeCalls.HWND_BROADCAST)
    COPYDATASTRUCT data = (COPYDATASTRUCT) Marshal.PtrToStructure(m.LParam, typeof(COPYDATASTRUCT));
    StatusTextBox.Items.Add(data.lpData + Environment.NewLine);
    // Check for connection
    //if (data.lpData.IndexOf("CONNSTATUS ONLINE") > -1)
    // ConnectButton.IsEnabled = false;
    // Check for calls
    IsCallInProgress(data.lpData);
    handled = true;
    m.Result = new IntPtr(1);
    m.Result = IntPtr.Zero;
    if (handled) DefWndProc(ref m); else base.WndProc(ref m);
    please please help me to capture the problem and guide me where i need to rectify as a result
    WndProc() should work as expected. thanks

    Hi Mou_Kolkata,
    Since you are trying to get Skype conversation which used Skype API, it is out for support from C# forum and you have to post on below forum:
    http://community.skype.com/t5/English/ct-p/English?profile.language=en
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hi, my iPhone was stolen and now i can't receive messages from people with iPhones. What do i do to fix this problem, and get my old messages? This has been a problem for 3 weeks!

    Hi, my iPhone was stolen and now i can't receive messages from people with iPhones. What do i do to fix this problem, and get my old messages? This has been a problem for 3 weeks!

    This won't get your old messages back but will help with new ones: https://selfsolve.apple.com/deregister-imessage

  • TS3999 Received 2 appointments, same date, same content, just different hours. Since then I receive message from iCal: Access to "Subject" in account "iCloud" is not permitted. The server responded "403" to CalDAVWriteEntityQueueableOperation. It's a bug!

    Received 2 appointments from a customer, same date, same content, just different hours. Since then I receive message from iCal: Access to “Subject” in account “iCloud” is not permitted. The server responded "403" to CalDAVWriteEntityQueueableOperation. In my opinion this is a bug, because iCloud is not able to handle 2 appointments at the same date with same content, just at different hours. The different hours should be enough individuality for each event on calendar.

    In my opinion this is a bug, because iCloud is not able to handle 2 appointments at the same date with same content, just at different hours. The different hours should be enough individuality for each event on calendar.
    Here are 4 identical events (other than time) in Calendar on my mac
    Here is how they appear at iCloud.com
    I concluded that iCloud has no problem with identical events seperated by time, so the question becomes what is wrong with your setup as opposed to what is wrong with iCloud.

  • I am having some trouble with receiving messages from iMessage users when I don't have my iMessage turned on. When I called for support, I spent 30 min waiting and the woman's response to me was "Turn on your iMessage." I prefer not to use it

    I have an iPhone 5s and a MacBook Pro. Ever since I updated my computer software to Yosemite, it linked my Apple ID with my phone number and I am not receiving messages from iMessage users on my phone, but rather to my computer. I don't like to use iMessage so I keep it off and would like to receive all messages as SMS texts. I have already tried changing my Apple ID password, logging off of my Apple ID in iMessage on my phone and turning it off, and changing settings on messages on my computer. Nothing is working. Either the messages continue to go to my computer or the messages trying to be sent say they cannot be sent.
    After spending 30 + minutes waiting for technical support, the woman helping me (who did not give me her name) told me I should just turn on iMessage. After explaining that I don't like having iMessage on and asking why it worked for at least a year up until this point she said "things change and sometimes we don't know why things do what they do". She asked me about various other things on my phone such as bluetooth and told me to turn on and off airplane mode and the call disconnected. I have not been contacted since, even though she has my phone number.
    I am hoping for some help and also hoping people don't get the type of service I received tonight.

    I think you can solve your problems by removing your AppleID email address from BOTH the Messages setting on your iPhone and the iMessages settings on your Mac.
    On iPhone:
    Settings > Messages > iMessage > Dissabled
    Settings > Messages > Send & Receive > touch the "(i)" < touch "Remove This Email"
    On Mac:
    Open "Messages" application
    Click "Messages menu > Preferences
    Click "Accounts"
    Select your AppleID account
    Under the "You can be reached for messages at" settings, uncheck your AppleID email address and your phone number
    Then uncheck the "Enable this account" setting
    And lastly, ask all of your friends with iPhones to delete all iMessage conversations (blue bubbles) in their entirety.
    To test, send a friend a new text using their phone number (not their email address) and watch the color of the bubble.  If it's green then you are using SMS.

  • Problems with sending/receiving picture messages

    Does anyone know how to sort problems with sending/receiving picture messages on the iphone 4S?  I've gone through all the re-setting etc at the place I bought it and it still doesn't work!! Spoken to 02 and they said it's an issue with Apple software?? Any help appreciated.

    Can you send/receive SMS's? If so, and you can't send/receive MMS's, and MMS is turned on in Settings, 99.9% of the time the problem is on your carrier's end...most likely MMS is not provisioned properly on your account, regardless of what your carrier is telling you. Call back & have them remove MMS from your account & then re-provision your account for MMS.

  • How do I get received messages from others to show up on my different Apple devices, such as my iPhone

    How do I get received messages from others to show up on my different Apple devices, such as my iPhone or iPad or iPod Touch, etc. I can see their reply on the device I was using at that moment but not on the other devices even iMessaging is turned on. Is there a way to refresh to incoming messages when one picks up one of their other Apple devices?

    Hi there lkbluntzer,
    You may find the information in the article below helpful.
    Send and receive messages
    http://help.apple.com/iphone/7/#/iph01ac18d71
    See what time a message was sent or received. Drag any bubble to the left.
    -Griff W. 

  • TS5185 i had an i phone now i have  SG4.... i cant receive messages from people with i phones. it shows as i message to them.

    what should i do?

    Hello Jmm02012,
    It sounds like you are not receiving messages from other iPhones after switching to an Andriod device.  I found an article with the steps you will need to take to straighten this out:
    Symptoms
    This article will provide assistance if you're experiencing any of the following symptoms:
    You are unable to receive SMS on your non-Apple device when sent from another person using an iPhone.
    You are unable to send SMS to a non-Apple device because they are sent as an iMessage.
    Resolution
    If you are experiencing one of the symptoms above, the cellular phone number may still be registered with iMessage. iMessage is registered with your cellular telephone number when you turn it on with your iPhone. If you want to deregister your phone number:
    Tap Settings > Messages and turn iMessage off
    If you still cannot deactivate iMessage after you perform the steps above, or if you no longer have access to the iPhone, please contact Apple support for assistance.
    If you don't have access to your old iPhone, you will need to reach out to Apple support for additional assistance.
    You can find the full article here:
    iOS: Deactivating iMessage
    http://support.apple.com/kb/TS5185
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Problem with pdf display downloaded from application server

    Hi all,
    I have a problem with displaying pdf downloaded from application server (saved in BINARY MODE).
    I am getting the pdf output of adobe form in FPFORMOUTPUT-PDF as rawstring back to my program and then converting that rawstring into binary form using the function module SCMS_BINARY_TO_STRING.
    Now, when I export the data to presentation server directly using cl_gui_frontend_services=>gui_download, the pdf is downloaded properly.
    However, when I save the data to application server file by looping at the internal table obtained from SCMS_XSTRING_TO_BINARY and using TRANSFER, and subsequently downloading the file in "unconverted format" from AL11 to my desktop, I am getting a "blank" pdf file (with the same number of pages as the one downloaded using gui_download).
    I have tried different encodings during download but in those cases i get corrupted pdf message. only the default option of INTIAL value seems to work.
    I am forced to believe that there is a problem in my code which saves the data to app server but I cant find any solution that is logical. Any solution to this would be greatly appreciated.
    Regards,
    Sasi
    Edited by: Sasi Upadrasta on Sep 29, 2010 7:55 PM

    used a program to read the file from appl server and then downloading it to desktop.

  • Cisco ASA 5505 - problem with negotiating IP address from PPPoE

    Hi all,
    I have problem with negotiating IP address from PPPoE. There is following design: ISP providing vDSL ending on VDSL modem in bridge mode. Behind brigde modem is ASA 5505 terminting PPPoE on OUTSIDE. Everything works fine except  negotiating IP address from PPPoE server.
    I have configured ASA 5505 with (ASA Version 9.2(2)4) for PPPoE like this [1.]. But If i try to "show" IP address on OUTSIDE interface a get this [2.], ok strange but let's continue. If list "show vpdn pppinterface id 1"  i get this [3.]. Seems that I got public IP addres what was right, but this IP address was not associated with interface OUTSIDE?
    Well, if I set IP address manually like this [4.] and also set a default route everything works fine but what will happen when ISP change reservation for my IP address or default gateway. 
    I have tried different version of ASA OS like 8.4, 9.1 but without luck. 
    Can anybody help me. Thanks a lot.
    Regards
    Karel
    [1.]
    interface Vlan100
    description >>VLAN pro pripojeni do internetu<<
    nameif OUTSIDE
    security-level 0
    pppoe client vpdn group O2
    ip address pppoe setroute
    vpdn group O2 request dialout pppoe
    vpdn group O2 localname O2
    vpdn group O2 ppp authentication chap
    vpdn username O2 password *****
    interface Ethernet0/0
    description >>uplink O2 vDSL<<
    switchport access vlan 100
    [2.]
    ciscoasa(config-if)# show ip address vlan 100 pppoe
    ciscoasa(config-if)#  0.0.0.0 255.255.255.255 on Interface: OUTSIDE
    ciscoasa(config-if)# show interface vlan 100 detail
    Interface Vlan2 "OUTSIDE", is up, line protocol is up
     Hardware is EtherSVI, BW 100 Mbps, DLY 100 usec
            Description: >>VLAN pro pripojeni do internetu<<
            MAC address f44e.05d0.6c17, MTU 1492
            IP address unassigned
      Traffic Statistics for "OUTSIDE":
            28 packets input, 1307 bytes
            31 packets output, 721 bytes
            0 packets dropped
          1 minute input rate 0 pkts/sec,  3 bytes/sec
          1 minute output rate 0 pkts/sec,  1 bytes/sec
          1 minute drop rate, 0 pkts/sec
          5 minute input rate 0 pkts/sec,  0 bytes/sec
          5 minute output rate 0 pkts/sec,  0 bytes/sec
          5 minute drop rate, 0 pkts/sec
      Control Point Interface States:
            Interface number is 15
            Interface config status is active
            Interface state is active
    [3.]
    ciscoasa(config-if)# show vpdn pppinterface id 1
    PPP virtual interface id = 1
    PPP authentication protocol is CHAP
    Server ip address is 88.103.200.41
    Our ip address is 85.71.188.158
    Transmitted Pkts: 20, Received Pkts: 16, Error Pkts: 0
    MPPE key strength is None
      MPPE_Encrypt_Pkts: 0,  MPPE_Encrypt_Bytes: 0
      MPPE_Decrypt_Pkts: 0,  MPPE_Decrypt_Bytes: 0
      Rcvd_Out_Of_Seq_MPPE_Pkts: 0
    ciscoasa(config-if)# show vpdn session state
    %No active L2TP tunnels
    %No active PPTP tunnels
    PPPoE Session Information (Total tunnels=1 sessions=1)
    SessID TunID Intf     State       Last Chg
    22298      2 OUTSIDE  SESSION_UP  561 secs
    [4.]
    interface Vlan100
     description >>VLAN pro pripojeni do internetu<<
     nameif OUTSIDE
     security-level 0
     pppoe client vpdn group O2
     ip address 85.71.188.158 255.255.255.255 pppoe setroute
     route OUTSIDE 0.0.0.0 0.0.0.0 88.103.200.41 1

    You're right that the ACL should not affect otherwise allowed communications to the interface address.
    Try disabling the ip audit feature on your outside interface.
    no ip audit interface OUTSIDE AP_OUTSIDE_INFO
    no ip audit interface OUTSIDE AP_OUTSIDE_ATTACK

  • Still can't receive messages from Iphone Users

    Greetings,
    I know there are many topics asking similar questions if it's googled, and I think I have read through almost all of them to no prevail. I know veterans of these boards probably get tired of seeing the same topics, but im desperate and will try to keep it quick. I really appreciate any help.
    I recently upgraded from a 4S to a Galaxy S5 and have not been able to receive messages from Iphone users since. I still have my old Iphone. Here are the steps I've tried:
    1) Ensure "IMessage" is disabled in my old phone
    2) Unregistered my phone number with my Apple ID. I currently have no phone numbers registered with them
    3) Changed my Apple ID Password
    4) Unregistered my Iphone with my ITunes Account.
    5) I also have a Macbook Air and a 2010 model IMac. I have also ensured I am signed out on those devices and my phone number isn't linked in anyway I could find.
    6) I called Apple 3 Days ago and the representitive was very nice and professional but ultimately was incorrect. He advised me that the new IoS7 is more advanced and should check about every 12 hours to see if the user on the other end has an active IMessage account. He said to wait 24 hours just to be safe. He also advised people running older IOS systems could take up to 3-4 days to contact me correctly. Furthermore he said if after that time frame their phones still sent me IMessages instead of SMS then THEY were having problems and should call Apple. I just really doubt that is the case.
    I have tested it out with 5 Iphones now with help from some friends, all running IOS7 and still no luck 3 days after the phone call to Apple.
    7) I tried logging back into IMessage today on my Macbook and it worked, I was still able to send and receive texts from Iphone users. This seems like it should not be possible since it is not linked to my phone number anymore. It is logged into the same Email that I used to have linked to my phone number.
    Now as others have said, If I have them hold down the bubble and send as text message 3 times their phone will remember and keep sending my texts, however that is unreasonable to ask everyone to do. There should just be a way to completely delete your Apple ID. Is there anything I'm possibly overlooking? I really appreciate any help.

    I am right there with you. This describes my problem to a T. Only other issue I am having is group texts. Iphone users who include me in a group text still send as imessages as well, so even if I text them first and they reply, it send as an imessage. Get it together apple.

  • Cannot receive messages from one person only...

    My friend and I both have iphone 4s (with iOS 6.1.3). One day i stopped receiving messages from her. I can still receive an iMessage from her (but since neither one of us has data that is dependent on internet availability) but regular text messages won't come through. She can receive regular messages from me. I can receive regular messages from everyone else (including other iphone users). I don't know what happened. I have tried multiple suggestions i found online (including deleting and readding her contact, she did same, restarted phones, typed number manually, typing number twice etc.) but none of them work. If anyone could help it would be much appreciated!!

    I'm having a similar problem. I can receive texts from this one person but he cannot receive mine. I can also not call him but he can call me. He uses A T&T but does not have this problem when texting other verizon users. I have an Iphone 4S and he has an Iphone 5. This has been happening for 3 days. I have tried resetting the networks, restarting my phone,  and checking blocked contacts. Nothing is helping with the issue.

Maybe you are looking for

  • Lost all data on MacBook Pro anyway at all to get it back?

    2 days ago I spilled lemonade on my Mac accidentally so placed it on its side and let it dry. Every time I moved it liquid came out so I took it to the apple store for them to look at it. After looking at it they told me, everything on the inside is

  • Java permission errors

    I'm running loadjava logged in as sys and I keep running into errors creating : class org/joda/time/tz/DateTimeZoneBuilder$OfYear loading : class org/joda/time/tz/DateTimeZoneBuilder$OfYear Error while creating class org/joda/time/tz/DateTimeZoneBuil

  • Wide gamut or a standard gamut LCD

    I'm looking to buy a monitor for editing hd footage on a mac pro using cs 5.5. Should I get a standard or wide gamut display? Any recommendation would be appreciated. ty

  • IF logic in bex Query, only want to calculate keyfiugre with all values.

    Hi !  I have a pushasing flow with folowing key figur. But Im missing the invoice value but have the difference beetween them. _____________Invoice Quantiy  |  PO value (Good issue)  | Invoice value          |  PO vs Inv diff |  example one________2_

  • 802.1x and Remote Agent

    AD 2000 Domain, ACS appliance (running 3.3.1), remote agent on the Certificate authority. setup PEAP per instructions. When i try to login with a user on a desktop, it errors out. This is the error message i see in the RemoteAgent logs CSWinAgent 02/