Proxy and Multiple files

Hi,
I am working on a Scenario Proxy-XI-File. I have four files to be gnerated. Can you please tell me then will I have to write 4 programs in ABAP or one program can take care for four proxy generation for 4 different files.
Regards
R

Hi,
Only one program could be sufficient to call the Proxy 4 times for different files. In Outbound Program you need to call the Execute_Synchronous method. The no of times you will call it he no of Porxy callls can be possible. It have internal commit statement.
Thanks
Swarup

Similar Messages

  • Java proxy and EAR file in NDS

    Hi,
    I'm new in java and also proxy development and I need some help
    I have followed the pdf how to create java proxies in 3.0.
    But i have some doubts:
    Must I delete aii*.jar libraries from the EAR create?
    I have no other .jar archive in that .ear... why? I suppose that is not correct and why my EJB module .jar is not included?
    Thanks
    carme,

    Hi, Shabarish
    I have followed the same steps point out in this two blogs.
    I recreated all my EJB project and application.
    The EAR file created only contains:
    guidgenerator.jar
    aii_utilxi_misc.jar
    aii_proxy_xirt.jar
    aii_msg_runtime.jar
    sda-dd.xml
    application-j2ee-engine.xml
    application.xml
    Sap_manifest.mf
    Manifest.mf
    and also a file WITHOUT NAME and size 0.
    That is not correct... right?

  • SQL*Loader and multiple files

    Hello, am tasked with loading tables with 21+ million rows. Will SQL*Loader perform better with one large file or many smaller files? Is there any ideal file size for optimal performance? Thank you
    David

    Don, when I tried to loada 21M row table using direct, I get the following messages:
    Record 2373: Rejected - Error on table STAGE_CUSTOMER.
    ORA-03113: end-of-file on communication channel
    SQL*Loader-926: OCI error while uldlfca:OCIDirPathColArrayLoadStream for table STAGE_CUSTOMER
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    SQL*Loader-925: Error while uldlgs: OCIStmtExecute (ptc_hp)
    ORA-03114: not connected to ORACLE
    SQL*Loader-925: Error while uldlgs: OCIStmtFetch (ptc_hp)
    ORA-24338: statement handle not executed
    Here is the SQL*Loader log:
    SQL*Loader: Release 9.2.0.1.0 - Production on Thu Apr 26 15:38:29 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Control File: stage_customer.ctl
    Character Set UTF8 specified for all input.
    First primary datafile stage_Customer_20070301.csv has a
    utf8 byte order mark in it.
    Data File: stage_Customer_20070301.csv
    Bad File: stage_Customer_20070301.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 1000
    Continuation: none specified
    Path used: Direct
    Silent options: FEEDBACK
    Table STAGE_CUSTOMER, loaded from every logical record.
    Insert option in effect for this table: APPEND
    TRAILING NULLCOLS option in effect
    Column Name Position Len Term Encl Datatype
    ROW_ID SEQUENCE (MAX, 1)
    CUSTOMER_ACCT_NUM FIRST * , O(") CHARACTER
    IS_DELETED NEXT * , O(") CHARACTER
    SQL string for column : "CASE WHEN UPPER(:Is_Deleted) IN ('FALSE','0') THEN 0 ELSE 1 END"
    NAME_PREFIX NEXT * , O(") CHARACTER
    FIRST_NAME NEXT * , O(") CHARACTER
    MIDDLE_NAME NEXT * , O(") CHARACTER
    LAST_NAME NEXT * , O(") CHARACTER
    NAME_SUFFIX NEXT * , O(") CHARACTER
    NICK_NAME NEXT * , O(") CHARACTER
    ALT_FIRST_NAME NEXT * , O(") CHARACTER
    ALT_LAST_NAME NEXT * , O(") CHARACTER
    MARKETING_SOURCE_ID NEXT * , O(") CHARACTER
    HOME_PHONE NEXT * , O(") CHARACTER
    WORK_PHONE NEXT * , O(") CHARACTER
    MOBILE_PHONE NEXT * , O(") CHARACTER
    ALTERNATE_PHONE NEXT * , O(") CHARACTER
    EMAIL_ADDR NEXT * , O(") CHARACTER
    ALT_EMAIL_ADDR NEXT * , O(") CHARACTER
    BIRTH_DATE NEXT * , O(") CHARACTER
    SQL string for column : "TRUNC(TO_DATE(:Birth_Date, 'MM/DD/YYYY HH24:MI:SS'))"
    SALES_CHANNEL_ID NEXT * , O(") CHARACTER
    SQL string for column : "decode(:Sales_Channel_id,NULL,NULL,NULL)"
    ASSOCIATE_NUMBER NEXT * , O(") CHARACTER
    ALT_ASSOCIATE_NUMBER NEXT * , O(") CHARACTER
    UPDATE_LOCATION_CD NEXT * , O(") CHARACTER
    UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "TRUNC(TO_DATE(:Update_Date, 'MM/DD/YYYY HH24:MI:SS'))"
    CUSTOMER_LOGIN_NAME NEXT * , O(") CHARACTER
    DISCOUNT_CD NEXT * , O(") CHARACTER
    DISCOUNT_PERCENT NEXT * , O(") CHARACTER
    BUSINESS_NAME NEXT * , O(") CHARACTER
    POS_TAX_FLAG NEXT * , O(") CHARACTER
    POS_TAX_PROMPT NEXT * , O(") CHARACTER
    SQL string for column : "CASE WHEN UPPER(:POS_TAX_PROMPT) IN ('FALSE','0') THEN 0 ELSE 1 END"
    POS_DEFAULT_TAX_ID NEXT * , O(") CHARACTER
    POS_TAX_ID_EXPIRATION_DATE NEXT * , O(") CHARACTER
    POS_AUTHORIZED_USER_FLAG NEXT * , O(") CHARACTER
    SQL string for column : "CASE WHEN UPPER(:POS_AUTHORIZED_USER_FLAG) IN ('FALSE','0') THEN 0 ELSE 1 END"
    POS_ALLOW_PURCHASE_ORDER_FLAG NEXT * , O(") CHARACTER
    SQL string for column : "CASE WHEN UPPER(:POS_ALLOW_PURCHASE_ORDER_FLAG) IN ('FALSE','0') THEN 0 ELSE 1 END"
    ADDRESS1 NEXT * , O(") CHARACTER
    ADDRESS2 NEXT * , O(") CHARACTER
    ADDRESS3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE_CD NEXT * , O(") CHARACTER
    POSTAL_CD NEXT * , O(") CHARACTER
    COUNTRY_CD NEXT * , O(") CHARACTER
    ALLOW_UPDATE NEXT * , O(") CHARACTER
    SQL string for column : "CASE WHEN UPPER(:ALLOW_UPDATE) IN ('FALSE','0') THEN 0 ELSE 1 END"
    ACTION_CODE NEXT * , O(") CHARACTER
    SQL string for column : "CASE WHEN UPPER(:action_code) IN ('FALSE','0') THEN 0 ELSE 1 END"
    ACCOUNT_TYPE_ID NEXT * , O(") CHARACTER
    LOCALE_CD NEXT * , O(") CHARACTER
    SQL string for column : "CASE WHEN :Locale_CD IS NOT NULL AND :Locale_CD LIKE '__-__' THEN :Locale_CD ELSE 'en-US' END"
    IS_READY_FOR_PROCESSING CONSTANT
    Value is '1'
    IS_BUSINESS CONSTANT
    Value is '0'
    HAD_ERRORS CONSTANT
    Value is '0'
    Record 2373: Rejected - Error on table STAGE_CUSTOMER.
    ORA-03113: end-of-file on communication channel
    SQL*Loader-926: OCI error while uldlfca:OCIDirPathColArrayLoadStream for table STAGE_CUSTOMER
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    SQL*Loader-925: Error while uldlgs: OCIStmtExecute (ptc_hp)
    ORA-03114: not connected to ORACLE
    SQL*Loader-925: Error while uldlgs: OCIStmtFetch (ptc_hp)
    ORA-24338: statement handle not executed
    Table STAGE_CUSTOMER:
    0 Rows successfully loaded.
    1 Row not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Bind array size not used in direct path.
    Column array rows : 5000
    Stream buffer bytes: 256000
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 3469
    Total logical records rejected: 1
    Total logical records discarded: 0
    Direct path multithreading optimization is disabled
    Run began on Thu Apr 26 15:38:29 2007
    Run ended on Thu Apr 26 15:38:30 2007
    Elapsed time was: 00:00:01.18
    CPU time was: 00:00:00.32

  • Change on input to cater for single and multiple files?

    This script currently allows me to drop a single file on to the droplet and it processes it, I would like to be able to drop 1 or more items on it at the same time.
    How can I get it to do all that are dropped on the droplet please?
    Matt
    property type_list : {"8BPS"}
    property extension_list : {"psd"}
    script o
              property theseNames : {}
    end script
    on open this_item
              set thefile to this_item as text
              tell application "Finder" to set TheName to (name of file thefile) --> the name
              set the1stLetter to the first character of TheName --> the first letter
              set the2ndLetter to the second character of TheName --> the first letter
              set brandInitial to {the1stLetter, the2ndLetter} as text
              if brandInitial is equal to "BH" then ¬
                        set brandName to "BH"
              if brandInitial is equal to "AL" then ¬
                        set brandName to "BH"
              if brandInitial is equal to "SM" then ¬
                        set brandName to "BH"
              if brandInitial is equal to "BU" then ¬
                        set brandName to "Bu"
              if brandInitial is equal to "ES" then ¬
                        set brandName to "Dai"
              if brandInitial is equal to "DV" then ¬
                        set brandName to "DIV"
              if brandInitial is equal to "DJ" then ¬
                        set brandName to "Dons"
              if brandInitial is equal to "RA" then ¬
                        set brandName to "Dons"
              if brandInitial is equal to "FR" then ¬
                        set brandName to "Free"
              if brandInitial is equal to "GT" then ¬
                        set brandName to "Inter"
              if brandInitial is equal to "CW" then ¬
                        set brandName to "Inter"
              if brandInitial is equal to "MA" then ¬
                        set brandName to "Mata"
              if brandInitial is equal to "MC" then ¬
                        set brandName to "Mata"
              if brandInitial is equal to "FI" then ¬
                        set brandName to "Mata"
              if brandInitial is equal to "MF" then ¬
                        set brandName to "Mata"
              if brandInitial is equal to "MB" then ¬
                        set brandName to "Mata"
              if brandInitial is equal to "MH" then ¬
                        set brandName to "Mata"
              if brandInitial is equal to "NN" then ¬
                        set brandName to "Nord
              if brandInitial is equal to "TM" then ¬
                        set brandName to "Top"
              if brandInitial is equal to "WA" then ¬
                        set brandName to "Wallis"
              if brandInitial is equal to "PR" then ¬
                        set brandName to "Press"
              set weekNumber to ""
              display dialog "Please enter the week number:" default answer weekNumber
              set weekNumber to text returned of result
              try
                        if weekNumber = "" then error
                        set theWeekNumber to theWeekNumber as number
              on error
                        set thePrefix to "INVALID ENTRY! "
              end try
      --Folder location Setup
              set this_local_folder to "Images:2012-2013"
              set localWeekFolder to my getFolderPath("WK" & weekNumber, this_local_folder)
              set localBrandFolder to my getFolderPath(brandName, localWeekFolder)
              set localBrandFolder_PSD to my getFolderPath(brandName & "_WK" & weekNumber & "_PSD", localBrandFolder)
              set this_Network_folder to "DCKGEN:Brands:Zoom:Brand - Zoom:Upload Photos:2013:"
              set networkWeekFolder to my getFolderPath("Week" & weekNumber, this_Network_folder)
              set networkBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", networkWeekFolder)
      --all files for website
              set website_images to "DCKGEN:Website_Images:"
      --set up names to destination folders and create over Network for FTP collection (based on a mounted drive)
              set this_ftp_folder to "Impulse:"
              set ftpWeekFolder to my getFolderPath("Week" & weekNumber, this_ftp_folder)
              set ftpBrandFolder to my getFolderPath(brandName, ftpWeekFolder)
              set ftpBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", ftpBrandFolder)
              set ftpBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", ftpBrandFolder)
      --set theFolder to eachItem as string -- I think this is the line that could be causing the problem.
      --taking the folder identify which process it must follow.
              if brandName is equal to "BH" then
                        tell application "Adobe Photoshop CS5.1"
      -- I remove the command activate, Photoshop stay in background
                                  set ruler units of settings to pixel units
                                  try
      open (alias thefile) showing dialogs never
                                            set origName to name of current document
                                            set myOptions to {class:JPEG save options, quality:12}
                                            set myPSDOptions to {class:Photoshop save options, embed color profile:true, save layers:true}
                                            tell current document
      --If the quick mask mode has been left on then delete the channel Quick Mask
                                                      if (quick mask mode) then delete channel ¬
                                                                "Quick Mask"
      --If the Layer is incorrectly labeled with Original Layer it needs renaming to original Image
                                                      if (exists layer "Original Layer") then ¬
                                                                tell layer "Original Layer" to set name to "Original Image"
      save in (localBrandFolder_PSD & origName) as Photoshop format with options myPSDOptions without copying
                                                      (delete layer "Original Image") flatten
      resize image resolution 300 resample method none
      --sharpen image
      filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
      save in (ftpBrandFolder_High_Res & name) as JPEG with options myOptions without copying
      --get file path, return path of the JPEG file, work with (without copying)
      -- (with copying) : it return path of PSD file
                                                      set newFile to file path --( return path of type alias )
      -- duplicate file using the Finder  -->on duplicateFile(..)
                                                      my duplicateFile(newFile, {ftpBrandFolder_High_Res})
      --Prepare for Low RES by resetting image history
                                                      set current history state to history state 3
      flatten
      resize image width 1348
      resize image resolution 300 resample method none
      filter current layer using unsharp mask with options {amount:50, radius:3.2, threshold:0}
      --add save to lowResFolder with same options
      save in (networkBrandFolder_Low_Res & name) as JPEG with options myOptions without copying
                                                      set newFile to file path
                                                      set newFile2 to newFile as string -- for testing end of name
                                                      if newFile2 ends with "_2.jpg" or newFile2 ends with "_3.jpg" or newFile2 ends with "_4.jpg" or newFile2 ends with "_5.jpg" or newFile2 ends with "_6.jpg" or newFile2 ends with "_7.jpg" or newFile2 ends with "_8.jpg" or newFile2 ends with "_9.jpg" or newFile2 ends with "_10.jpg" or newFile2 ends with "_11.jpg" then -- exclude website_images
                                                                my duplicateFile(newFile, {ftpBrandFolder_Low_Res})
                                                      else
                                                                my duplicateFile(newFile, {ftpBrandFolder_Low_Res, website_images})
                                                      end if
      close saving no
                                            end tell
                                  end try
                                  do shell script "afplay /System/Library/Sounds/Glass.aiff"
                                  tell application "System Events"
                                            tell application processes
      key code 28 using {command down, option down, shift down}
                                                      delay 0.05
      key code 28 using {command down, option down, shift down}
                                            end tell
                                  end tell
                        end tell
      --End BH
      --taking the folder identify which process it must follow. B U
              else if brandName is equal to "Bur" then
      --    B U R    Folder Photoshop Process
              else if brandName is equal to "Press" then
      --    P R E S S     Folder Photoshop Process
    --Do some photoshop stuff
      --End P R E S S
              end if
    end open
    --then the next etc.
    on duplicateFile(tFile, foldersPath) -- tFile is an alias, foldersPath is a list of folder
              tell application "Finder" to repeat with folderPath in foldersPath
                        with timeout of 200 seconds -- adjust it,  error if the copy  is longer that 200 seconds
      duplicate tFile to folder folderPath with replacing
                        end timeout
              end repeat
    end duplicateFile
    on getFolderPath(tName, folderPath)
              tell application "Finder" to tell folder folderPath
                        if not (exists folder tName) then
                                  return (make new folder at it with properties {name:tName}) as string
                        else
                                  return (folder tName) as string
                        end if
              end tell
    end getFolderPath

    here is the whole thing I tried shortening the script to post I think thats how the " got dropped
    property type_list : {"8BPS"}
    property extension_list : {"psd"}
    script o
              property theseNames : {}
    end script
    on process(this_item)
              set thefile to this_item as text
              tell application "Finder" to set TheName to (name of file thefile) --> the name
              set the1stLetter to the first character of TheName --> the first letter
              set the2ndLetter to the second character of TheName --> the first letter
              set brandInitial to {the1stLetter, the2ndLetter} as text
              if brandInitial is equal to "BH" then ¬
                        set brandName to "BHS"
              if brandInitial is equal to "AL" then ¬
                        set brandName to "BHS"
              if brandInitial is equal to "SM" then ¬
                        set brandName to "BHS"
              if brandInitial is equal to "BU" then ¬
                        set brandName to "Burton"
              if brandInitial is equal to "ES" then ¬
                        set brandName to "DaisyAndEve"
              if brandInitial is equal to "DV" then ¬
                        set brandName to "DIVA"
              if brandInitial is equal to "DJ" then ¬
                        set brandName to "DorothyPerkins"
              if brandInitial is equal to "RA" then ¬
                        set brandName to "DorothyPerkins"
              if brandInitial is equal to "FR" then ¬
                        set brandName to "Freedom"
              if brandInitial is equal to "GT" then ¬
                        set brandName to "International"
              if brandInitial is equal to "CW" then ¬
                        set brandName to "International"
              if brandInitial is equal to "MA" then ¬
                        set brandName to "Matalan"
              if brandInitial is equal to "MC" then ¬
                        set brandName to "Matalan"
              if brandInitial is equal to "FI" then ¬
                        set brandName to "Matalan"
              if brandInitial is equal to "MF" then ¬
                        set brandName to "Matalan"
              if brandInitial is equal to "MB" then ¬
                        set brandName to "Matalan"
              if brandInitial is equal to "MH" then ¬
                        set brandName to "Matalan"
              if brandInitial is equal to "NN" then ¬
                        set brandName to "Nordstrom"
              if brandInitial is equal to "TM" then ¬
                        set brandName to "TopMan"
              if brandInitial is equal to "AL" then ¬
                        set brandName to "BHS"
              if brandInitial is equal to "WA" then ¬
                        set brandName to "Wallis"
              if brandInitial is equal to "PR" then ¬
                        set brandName to "Press"
              set weekNumber to ""
              display dialog "Please enter the week number:" default answer weekNumber
              set weekNumber to text returned of result
              try
                        if weekNumber = "" then error
                        set theWeekNumber to theWeekNumber as number
              on error
                        set thePrefix to "INVALID ENTRY! "
              end try
      --Folder location Setup
              set this_local_folder to "Images:2012-2013"
              set localWeekFolder to my getFolderPath("WK" & weekNumber, this_local_folder)
              set localBrandFolder to my getFolderPath(brandName, localWeekFolder)
              set localBrandFolder_PSD to my getFolderPath(brandName & "_WK" & weekNumber & "_PSD", localBrandFolder)
              set this_Network_folder to "DCKGEN:Brands:Zoom:Brand - Zoom:Upload Photos:2013:"
              set networkWeekFolder to my getFolderPath("Week" & weekNumber, this_Network_folder)
              set networkBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", networkWeekFolder)
      --all files for website
              set website_images to "DCKGEN:Website_Images:"
      --set up names to destination folders and create over Network for FTP collection (based on a mounted drive)
              set this_ftp_folder to "Impulse:"
              set ftpWeekFolder to my getFolderPath("Week" & weekNumber, this_ftp_folder)
              set ftpBrandFolder to my getFolderPath(brandName, ftpWeekFolder)
              set ftpBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", ftpBrandFolder)
              set ftpBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", ftpBrandFolder)
      --set theFolder to eachItem as string -- I think this is the line that could be causing the problem.
      --taking the folder identify which process it must follow.
              if brandName is equal to "BHS" then
                        tell application "Adobe Photoshop CS5.1"
      -- I remove the command activate, Photoshop stay in background
                                  set ruler units of settings to pixel units
                                  try
      open (alias thefile) showing dialogs never
                                            set origName to name of current document
                                            set myOptions to {class:JPEG save options, quality:12}
                                            set myPSDOptions to {class:Photoshop save options, embed color profile:true, save layers:true}
                                            tell current document
      --If the quick mask mode has been left on then delete the channel Quick Mask
                                                      if (quick mask mode) then delete channel ¬
                                                                "Quick Mask"
      --If the Layer is incorrectly labeled with Original Layer it needs renaming to original Image
                                                      if (exists layer "Original Layer") then ¬
                                                                tell layer "Original Layer" to set name to "Original Image"
      save in (localBrandFolder_PSD & origName) as Photoshop format with options myPSDOptions without copying
                                                      (delete layer "Original Image") flatten
      resize image resolution 300 resample method none
      --sharpen image
      filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
      save in (ftpBrandFolder_High_Res & name) as JPEG with options myOptions without copying
      --get file path, return path of the JPEG file, work with (without copying)
      -- (with copying) : it return path of PSD file
                                                      set newFile to file path --( return path of type alias )
      -- duplicate file using the Finder  -->on duplicateFile(..)
                                                      my duplicateFile(newFile, {ftpBrandFolder_High_Res})
      --Prepare for Low RES by resetting image history
                                                      set current history state to history state 3
      flatten
      resize image width 1348
      resize image resolution 300 resample method none
      filter current layer using unsharp mask with options {amount:50, radius:3.2, threshold:0}
      --add save to lowResFolder with same options
      save in (networkBrandFolder_Low_Res & name) as JPEG with options myOptions without copying
                                                      set newFile to file path
                                                      set newFile2 to newFile as string -- for testing end of name
                                                      if newFile2 ends with "_2.jpg" or newFile2 ends with "_3.jpg" or newFile2 ends with "_4.jpg" or newFile2 ends with "_5.jpg" or newFile2 ends with "_6.jpg" or newFile2 ends with "_7.jpg" or newFile2 ends with "_8.jpg" or newFile2 ends with "_9.jpg" or newFile2 ends with "_10.jpg" or newFile2 ends with "_11.jpg" then -- exclude website_images
                                                                my duplicateFile(newFile, {ftpBrandFolder_Low_Res})
                                                      else
                                                                my duplicateFile(newFile, {ftpBrandFolder_Low_Res, website_images})
                                                      end if
      close saving no
                                            end tell
                                  end try
                                  do shell script "afplay /System/Library/Sounds/Glass.aiff"
                                  tell application "System Events"
                                            tell application processes
      key code 28 using {command down, option down, shift down}
                                                      delay 0.05
      key code 28 using {command down, option down, shift down}
                                            end tell
                                  end tell
                        end tell
      --End BH
      --taking the folder identify which process it must follow. B U R T O N
              else if brandName is equal to "Burton" then
      --    B U R T O N    Folder Photoshop Process
                        tell application "Adobe Photoshop CS5.1"
      -- I remove the command activate, Photoshop stay in background
                                  set ruler units of settings to pixel units
                                  try
      open (alias thefile) showing dialogs never
                                            set origName to name of current document
                                            set myOptions to {class:JPEG save options, quality:12}
                                            set myPSDOptions to {class:Photoshop save options, embed color profile:true, save layers:true}
                                            tell current document
      --If the quick mask mode has been left on then delete the channel Quick Mask
                                                      if (quick mask mode) then delete channel ¬
                                                                "Quick Mask"
      --If the Layer is incorrectly labeled with Original Layer it needs renaming to original Image
                                                      if (exists layer "Original Layer") then ¬
                                                                tell layer "Original Layer" to set name to "Original Image"
      save in (localBrandFolder_PSD & origName) as Photoshop format with options myPSDOptions without copying
                                                      (delete layer "Original Image") flatten
      resize image resolution 300 resample method none
      --sharpen image
      filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
      save in (ftpBrandFolder_High_Res & name) as JPEG with options myOptions without copying
      --get file path, return path of the JPEG file, work with (without copying)
      -- (with copying) : it return path of PSD file
                                                      set newFile to file path --( return path of type alias )
      -- duplicate file using the Finder  -->on duplicateFile(..)
                                                      my duplicateFile(newFile, {ftpBrandFolder_High_Res})
      --Prepare for Low RES by resetting image history
                                                      set current history state to history state 3
      flatten
      resize image width 1020
      resize image resolution 300 resample method none
      filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
      --add save to lowResFolder with same options
      save in (networkBrandFolder_Low_Res & name) as JPEG with options myOptions without copying
                                                      set newFile to file path
                                                      set newFile2 to newFile as string -- for testing end of name
                                                      if newFile2 ends with "_2.jpg" or newFile2 ends with "_3.jpg" or newFile2 ends with "_4.jpg" or newFile2 ends with "_5.jpg" or newFile2 ends with "_6.jpg" or newFile2 ends with "_7.jpg" or newFile2 ends with "_8.jpg" or newFile2 ends with "_9.jpg" or newFile2 ends with "_10.jpg" or newFile2 ends with "_11.jpg" then -- exclude website_images
                                                                my duplicateFile(newFile, {ftpBrandFolder_Low_Res})
                                                      else
                                                                my duplicateFile(newFile, {ftpBrandFolder_Low_Res, website_images})
                                                      end if
      close saving no
                                            end tell
                                  end try
                                  do shell script "afplay /System/Library/Sounds/Glass.aiff"
                                  tell application "System Events"
                                            tell application processes
      key code 28 using {command down, option down, shift down}
                                                      delay 0.05
      key code 28 using {command down, option down, shift down}
                                            end tell
                                  end tell
                        end tell
      --End B U R T O N

  • Proxying and Multiple PO's

    Using SOAP is it possible for a user A located on PO A to proxy to user B which is on PO B?
    From my testing I an unable to get it to work.
    If I login user A into PO A and then try to proxy to user B on PO A I get a "user not a post office" error. Or if I try to connect to PO B at that point I get a "Missing session string" error even though I include the correct session string.
    Thanks
    Chris

    It is not possible to proxy to a user on a different post office.
    There is an outstanding bug on that, but the likelihood is slim
    that it will be fixed. The only workaround is to use trusted
    application.
    Preston
    >>> On Thursday, January 07, 2010 at 3:51 PM, Christopher
    Kintner<[email protected]> wrote:
    > Using SOAP is it possible for a user A located on PO A to proxy to user B
    > which is on PO B?
    >
    > From my testing I an unable to get it to work.
    >
    > If I login user A into PO A and then try to proxy to user B on PO A I get
    a
    > "user not a post office" error. Or if I try to connect to PO B at that
    point
    > I get a "Missing session string" error even though I include the correct
    > session string.
    >
    > Thanks
    > Chris

  • Single Reverse Proxy and multiple Office Web App Servers

    Hi all,
    I have recently installed a new office web apps server pool in my new location and configured it in my Lync topology as well. 
    I have a single Reverse Proxy (IIS ARR). Inside my Reverse Proxy I have created a new web farm for my new web apps server. The configuration of old web apps server. I have copied the settings from my old web app's web
    farm in IIS including its Inbound rule regular expression.
    Now when I try to upload a powerpoint as an external guest hoping to hit my new web apps server, my reverse proxy tries to hit my old office web apps server and no traffic is sent from reverse proxy to new web apps. 
    my reverse proxy shows the health of the new farm as healthy.
    should the inbound rules be different for these farms in reverse proxy? 
    Any suggestions are welcomed.
    Thanks,

    Hi,
    In addition to Luca's comment in order to determine if the farm is actually working correctly in the first instance, did you disable or remove the old server farm?
    Can you also confirm that there are no static routes in place on the IIS ARR box?
    Kind regards
    Ben
    Note: If you find a post informative, please mark it so using the arrow to the left. If it answers a question you've asked, please mark the thread as answered to aid others when they're looking for solutions to similar problems or queries.

  • LSMW with multiple transaction n multiple files

    Hi experts,
          is it possible to do data transfer using LSMW(recording) with multiple transaction and multiple files .
    Like 3 transaction and 3 files.
    I want 1st transaction and 1st file to upload first then
    2nd transaction and 2nd file
    3rd transaction and 3rd file

    Hi,
    i think you mean that you want to process first the 1st record of file1 with transaction 1 than 1st record of file 2 with transaction 2
    This is possible using recordings(as you asked for).
    First Maintain Object Attributes then mark batch input recordings and maintain recordings name.
    On the right side are two buttons one for overviewing recordings and one for maintaining more recordings.
    Here enter your additional recordings.
    Now specify for each recording a own Source Structure and
    maintain the Structure Relations and so on...
    If you just want to do 1st transaction with all records of file1 than 2nd transaction use three different LSMWs.
    You can automize the process by using Data Transfer Workbench(SXDA).
    Regards,
    Sebastian

  • Lp - problems with multiple files ?

    Does anyone know of or have experienced problems with the lp command and
    multiple files on Solaris 5.6?. Currently when trying to print issuing one lp command for 164 files from within a script i.e lp file1 file2 file3..... file164, a request id is received for the job but then the job just disappears, no error message, nothing !. Any ideas ?

    Thanks for the swift response. Always ideas are useful.
    As of now , Middleware cannot split the file.
    Thing is SAP is creating two Idocs with different message types. Problem is First IDoc contains ORDERS message type but also DELIVERY segments as well. Second IDoc with DELIVERY message tyoe but ORDERS segments as well... This is the problem... I think we are missing some field activation in file for EDIDC record.
    As far as I know file port supports the number of IDocs in one file.. Hope TRFC port also supports that

  • Generate Proxy from WSDL with multiple Files

    I need to load a WSDL (to generate a web service consumer proxy). However, that WSDL is build from multiple files, both .wsdl and .xsd, not a single one. It seems the SAP wizard to generate the proxy does expect one single WSDL file however.
    Is there a way in SAP to load a WSDL with multiple files, or do I need to (manually) flatten all these files into one single file?

    I am not sure why it fails in WebSphere. Please try posting
    this question to a WebSphere newsgroup.
    Regards,
    -manoj
    http://manojc.com
    "viswanath" <[email protected]> wrote in message
    news:40aee7fa$1@mktnews1...
    >
    thanks manoj for your reply.
    I'm using IBM WebSphere SDK for Web Services v5.1
    for generation of java client.
    I'm able to generate the client but the problem is
    the WSDl2Java command ignored the SOAPHeaders while
    generating the proxy. Since I'm using SOAP headers for
    authentication the code fails.
    Thanks,
    Viswanath
    "manoj cheenath" <[email protected]> wrote:
    I am not sure which tool you are using
    to generate web service clent. To generate
    a WLS web service client you have to use clientgen.
    Details here:
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html
    Regards,
    -manoj
    http://manojc.com
    "viswanath" <[email protected]> wrote in message
    news:40ad8a07$[email protected]..
    HI,
    I have a web service (implemented in .NET) which extends soap headersfor
    doing
    Authentication. WSDL is generated out of this web service. But wheni use
    wsdl2java
    (J2EE) to generate a proxy class, there is no interface generated forsoap
    headers.
    Without extending SOAP headers the web service works fine.
    Basically, I'm looking for a way to generate java interfaces (ie.
    proxies)
    for
    SOAP headers out of the WSDL file.
    PFA the WSDL file and the proxy
    Any help on this is appreciated.

  • Pull a zip file with multiple files unzip it, and finally load one of the f

    Hi Aill,
    I have following query.
    Could we do the following with XI: pull a zip file with multiple files from a vendor which resides outside of XI server network, unzip it, and finally load one of the files to SAP?
    Regards
    Rohan S

    Hi Varadharajan,
    I have 10 text files in some ZIP file on one server which is out side of network. We can reach that file through Proxy only to read ZIP file.
    I need to extract the file and on the bases of some condition one of the file i need to upload data to SAP.
    Is it possible. If possible then How?
    Regards

  • How do I drag and drop multiple files on a control?

    LabVIEW supports dragging and dropping a single file on a path control, and have the path control populated appropriately. I want a user to be able to highlight multiple files (say, from the OS Find File window, or anywhere really) and drop them into a path array control in LabVIEW. I was hoping putting a path control in an array would do the trick, but it didn't. The mouse cursor changes to the "+" icon as it did for a single file, but when I release the button the system just beeps. Is this even doable?
    Thanks, Bob Martin

    I guess I was hoping that the path control would realize it was in an array, and starting with the actual control where the drop occurred (if more than one item of the array is visible) start populating subsequent slots with the other file paths.
    I'm not sure how much work would be involved, but maybe I could make a control in VB that would accept the drop event and output the path array I'm looking for. I've never made a control in VB for LabVIEW before, so I'm leary of how much time that would take. I'll add this to my list of "things to do that never seem to get enough priority to do."

  • Unable to load multiple files to Essbase using MaxL and wildcards

    I have multiple data files to load:
    Files:
    Filename.txt
    Filename_1.txt
    Filename_2.txt
    According to the following link, Essbase is able to load multiple files to BSO databases via MaxL by using wildcards:
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
    However, when I try to run the following I receive the following error:
    MaxL:
    import database MyApp.DB data from server text data_file "../../MyApp/Filename*.txt" using server rules_file "L_MyRule" on error append to "\\Server\Folder\L_MyRule.err";
    Error:
    ERROR - 1003027 - Unable to open file [DB01/oracleEPM/user_projects/epmsystem2/EssbaseServer/essbaseserver1/app/MyApp/DB/../../Filename*.txt].
    ERROR - 1241101 - Unexpected Essbase error 1003027.
    I can run the following fine without any problem, but this only deals with the first of several files, and I’d rather not hard-code multiple files since the number might vary in the future:
    MaxL:
    import database MyApp.DB data from server text data_file "../../MyApp/Filename.txt" using server rules_file "L_MyRule" on error append to "\\Server\Folder\L_MyRule.err";
    Any ideas? And how about ASO databases?

    JamesD wrote:
    According to the following link, Essbase is able to load multiple files to BSO databases via MaxL by using wildcards:
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
    That is the tech ref for 11.1.2.2, are you on 11.1.2.2?
    Import Data
    11.1.2.2 - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?maxl_imp_data.html
    11.1.2.1 - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref_1112100/frameset.htm?maxl_imp_data.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Open and print multiple files from the Finder all at once.

    I'm trying to research how to do this. In OS9 you used to be able to hi-lite multiple files (Word files for example) and just hit Command+P. This would automatically open all of the files AND print them.
    I can't seem to do this in my OS X. Or can I? I can hi-lite and go to File/Print, but the computer is only opening but not printing.
    Any suggestions??
    iMac   Mac OS X (10.4.8)  

    I don't know how to both "open and print" multiple files in one step. The ⌘O combination of course will open multiple items. The items remain selected so switching back to the "Finder" and dragging multiple icons onto the icon for "/Applications" > "Utilities" > "Printer Setup Utility.app" seems to cause them all to be printed to the default printer.
    Alternatively, a user's "~/Library/Printers" folder contains printer icons -- I'm not sure what they are exactly, but they represent the printers set up for that account. They function pretty much like the pre-OS X "Desktop Printer" icons so dragging and dropping multiple files onto them should cause them to be printed. It may even be possible to create aliases to them on the "Desktop" to recreate "Desktop Printer" functionality. But again, this won't open the files into their applications.

  • Preview and Texteditor open multiple files

    Preview and Texteditor often open multiple files when I only clicked a single file. It seems to open one or more previously opened files at the same time. Is this a bug, or can I disable this behaviour somewhere?

    "Restore windows when quitting and reopening apps" worked for me. However, it will not work for any apps currently open when you change the preference. Once you quit ans recopen the app, it should work. At least mine did!

  • How can I convert multiple files at one time and not one at a time

    How can I convert multiple files at one time and not one at a time

    Hi Plissey1950,
    Sorry for the lengthy delay to a response.  Are you trying to convert multiple files to individual PDF files at the same time? (not combine them).  If so, you'll need to use Adobe Acrobat for this function. The CreatePDF service does not have the ability to convert multiple files to multiple individual PDF files.
    Thanks,
    David

Maybe you are looking for