[svn] 889: Add test case for BLZ-82 where HttpService should return multiple headers with the same name .

Revision: 889
Author: [email protected]
Date: 2008-03-21 13:08:05 -0700 (Fri, 21 Mar 2008)
Log Message:
Add test case for BLZ-82 where HttpService should return multiple headers with the same name.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-82
Added Paths:
blazeds/trunk/qa/apps/qa-regress/remote/MultipleHeadersTest.jsp
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/MultiHe aderTest.mxml

Hi again,
this may be old news to some people, but I just realized we can have the desired benefits I originally listed (encapsulation, reuse, maintainability, security) TODAY by using pipelined functions and using the table() function in Apex report region queries.
So the report query basically becomes, for example (if get_employees is a pipelined function)
select * from table(my_package.get_employees(:p1_deptno))
The only downside compared to a (weakly typed) sys_refcursor is that you have to define the type you are returning in your package spec (or as an SQL type). So it's a bit more coding, but it's still worth it for the other benefits it provides.
I like Apex even better now! :-)
- Morten

Similar Messages

  • [svn] 931: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 931
    Author: [email protected]
    Date: 2008-03-26 11:31:01 -0700 (Wed, 26 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - we need automated tests for this basic case.
    Doc: No
    Checkintests: Pass
    Details: RequestFilter was not handling multiple headers with the same name properly.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • [svn] 949: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 949
    Author: [email protected]
    Date: 2008-03-27 07:12:59 -0700 (Thu, 27 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - try again with legacy-collection true and false.
    Doc: No
    Checkintests: Pass
    Details: Another try in fixing this bug. When legacy-collection is false, Actionscript Array on the client becomes Java Array on the server and my fix yesterday assumed this case. However, when legacy-collection is true, Actionscript Array becomes Java ArrayList on the server. So added code to handle this case.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • Is it possible to search for multiple folders with the same name and...

    Is it possible to search for multiple folders with the same name and then select them all and change the permissions on just those folders .i.e. Search for the budget folders in all client folders and lock them down to just the project managers. Without having to go to each folder and apply the permissions.

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • For each loop in case of more file with the same name

    Hi, guys how works ForEachLoop in case of double file? Let's say that we got five excel file. A.xls, B.xls, C.xls, D.xls, A.xls. We got two file with A.xls. I'm going to assume that both file will be loaded. It's correct? 
    I'm asking this because I need to check if I got two file with the same name ( I got hundreds of file to load). And in the same time I need to avoid to load two file with the same title ( cause I could double the data)

    If there are duplicate file names in subfolders then you should fill the variable with the complete path. See C in this images:
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • WPC: unable to add different resources with the same name into a WPC page

    Hi,
    I got a WPC problem when adding different KM resources with the same name into a WPC page.  Only one KM resource is able to be added in WPC.
    For example:
    There two "article.html" with different content and RID:
    1. /company_a/article.html
    2. /company_b/article.html
    when adding these two html pages into a WPC page, only one page will be shown.
    This means that a WPC page is not able to contain resources with same file names.  I think the problem might lie on the resource-linking mechanism of WPC. WPC will add a resource link in the page folder, when a new resource is drag&dropped into WPC.
    Anyone has some good ideas to solve my problem? Thanks a lot.
    Regards
    Lei NING
    Edited by: Lei NING on Apr 15, 2008 4:16 PM

    As this is not possible and double entries cause this problem, why not just pu both napes in the contact details on the same number. IE John Smith & Peter Jones all in the first name, by doing this if you search your contacts either by searching for john, peter, smith or jones the number will show up and if either calls the number will show John Smith & Peter Jones, it may not be perfect but will work. As the phone only recognises a number if two seperate entries of the number exist with different names it cannot possibly know who is calling ?
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • I have multiple devices with the same cerificate, once I have a an exception for one, FF denys access to the others. I cannot change the certificates, I need to stop FF blocking them.

    I have multiple devices with the same cerificate, once I have an exception for one, FF denys access to the others. I cannot change the certificates, I need to stop FF blocking them.
    == This happened ==
    Every time Firefox opened
    == I attempt to access a web front end on an IBM SVC device

    You can't use the same certificate more than once.
    See also [[Certificate contains the same serial number as another certificate]]

  • I use 2 to 3 computers for my photo retouching, can I get them activated with the same serial number? for Photoshop Elements 13, and premier elements 13

    I use 2 to 3 computers for my photo retouching, can I get them activated with the same serial number? for Photoshop Elements 13, and premier elements 13

    You can activate any two of them at a time, but if you want to use it on a third computer you will need to deactivate one of them before you can do so. To do that, go to Help>Sign Out.

  • [svn] 4278: Add test case to qa-manual webapp on BlazeDS/trunk.

    Revision: 4278
    Author: [email protected]
    Date: 2008-12-10 09:08:12 -0800 (Wed, 10 Dec 2008)
    Log Message:
    Add test case to qa-manual webapp on BlazeDS/trunk. The test case calls a remote object to push a message to a destination and has a Consumer setup to receive messages sent to the destination. When the remote object and the consumer use different channel set instances (even if they contain the same channel) the consumer is only receiving the first pushed message. See BLZ-288 for more info.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-288
    Modified Paths:
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/messaging-config.mods.xml
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/remoting-config.mods.xml
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/services-config.mods.xml
    Added Paths:
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/com/
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/com/adobe/
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/com/adobe/samples/
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/com/adobe/samples/hsbc/
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/com/adobe/samples/hsbc/MessageSender.java
    blazeds/trunk/qa/apps/qa-manual/messaging/RPC2MsgLite.mxml

  • IPhoto: No pictures only broken-line/square boxes where pictures should be.  Scanning with the bar slide the pics appear for one or two seconds then are gone.

    Grandson Son sabataged my IPhotos!  Can't get pics to appear.  Only broken-line/square boxes where the pictures should be.  Scrolling with side bar brings up pics for 1 or 2 seconds then they are gone again.  HELP!  Please....
    Raefisch

    Restore from your back up is the most obvious way forward.
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to rebuild the thumbnails. It can take 3 or 4 goes for this to work

  • Used the add on helper for clipboard and it did not resolve my issue with the problem that I cannot use clipboard with emails.

    Attempt to compose an email using my company email program webmail.windstreamhosting.com. I cannot in the email cut, paste, or copy.
    When I attempt to use an option to cut, paste, or copy I receive an error message. "Copy/Cut/Paste is not available in Mozilla and Firefox. Do you want more information about this issue?"
    I am then redirected to the website:
    https://developer.mozilla.org/en/Midas/Security_preferences
    I followed the suggestions and it did not correct the problem.

    See also:
    *http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
    *https://addons.mozilla.org/firefox/addon/allowclipboard-helper/

  • If i add two officially released and named albums with the same name, they keep compiling as one album. How to separate the tracks by artist??

    I need immediate help. So here's the situation: Okay so I added an RHCP (Red Hot Chili Peppers) album that is named Greatest Hits on my iPod and I also added an The Offspring album also named Greatest Hits to my iPod and both tracks of the albums group as one. Any help please? Please please reply asap thanks in advance

    This is a known bug, and you will see it in iTunes if you sort your library by Album name.
    The workaround is as Mitch indicated, change one of the album names. However, you can simply append a space at the end of one of the albums so that it "looks" the same as the other, but will be treated differently because of the space.

  • [svn] 890: Merge svn-889 to the 3.0.x branch.

    Revision: 890
    Author: [email protected]
    Date: 2008-03-21 13:30:06 -0700 (Fri, 21 Mar 2008)
    Log Message:
    Merge svn-889 to the 3.0.x branch. Add test case for BLZ-82 where HttpService should return multiple headers with the same name.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/svn-889
    http://bugs.adobe.com/jira/browse/BLZ-82
    Added Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/remote/MultipleHeadersTest.jsp
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservic e/MultiHeaderTest.mxml

  • How to copy a files spotlight comments for an entire folder and place them in a different file with that same name

    I have the same question in a different discussion but I already marked it as solved because one of the questions was answered. Here's the linke to the other discussion if your interested https://discussions.apple.com/thread/5970421 
    I have movie covers saved as a jpeg for every movie my family and I own. There is about 700 and they each have a comment of the main actors, release dates, and descriptions. This makes it easy to find what to watch.Is there an applescript, automator, program I can download,  or program code supported in xcode that will do the following set of inscructions?
    Take the name of the picture file and spotlight comment, copy and paste it to a movie file's comments to a file with the same name but obviously has different extention. For an example
    In a Pictures folder
    Name: Dark Knight, The.jpeg       Comment: (2008) Genre: Action...             <- copy comment
    In a Movie Folder
    Name: Dark Knight, The.m4v       Comment:                                               <- paste
    and do this for all 700 files

    Clendenen02 wrote:
    where should I run the code? in the terminal, or an applescript, or should put it in xcode and run it from there or the terminal.
    What MrHoffman said.
    But if it's easier, you can wrap it in Automator and have Automator ask for the Folders: (Test on a sample of your files before running on all 700 files)
    (do you really own 700 movies??)
    The Workflow is:
    Put this in the Run Shell Script Action (and pass input as arguments":
    PicDir=$1
    MovDir=$2
    for f in $PicDir/*
    do
         if [ ! -d "$f" -a "${f##*.}" = "jpeg" ]; then
              comment=$(mdls -raw -name kMDItemFinderComment "$f")
              if [[ $comment != "(null)" ]]; then
                   picname=${f##*/}
                   movname=${picname%.*}.m4v
                   if [[ -e "$MovDir"/$movname ]]; then
    osascript <<-EOF
    tell application "Finder"
    set comment of file (POSIX file "$MovDir/$movname") to  "$comment"
    end tell
    EOF
                   fi
              fi
         fi
    done
    (BTW, I know that this is a bit of sloppy scripting (wraping an osascript in a Bash Script wrapped in Automator, but it does what you need)

  • When clicking "Save image as" how can I get Firefox to auto add a (1) (2) etc at the end of the filename if an image with the same filename already exists?

    How can I get Firefox to automatically rename images when clicking "Save image as" on the menu, when an image with the same file name already exists in the folder??

    Hello,
    That is not a feature that is supported natively within Firefox but there are various add-ons which I think will do the job you need.
    The one I have used is [https://addons.mozilla.org/en-US/firefox/addon/web-slide-show/?src=search Web Slide Show]. This is primarily an add-on for viewing a slideshow of images when they are presented as thumbnails on a web page. However once you are in the slideshow there is a download button which will download all the images in the slideshow. It will automatically rename the images if an image with the same name already exists in the folder.
    If you don't like that add-on then here are some others that may do the same job:
    * [https://addons.mozilla.org/en-US/firefox/addon/image-download-%E2%85%B1/?src=search Image Download II]
    * [https://addons.mozilla.org/En-us/firefox/addon/image-picker/ Image Picker]
    I hope that helps. Let me know if not.
    Also I notice that you are using Firefox v23. That is now an outdated version. To get the latest security updates I suggest updating to version 24. See the support article here: [[Update Firefox to the latest version]].

Maybe you are looking for

  • Which codec converting MP4 for editing?

    I did a search on this question.  I have a copy of MPEG Streamclip.  But exactly what codec should I use so that there is little or no loss of data?  Streamclip defaults to Apple Motion JPEG A.  I see all the Apple ProRes codes; and two others - Appl

  • Bridge CC

    Hello, dear colleagues. 1)During the work with the programs After Eeffects there was a problem with the display of printed text. No text displays in the workspace. Displays only the frame to fill the text. Change the color of the font does not give a

  • Burned DVD not as expected

    I created a short slideshow with iPhoto '05, added music and set the slideshow to fit the music. Exported to iDVD, added a photo and music to one of the 04 themes. The slideshow previews in both iPhoto and iDVD look fine, it's when I burn it onto a D

  • How to open JSP session from a java application or an applet?

    Hi, My problem is a bit challenging (at least for me) and its not about JSP but it is about a web application.. I couldnt find a better place to post this question I am sorry if this is not the right place to post it.. I need to enable users log into

  • Enhance extractor 0VENDOR_ATTR with field LFA1-LFURL?

    Hello, is it possible to include the field LFA1-LFURL (Uniform resource locator) in the standard extractors for vendor master data? In RSA5, where you can change 0VENDOR_ATTR, field LFURL is not in the list. If it is not possible, is there a simple w