Uploading XML to ITunes U

On page 140 of http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUAdministratio nGuide.pdf
it says
To upload your document to an iTunes U server:
1. Generate an authorization token from your new or updated transfer script. For details, see “Generating
the Token Data” (page 41).
2. Request an upload URL from iTunes U, using the authorization token from step 1. For example, type:
/usr/bin/curl
https://deimos.apple.com/WebObjects/Core.woa/API/GetUploadURL/example.edu.1.2.3?
credentials=foo&identity=user&time=123456&signature=abc123abc123&type=XMLControl File
The text example.edu.1.2.3 is the iTunes U value for the folder destination on the iTunes U site where
you want to upload the document. It is recommended that you use the root folder of your site as the
destination. An HTTP POST or GET performed on the finished URL returns another URL.
3. Upload your document to iTunes U as an HTTP file-upload POST to the final URL created in step 2.
I followed step one
and got
https://deimos2.apple.com/WebObjects/Files.woa/Upload/darden.virginia.edu/X_3628058717_94795d98.94795d99/%22Nick%20Skriloff%22%20%3Cskriloffn%40darden.virginia.edu%3E%20%28skriloffn%29 %20%5B42%5D/004bb0d75947497d1b3349ad554dca0526ea4ef6d14d22e5a292316bf723baed520c b73b07
I created this XML document
<?xml version=""1.0"" encoding=""UTF-8""?>
<ITunesUDocument>
<Version>1.1.4</Version>
<ShowTree>
<KeyGroup>maximal</KeyGroup>
</ShowTree>
</ITunesUDocument>
When I do /usr/bin/curl -F file=@/pathtofile.xml -s <urlfrom_step2>
I either get an error or nothing returns. Where do I see the output?

Thanks for trying to help me.
I am trying to accomplish page 140 and 141 of
http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUAdministratio nGuide.pdf
The goal I understand I want to reach is to finish these 4 steps.
1) Create a simple XML document to upload
2) Generate an authorization token and request an upload URL
3) The upload URL does not have "/Core.woa/API/ProcessWebServicesDocument/" in it so I need to replace it.
String processUploadURL = results.Replace("/Files.woa/Upload/", "/Core.woa/API/ProcessWebServicesDocument/");
4) Use Curl with the xml file and URL
curl -F file=@/pathtofile.xml -s <urlfrom_step3>
Step 1.
<?xml version=""1.0"" encoding=""UTF-8""?>
<ITunesUDocument>
<Version>1.1.4</Version>
<ShowTree>
<KeyGroup>maximal</KeyGroup>
</ShowTree>
</ITunesUDocument>
Step 2.
https://deimos2.apple.com/WebObjects/Files.woa/Upload/darden.virginia.edu/X_3681077653_94795d98.94795d99/%22Nick%20Skriloff%22%20%3Cskriloffn%40darden.virginia.edu%3E%20%28skriloffn%29 %20%5B42%5D/004bbcdb98f8954f639626d863a4fd655ad5db8679711fd0569e1196c5fa52b8f9a7 0324e9
Step 3
https://deimos2.apple.com/WebObjects/Core.woa/API/ProcessWebServicesDocument/dar den.virginia.edu/X_3681077653_94795d98.94795d99/%22Nick%20Skriloff%22%20%3Cskriloffn%40darden.virginia.edu%3E%20%28skriloffn%29 %20%5B42%5D/004bbcdb98f8954f639626d863a4fd655ad5db8679711fd0569e1196c5fa52b8f9a7 0324e9
Step 4
curl -F file=c:\temp\itunes.xml https://deimos2.apple.com/WebObjects/Core.woa/API/ProcessWebServicesDocument/dar den.virginia.edu/X_3681077653_94795d98.94795d99/%22Nick%20Skriloff%22%20%3Cskriloffn%40darden.virginia.edu%3E%20%28skriloffn%29 %20%5B42%5D/004bbcdb98f8954f639626d863a4fd655ad5db8679711fd0569e1196c5fa52b8f9a7 0324e9
Two questions
1) Are my steps correct?
2) When I mannually copy the output from step 4, I see
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3GET_SERVERCERTIFICATE:certificate verify fail
d
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

Similar Messages

  • HT1212 I am trying to restore a phone that the screen does not work on, therefore I can't input my password.  How can I bypass this and upload it to itunes?

    I am trying to restore a phone that the screen does not work on, therefore I can't input my password.  How can I bypass this and upload it to itunes?

    You could follow the instructions in the support document that you linked from. There is a section regarding the passcode and the inability to use it or enter it. However, you may encounter more issues since you cannot use the screen.

  • My macbook seems to be going crazy. At certain points (and for hours) I get the oh snap page on chrome, safari doesnt work, macbook wont let me create any files or for example upload music to itunes. I restored my mac so im sure its not a malware problem.

    My macbook seems to be going crazy. At certain points (and for hours) I get the oh snap page on chrome, safari doesnt work, macbook wont let me create any files or for example upload music to itunes. I restored my mac so im sure its not a malware problem. The only thing that solves it is switching off and on , but sometimes I have to do that for 6-7 times before its ok or wait for a few hours. Some help please

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Hi, when I upload music into itunes from a cd it sometimes appears in itunes as two different albums and split up the music in 2 or even three albums....how can i merge these albums...this is particularly true when one album may have different composers?

    Hi, when I upload music into itunes from a cd it sometimes appears in itunes as two different albums and split up the music in 2 or even three albums....how can i merge these albums...this is particularly true when one album may have different composers?

    Generally setting a common Album title and Album Artist will fix things.
    For compilations that aren't, select all tracks, Get Info, and on the option tab set Part of a Compilation to No. If it already says No tick the box alongside, then click OK.
    For deeper problems see Grouping tracks into albums.
    tt2

  • Error while uploading .xml file for Customer/Vendor List for Italy

    Hi All,
    We are facing problem while uploading the .xml file in DMEE transaction for the new Customer/Vendor List for Italy.
    We have followed the entire process given in the OSS Note(1090857).
    We have SAP 4.6c and followed the below steps:
    1. Created ID-FI-IT Development class
    2. Added domains
    3. Added Data elements
    4. Tried to upload the given .xml file and got any error saying ".xml file could not be interpreted".
    Also there is a .SAR file mentioned to upload if we receive any errors while uploading .xml file.
    Tried uploading the .SAR file also. STill we are recieving the same Error.
    Can any one of you help us out.
    Thanks in Advance.
    Ramesh

    Ok, we upload .SAR file in this way:
    1. unpack .SAR file with SAPCAR.EXE program. Yuo obtain 2 files
    R492445.P9C and K492445.P9C
    2. put K492445.P9C in directory \SAPMNT\TRANS\COFILES and put R492445.P9C in directory \SAPMNT\TRANS\DATA of your system (DEV, TST or PRD)
    3. Use Tx STMS. If You want create DMEE tree in DEV system, go to DEV import queue. Choose menu Extras | Other requests | Add. Insert P9CK492445 in Transp. request field.
    4. Import the request. This creates the DMEE tree. You don't need ti upload XML file after. You can see the DMEE tree created with Tx DMEE and inserting
    Tree type        UMS1            
    Format tree     IT_CUST_VEN_LIST
    5. after continue follow the note
    I hope this help you
    Roberto

  • Getting error when try to upload xml file into Data Template

    Hi,
    Getting error when try to upload xml file into Data Template.error:"The uploaded file XXSLARPT.xml is invalid. The file should be in XML-DATA-TEMPLATE format."Plz anybody help me.
    Thanks,
    Prasad.

    Hi,
    Anybody Help Plzzzzzz.
    thx,
    Prasad

  • Upload XML file from server to itab

    After failed to get a answer about download data from xml file in server to my itab, and searching and searching in hundred of post and threads i try my own solution for this issue.
    I read the file with:
    OPEN DATASET FICHERO FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    In this case the result is a table filled with register type string like this:
    #<label>22222</label>
    I need a table with this kind of value (example):
    label   | 22222
    label2 | John
    label3 | Smith
    Therefore i have to parse the data of my table, i try with the FM:
    TEXT_CONVERT_XML_TO_SAP
    But dont works for me,
    I am too new in ABAP.
    The code for my report is very simple:
    REPORT ZPRUEBA_XML.
    DATA: BEGIN OF TABLA OCCURS 1,
    TEXTO(256) TYPE C,
    END OF TABLA.
    DATA: FICHERO LIKE RLGRAP-FILENAME.
    OPEN DATASET FICHERO FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF SY-SUBRC NE 0.
      WRITE:/ 'ERROR'.
    ENDIF.
    FREE TABLA.
    DO.
      READ DATASET FICHERO INTO TABLA.
      IF SY-SUBRC NE 0.
        EXIT.
      ELSE.
        APPEND TABLA.
        WRITE: TABLA-TEXTO.
      ENDIF.
    ENDDO.
    CLOSE DATASET FICHERO.
    And my ".xml" in the server is very simple too.
    <label>222222</label>
    <name>John</name>
    <street>Smith, 23, NY</street>
    Anyone can help me?
    Thanks

    Hi,
    You could use a transformation to do that, or call FM 'TEXT_CONVERT_XML_TO_SAP'... you also have the class IF_IXML that should help you and a lot of threads on the subject, such as:
    convert XML data into ABAP internal table
    ABAP Class to convert XML to itab
    Upload XML to internal table and vice versa in SAP 4.6C
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e66701fc-0d01-0010-9c9a-f8a36c4e87ba
    Kr,
    Manu.

  • Upload xml file from aplication server using read dataset, parser error.

    Hi,
    I would like to upload xml file from app. server but parser failed. If I upload this xml file from workstation (using ws_upload) it is correct. For uploading xml file from app. server I use open dataset... read dataset. In loop section I remove '#' char. How do You upload xml file from app server? What Could be incorrect.
    I try to open dataset in binary mode, text mode...
    TYPES: BEGIN OF xml_line,
            data(255) TYPE c,
          END OF xml_line.
    DATA: gt_xml_table TYPE TABLE OF xml_line,
          gs_xml_structure TYPE  xml_line,
          gv_xml_table_size TYPE i.
    OPEN DATASET s FOR INPUT IN BINARY MODE.
      IF sy-subrc <> 0.
        MESSAGE e001(zet) WITH '....'.
      ENDIF.
      DO.
        READ DATASET s INTO gs_xml_structure.
        IF sy-subrc <> 0.
          EXIT.
        ELSE.
         len = STRLEN( gs_xml_structure ).
         len = len - 1.
         check len > 0.
         WRITE gs_xml_structure(len) TO gs_xml_structure.
          APPEND gs_xml_structure TO gt_xml_table.
        ENDIF.
      ENDDO.

    You Can do this too
    parameters: p_file like rlgrap-filename.
    data: subrc like sy-subrc.
      create object me.
      REFRESH t_data.
    *  Open XML File
      CALL METHOD me->CREATE_WITH_FILE
        EXPORTING
          filename = p_file
        RECEIVING
          retcode  = subrc.
    * Saves Data in an itab from XML File.
      CALL METHOD me->get_data
        IMPORTING
          retcode    = subrc
        CHANGING
          dataobject = t_data[].
    Regards,
    Claudio.

  • I have uploaded an old itunes library by mistake - any way that I can go back to my previous library.  Unable to do a system restore and I don't know where to find an up to date music/playlist file.

    I have uploaded an old itunes library by mistake - any way that I can go back to my previous library.  Unable to do a system restore and I don't know where to find an up to date music/playlist file.  I was originally trying to recover a playlist that vanished after I had updated one of the ipads, did an online search, followed the instructions only to discover that I had loaded an itunes library from 2 years ago.  Stupidly I thought that it had updated itself and didn't realise I had to do it.  Any he

    See Empty/corrupt iTunes library after upgrade/crash. Hopefully you have a more recent library file that you can restore.
    tt2

  • Most of my songs wont upload onto my itunes

    i got a new laptop so i was transferring my music from my old computer to this laptop. all of the files transferred fine....but when i try to upload the songs, only 120 something songs out of 400 come up. and so i tried uploading them one by one and the songs that didn't upload before still wouldn't upload. ive reinstalled itunes several times...i dont know what to do. please help!

    Hello there, gags1246.
    There are a few valuable steps recommended in the following Knowledge Base article that should help you locate your content:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/ts1408
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • How to transfer files from my ipod classic to itunes on a new computer? I had itunes on my other computer. i bought cds and uploaded them to itunes there. Then everything was sync'd to my ipod.

    I had itunes on my other computer. i bought cds and uploaded them to itunes there. Then everything was sync'd to my ipod.
    now I have a new computer - andI want to transfer those files to my itunes.
    BUT I can only transfer music I bought through the Apple store.
    That's WRONG!
    I spent money on cds - yes I'm old fashioned.
    I want to listen to audiobooks on my CD so that's how they were recorded onto itunes and sync'd to my ipod.
    Now it's a waste if I press the sync button!
    I spent hours downloading cds to itunes on the other computer - which I will be getting rid of soon.
    Please help.

    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Hi, I got a new iPhone that I havent uploaded to my iTunes yet I had pictures and contacts. I accidentally said to restore it as my old iTouch. Is there a way I can change it back to my old iPhone and get my pictures and contacts back? Thank you

    Hi, I got a new iPhone that I havent uploaded to my iTunes yet I had pictures and contacts. I accidentally said to restore it as my old iTouch. Is there a way I can change it back to my old iPhone and get my pictures and contacts back?

    You would need to check if you made a back up of the iPhone on iTunes/iCloud before you restored from the ipod touch back up. If there isnt then im sorry that data is gone.

  • How to upload XML file from Application server.

    Hi,
    How to upload XML file from Application server.Please tell me as early as possible.
    Regards,
    Sagar.

    Hi,
    parameters : p_file type ibipparms-path obligatory.
    ***DOWNLOAD---->SAP INTO EXCEL
    filename1 = p_file.
    call function 'GUI_DOWNLOAD'
      exporting
      BIN_FILESIZE                    =
        filename                        = filename1
        filetype                        = 'ASC'
      APPEND                          = ' '
      WRITE_FIELD_SEPARATOR           = 'X'
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
    IMPORTING
      FILELENGTH                      =
      tables
        data_tab                        = it_stock
      FIELDNAMES                      =
    exceptions
       file_write_error                = 1
       no_batch                        = 2
       gui_refuse_filetransfer         = 3
       invalid_type                    = 4
       no_authority                    = 5
       unknown_error                   = 6
       header_not_allowed              = 7
       separator_not_allowed           = 8
       filesize_not_allowed            = 9
       header_too_long                 = 10
       dp_error_create                 = 11
       dp_error_send                   = 12
       dp_error_write                  = 13
       unknown_dp_error                = 14
       access_denied                   = 15
       dp_out_of_memory                = 16
       disk_full                       = 17
       dp_timeout                      = 18
       file_not_found                  = 19
       dataprovider_exception          = 20
       control_flush_error             = 21
       others                          = 22
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Regards,
    Deepthi.

  • I have uploaded cds in itunes but they wont sync iver to i phone.  Can you help

    I have uploaded cds to itunes but they wont sync over to iphone.  Can you help

    Hi,
    the question is: does it play unter iTunes on your computer? If yes, then you have to convert the video in an iPad compatible format. You can do that within iTunes. Under iTunes click on the left side on "Movies" and find your video. Select it. Then find in the menu bar "Advanced" and the menu point "Create iPad or Apple TV version". Your computer will do the rest. When finished you should have two versions of the video, the original version and the new iPad version. Feel free to delete the original version, if you don't have any other need for it. The iPad version will play fine on your iPad.
    If your original video doesn't play under iTunes, you have to convert it to a Quicktime format first. In this case, please give us more details on the format your original video is stored in.

  • GUI_UPLOAD - Problem in uploading xml file

    Hi,
    I have problem in uploading xml file into itab.
    Here is the code
    begin of GS_STRING,
            STR(72) type C,
          end of GS_STRING,
          GT_STRING like standard table of GS_STRING,
    call function 'GUI_UPLOAD'
          EXPORTING
            FILENAME                = FILE_NAME
            FILETYPE                = 'ASC'
          TABLES
            DATA_TAB                = GT_STRING
          EXCEPTIONS
            FILE_OPEN_ERROR         = 1
            FILE_READ_ERROR         = 2
            NO_BATCH                = 3
            GUI_REFUSE_FILETRANSFER = 4
            INVALID_TYPE            = 5
            NO_AUTHORITY            = 6
            UNKNOWN_ERROR           = 7
            BAD_DATA_FORMAT         = 8
            HEADER_NOT_ALLOWED      = 9
            SEPARATOR_NOT_ALLOWED   = 10
            HEADER_TOO_LONG         = 11
            UNKNOWN_DP_ERROR        = 12
            ACCESS_DENIED           = 13
            DP_OUT_OF_MEMORY        = 14
            DISK_FULL               = 15
            DP_TIMEOUT              = 16
            others                  = 17.
        if SY-SUBRC <> 0.
          message I499(SY) with 'File upload failed'.
          stop.
        endif.
      endif.
    In debuggin mode, i can see the itab uploaded with xml payload. But in that same place, the hexadecimal format has double zeros 00 after each character.
    XML message : <?xml
    Correct Hexadecimal : 3C3F786D6C
    Hexadecimal in itab  : 3C003F0078006D006C00
    This makes the resultant xml invalid.
    can anyone help me to solve this?
    Thanks,
    Uma
    Edited by: Uma Maheswari on May 30, 2008 4:15 PM

    what do you want to do with the uploaded XML?
    i use the following
    constants: line_size type i value 255.
    data: begin of xml_tab occurs 0,
               raw(line_size) type x,
            end   of xml_tab,
            file  type string,
            size  type i.
    call function 'GUI_UPLOAD'
        exporting
          filename            = filename
          filetype            = 'BIN'
          has_field_separator = ' '
          header_length       = 0
        importing
          filelength          = size
        tables
          data_tab            = xml_tab
        exceptions
          others              = 1.

Maybe you are looking for

  • How can I get all of my calendars and recurring events to synch via iCloud with my iPad2?

    Not all of my recurring events sych via the iCloud with my Mac and IOS devices - most specifically my iPad2. For example, my anniversary appears on my Mac and my iPhone, but not on my iPad2. I notice that when I click on "Calendars" when the iCal app

  • Sales Order Issue From CRM to R/3

    Hi Gurus, We have an issue where all Bulk ISS orders are showing up in the OTD BW reports as unreported even though they have been reported shipped. The issue appears to be, that for ISS orders only, the schedule line item number for the base bulk li

  • Performance Tunning in oracle 11g

    Hi everybody, My oracle version is 11.2.0.2 and OS :RHEL 5.5;64 bit each.As far i know,in 11g most tunning issues are handled by oracle itself.But still there are many issues that a dba should consider.Recently my system begin to response slowly,and

  • Adobe file upload trubbles

    How do i save a pdf file from adobe so i can upload it on the net using android???

  • SCCM 2012 R2 - Migration TS Failed in Release Request Step with Error Code 0x80004005

    Hi I have Upgraded my lab from SCCM 2012 SP1 to SCCM 2012 R2. Now, While I am running TS for Refresh/Replace Migration, its successfully captures all the Data & settings and can also restores all Data & settings, but at release request Step TS got fa