Is possible to send the Iterator content to XSQL page ?

Hi all,
I have a requirement to create a Search Form (using ADF Search Form) , display the "search result" on the page, then by pressing a button, the "search result" is converted to XSQL page.
I create a Custom XSQL Action Handler (ADFViewObject.java) like in Steve Muench's ADFToyStore to handle this.
The problem is : When I run it and press the button I get this error :
Oracle XML Developers Kit 10.1.3.1.0 - Production
XML-25014: Resulting page is an empty document or had multiple document elements.
Below is my code :
CashInView1ResultIterator is the iterator used by search result.
cashin.xsql :
<?xml version="1.0" encoding='windows-1252'?>
<!--
| Uncomment the following processing instruction and replace
| the stylesheet name to transform output of your XSQL Page using XSLT
-->
<?xml-stylesheet type="text/xsl" href="pdf.xsl" serializer="FOP"?>
<xsql:action xmlns:xsql="urn:oracle-xsql" handler="itt.general.util.ADFViewObject"
iterator="CashInView1ResultIterator">
</xsql:action>
On the button's backing bean :
public String pdf_action() throws IOException {
ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
//HttpSession session = (HttpSession)ectx.getSession(false);
//session.invalidate();
System.out.println("xsql");
response.sendRedirect("../cashin.xsql");
return null;
What is wrong here ?
Thank you very much,
xtanto

Hi Steve,
I have not tried the ADFToyStore demo. and I think the context is rather different, ADFToyStore use Struts data page to call the xsql page, while in my application I use ADF Faces.
And I dont know how to integrate XSQL with adf faces.
Could this be the problem ???
I call the XSQL page from backing beans :
public String pdf_action() throws IOException {
ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
response.sendRedirect("../cashin.xsql");
return null;
Thank you,
xtanto

Similar Messages

  • Is it possible to send the MediaElement's video content to Directx pipeline?

    Hi,
    Is it possible to send the MediaElement's video content to Directx pipeline then render that video content into Directx back Buffer?
    I don't want to use MediaEngine or Windows media foundation because there's more work for me to do by using MediaEngine.
    I would like to use C#, XAML, Directx and MediaElement.
    Regards,
    Weera

    Hello,
    The VideoBrush is only supported in Silverlight apps. It is not supported for Runtime apps.
    AFAIK it is not possible to pass the MediaElement to the SurfaceImageSource (although we made changes to the underlying architecture so both the ME and XAML are using DirectComposite to render the UI elements, so this may be theoretically possible but is
    not exposed or documented to my knowledge).
    Again the Media Engine is the recommended technology for direct interop with video and D3D. Please take a look a this sample for more information on using the Media Engine with D3D:
    Media engine native C++ video playback sample
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Can I send the entire contents of a mailbox to another person as a .zip?

    I have a mailbox folder (MobileMe) that I specifically created in Snow Leopard Mail to segregate several hundred emails from the rest of my inbox. I would like to send the entire contents of this folder to someone via MobileMe - is this possible?
    In other words, how do I insure that someone else who is using Snow Leopard Mail will be able to view and open all the emails in the folder that I want to send to them (as if they were looking at the same folder on my own computer)?
    Is there a file somewhere in my user library that I can simply copy to a new folder, zip, upload to MobileMe, and send someone the download link to that will accomplish my goal?
    Many thanks!

    The mailbox you created in mail will be in your user account folder>Library>Mail>Mailboxes. You should see the MobileMe folder that you created in Mail.
    I'm not sure how it would work if you have attachments involved. If so, you will have a folder for attachments and messages. If so, maybe you would have to copy the whole mailbox.
    If it just has a Messages Folder, then all your messages are there. You can copy and send that.

  • Cannot send email via AOL on iPad2 - "A copy has been placed in your Outbox. Sending the message content to the server failed."

    My CEO has an ipad2 and I set it up w/ AOL.  She cannot send any email via her AOL account from her iPad.  She gets a message that says "A copy has been placed in your Outbox. Sending the message content to the server failed."   We've tried it on wifi and on 3G (Verizon version).  I've removed the account and added it, I've tried setting it up as an IMAP account vs. using Apples standard AOL mail setting and nothing seems to work.  The SMTP settings are smtp.aol.com, port 587.  I've tried adding an alternate server/smtp, but I haven't been able to find anything that works.  Any advice or other people having this issue?  It works fine sending an email from her aol web mail.  And unfortunately, having her sign up for a gmail account is not an option.  Thanks

    Interesting.  Firstly I have been on AOL since the early 90s with no current intention to switch as my primary personal email account.
    I have two email accounts on my iphone - AOL and my email from my business website.  I deleted both and then recreated first the business account and then the AOL account.  Same error.  Then I wasn't sure what you suggested but I turned off the AOL SMTP server and selected the business email SMTP server by turning it on with the same result.  I still get the error "A Copy has been placed in your Outbox.  Sending the mssage content to the server failed."
    Perhaps this problem will get fixed by IOS 6.   AOL will not talk to me unless I pay and Apple says its not their problem.  So for the time being I use the AOL web interface in the iPhone's Safari to send emails from the phone.

  • TS3899 Tried all the tips on line. Every time I try to send an e-mail, it gives me this message, "A copy has been placed in your Outbox. Sending the message content to the server failed" Any help in how to resolve would be appreciated

    I went through all the steps to try to resolve getting the message in a box every time i try to send an e-mail. What next ?
    Message is " A copy has been placed in your
                        Outbox. Sending the message content to the server failed."
    Any assistance would be greatly appreciated. My internet works fine as I can send e-mails from my Yahoo account on my MAC no problem.
    Address is fine etc.

    How long has it been going on? I've had my yahoo mess up and if i wait a bit it resolves itself. Yahoo is doing something with their servers and it messes with your mail if your mail happens to be on one of those servers.

  • Possible to send the 50,000 records at a time using proxy?

    Hi All,
    I am using the proxy to send the data form SAP to PI and then send it to Receciver by using JMS. Here i have a small issue.... is it possible to send the 50,000 records at a time using proxy? If not please suggest me how can i send bulk of records through proxy?
    Thanks
    Karthik.

    is it possible to send the 50,000 records at a time using proxy? If not please suggest me how
    can i send bulk of records through proxy?
    you can try this in steps...do not go for a BigBang testing :)....check how much your XI system can handle at a time...then you may need to tune the system parameters to accomodate more message size.....how to do this??...check the below document..section 3.9.2 (Special Cases)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2016a0b1-1780-2b10-97bd-be3ac62214c7
    Regards,
    Abhishek.

  • Sending email error with Yahoo: "A copy has been placed in your Outbox. Sending the message content to the server failed."

    HELP!  Why am I getting this error message? It's driving me crazy! When I try to send an email,  the message stalls in the outbox and the following message pops up -  "A copy has been placed in your Outbox. Sending the message content to the server failed." I have deleted and reinstalled the account, restarted the phone, etc - what the heck? The emails work just fine at Yahoo online, so the account it fine...I don't want to hard reset the phone, as I had to do that recently and it's a pain - any suggestions?

    OR they are the right settings but you are trying to send through a different internet provider or 3G provider, that does not allow that SMTP server to send email.
    if I send email from 3g or someone elses wifi on a different ISP, it will not work, because it does not allow that server to be contacted. this is normal.
    What you want to do is setup a gmail account and use their SMTP server settings for the defauly outgoing server. that way you dont have to worry about this.

  • A copy has been placed in your outbox.  sending the message content to the server failed.  my iphone email

    I have been using my iphone for almost a year and after my email address was hacked yesterday by a diet berry fake email, i can send out an email from my phone.  I have removed, rebooted, removed, etc.....and changed my password, still can't send out an email.
    Error Message:  A copy has been placed in your outbox.  Sending the message content to the server failed.
    Thanks

    OR they are the right settings but you are trying to send through a different internet provider or 3G provider, that does not allow that SMTP server to send email.
    if I send email from 3g or someone elses wifi on a different ISP, it will not work, because it does not allow that server to be contacted. this is normal.
    What you want to do is setup a gmail account and use their SMTP server settings for the defauly outgoing server. that way you dont have to worry about this.

  • A copy has been placed in your outbox. sending the message content to the server failed

    all of the sudden my phone wont send emial but will receive them. I have tried everything suggested as far as turn on/off, delete acct and set it up again and nothing seems to be working. Can someone help me please?? the error message i receive is "a copy has been placed in your outbox. sending the message content to the server failed"

    I think what happened to me was that my yahoo account was compromised by http://thenextweb.com/insider/2013/01/07/yahoo-mail-users-hit-by-widespread-hack ing-xss-exploit-seemingly-to-blame/
    Yahoo responds to these reports at the end saying they fixed the issue.  I think what that my mobile yahoo mail was somehow blocked by yahoo because that was the device that i logged into right before (the hacker) blasted all of my inbox.  That is the only thing I can think of.  Exactly 24 hours later I was able to send email.  I did figure out that for the iPhone 4gs you can go into your settings and yahoo mail and change the outgoing server from yahoo to gmail if you have gmail set up on your phone and that will allow you to send from yahoo through gmail.  I also sent a feedback form to yahoo, that is the only way to contact them, and have heard nothing.  There is nothing about this on their support site.  So let us know if after 24 hrs you are magically able to send.   Yahoo really should use that log in history where they can see that a log in has occurred from a strange IP to block that and warn the user.   My log in history right before this happened went:  home IP in the US, home IP, homeIP, home IP, Morroco, home IP, home IP, etc.    So it is blatantly obvious.  My little software company can block IP's, I know yahoo can.

  • I can no longer send mail....today I cannot get mail..., I can no longer send mail....today I cannot get mail...a message pops up that says:A copy has been placed in your outbox.Sending the message content to the server failed....any help?

    I can no longer send mail....today I cannot get mail..., I can no longer send mail....today I cannot get mail...a message pops up that says:A copy has been placed in your outbox.Sending the message content to the server failed....any help?

    How long has it been going on? I've had my yahoo mess up and if i wait a bit it resolves itself. Yahoo is doing something with their servers and it messes with your mail if your mail happens to be on one of those servers.

  • Sending the message content to the server failed. Attachment.

    So I've been a Eudora user for more than a decade and just thought I'd try Mail and have been using it for about a month. This evening I was in the midst of writing messages and about halfway through, Mail would no longer send outgoing messages that contain attachments (I had sent messages earlier in the evening with attachements). I just get a response that says, "Sending the message content to the server failed." I have no problem sending messages that don't have an attachment.
    I have two separate email accounts that I use. For both I use my own domain as the smtp server which is hosted through aplushosting.com. It's smtp.riversandcreeks.com. Server port is set to 25 and authentication is set to none. Everything has worked fine until this evening (and it literally stopped halfway through my evening email session so I'm sure this is not related to a system upgrade or other software changes).
    I have spent about two hours trying all different settings. I tried changing authentication, screwed around with Network settings, and did just about anything I could think of (or read about trying after doing several searches on this board). I also trashed the Outbox in my Library and restarted the machine.
    In one of the posts where someone seemed to be having the same problem, I saw something about changing the MTU setting but I'm not familiar with what that means and there was not enough background to explain.
    My service provider is Comcast (just use them for the high speed connection but not the mail services) and I have one of their older RCA modems hooked into a wireless router that I access via airport.
    If anyone has suggestions (or can refer me to other posts on this forum I may have missed please let me know).
    Thanks!
    Tom
    G4   Mac OS X (10.4.6)  

    However, there are
    too many variables in your setup to yet be sure of
    the cause.
    Agreed. There are too many variables and they only seem to increase...
    You describe your modem as older, but you have not
    reported the make of router?
    It's a Microsoft router (my other half's employer). It has worked fine though for more than two years.
    Does it have ethernet
    ports, as well as wireless? If so, do you have a
    cable to test without wireless?
    Yes, tried all that.
    Have you tried powering down modem, router and Mac
    for a couple of minutes, and then powering back up,
    beginning with the modem, and then router?
    Yes, tried that too.
    MTU may be a factor, but the way things changed in
    mid sending, is a little odd, and it is not as
    frequently a factor with wireless. Later, I can give
    you a link that may help check MTU and wireless, but
    I need to research a bit on that.
    Do you have a Comcast address, and could you set up
    that Comcast account for a test?
    That would be another project but I suppose I could call Comcast and figure it out and it may provide some additional insight. However that will not solve the problem as I am highly mobile and am using different hot spots on a daily basis. I was down at the Apple Store and tried on their wireless network (so presumably eliminating all the variables with my home network and isp and on the most Mac-friendly network I can find). Same problem. Messages with attachments won't go out but all other messages will. I do get a slightly different error message there. It says "Verify that you have addressed this message correctly. Check your SMTP server settings in Mail Preferences and verify any advanced settings with your system administrator." I also have a ticket with my hosting service. They say they have not made any recent changes that would result in this problem. Will keep pursuing with them too to see if they have additional ideas.
    I'm really perplexed as to what would be distinguishing between mail with attachments vs. those without. As an additional test I fired up Eudora and I can send out attachments fine.

  • Error message: "sending the message content to the server failed"

    Not sure what I did, but when I try to send email (yahoo account) I receive the following:
    "A copy has been placed in your Outbox.  Sending the message content to the server failed.  I am still able to receive messages."
    How can I correct this?

    See:
    iOS: Unable to send or receive email

  • How to send the file contents in the application server to ftp server

    Hi,
    how to send the file contents in the application server to ftp server.
    regards,
    sree

    Test SAP FTP functions
    DATA: BEGIN OF MTAB_DATA OCCURS 0,
    LINE(132) TYPE C,
    END OF MTAB_DATA.
    DATA: MC_PASSWORD(20) TYPE C,
    MI_KEY TYPE I VALUE 26101957,
    MI_PWD_LEN TYPE I,
    MI_HANDLE TYPE I.
    START-OF-SELECTION.
    MC_PASSWORD = 'password'.
    DESCRIBE FIELD MC_PASSWORD LENGTH MI_PWD_LEN.
    *-- FTP_CONNECT requires an encrypted password to work
    CALL 'AB_RFC_X_SCRAMBLE_STRING'
         ID 'SOURCE' FIELD MC_PASSWORD ID 'KEY' FIELD MI_KEY
         ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD MC_PASSWORD
         ID 'DSTLEN' FIELD MI_PWD_LEN.
    CALL FUNCTION 'FTP_CONNECT'
         EXPORTING
           USER            = 'userid'
           PASSWORD        = MC_PASSWORD
           HOST            = 'servername'
           RFC_DESTINATION = 'SAPFTP'
         IMPORTING
           HANDLE          = MI_HANDLE
         EXCEPTIONS
           NOT_CONNECTED   = 1
           OTHERS          = 2.
    CHECK SY-SUBRC = 0.
    CALL FUNCTION 'FTP_COMMAND'
         EXPORTING
           HANDLE = MI_HANDLE
           COMMAND = 'dir'
         TABLES
           DATA = MTAB_DATA
         EXCEPTIONS
           TCPIP_ERROR = 1
           COMMAND_ERROR = 2
           DATA_ERROR = 3
           OTHERS = 4.
    IF SY-SUBRC = 0.
      LOOP AT MTAB_DATA.
        WRITE: / MTAB_DATA.
      ENDLOOP.
    ELSE.
    do some error checking.
    ENDIF.
    CALL FUNCTION 'FTP_DISCONNECT'
         EXPORTING
           HANDLE = MI_HANDLE
         EXCEPTIONS
           OTHERS = 1.
    Execute external commands (FTP Scripts)
    The following code shows the syntax of the FM 'SXPG_COMMAND_EXECUTE'. You pass it the external command created within transaction SM69 and it will execute it.
    DATA: ld_comline 
    LIKE sxpgcolist-name,
            ld_param    LIKE sxpgcolist-parameters,
            ld_status   LIKE extcmdexex-status,
            ld_output   LIKE btcxpm OCCURS 0 WITH HEADER LINE,
            ld_subrc    LIKE sy-subrc.
      REFRESH ld_output.
      MOVE 'FTP_DATA_IN' to ld_comline.         "Maintained using trans SM69
    Execute external command, contained in 'ld_comline'
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
           EXPORTING
                commandname                   = ld_comline
              additional_parameters   = ld_param  "Params passed to script
              operatingsystem              
    = 'UNIX'
           IMPORTING
                status                        = ld_status
           TABLES
                exec_protocol                 = ld_output
           EXCEPTIONS
                no_permission
                     = 1
                command_not_found
                 = 2
                parameters_too_long          
    = 3
                security_risk                
    = 4
                wrong_check_call_interface    = 5
                program_start_error           = 6
                program_termination_error     = 7
                x_error                       = 8
                parameter_expected            = 9
                too_many_parameters           = 10
                illegal_command               = 11
                wrong_asynchronous_parameters = 12
                cant_enq_tbtco_entry
              = 13
                jobcount_generation_error
         = 14
                OTHERS                       
    = 15.
      IF sy-subrc NE 0.
      ENDIF.

  • I forgot verification Asked Questions Is it possible to send the answers to my e-mail

    I forgot verification Asked Questions
    Is it possible to send the answers to my e-mail

    khalid
    This is not Apple. This is a user forum. We are users just like you.
    You will need to contact iTunes Support, http://apple.com/emea/support/itunes/contact.html (select Account Security as your help topic)
    Even after you reset your security questions, it is highly recommended you add a rescue email address. To do so, log in at appleid.apple.com and click on Password and Security. Answer the questions and then click on "Add Rescue Email Address:"

  • Iphone error yahoo mail- sending the message content to the server failed

    yesterday i changed my yahoo password (because my yahoo email acct started spamming all of my email contacts) and i also changed password on my iphone 4s settings but now cant send emails (can get them just fine)
    i get the error "sending the message content to the server failed" and the email gets stuck in the outbox.
    i have deleted the yahoo acct multiple times, rebooted the phone and restored network settings, added other yahoo smtp.mail.yahoo.com server, went to the genius bar for an hour, but no luck.  tried a new iphone at apple store and added my yahoo account, but still had the same error from their phone.
    they said contact yahoo- currently awaiting that reply.
    my gmail acct sends emais fine thru iphone.
    any help appreciated
    thanks
    jb

    hi - i posted this in another thread but meant to post it here - oops - i've been following this thread and others for days now - i also have been having safari/email 'sending message content to server failed'/flash 10 plugin problems since latest security/java/qt software update - here's what i recommend and what i'll be doing from now on - before i install any updates via software update i'll be saving the download/installers to a folder as suggested in another topic thread - next i'll be disconnecting my router - and connecting the modem directly to the computer - bypassing the router - once i'm sure configurations/internet/mail are functioning correctly i'll connect the router - all this time my problems were with my router port settings - not safari or flash 10 plugin or mail app - go figure - hope this helps - peace!

Maybe you are looking for