Import books.xml from bookstore

How to import books.xml from distribuitor with request via htpp ?

I received from adobe XMLSigningSerializer.php working but using admin passorword , is this a secure role ?
My distribuidor need my sha1 password ?
// SHA1 of my server password returning raw byte - Working with admin password
$serverPassword = hash("sha1",$myadminpass,true);
// Dont work , secure role ?
//$serverPassword = hash("sha1",$secretKey,true);
//$serverPassword=base64_decode($secretKey);
$expiration = date("c", mktime() + 3600);
$nonce = base64_encode(mt_rand(20000000,30000000000));
function signNode( $xmlDoc, $xmlNodeToBeSigned, $secretKey )
    $serializer = new XMLSigningSerializer( false );
    $signingSerialization = $serializer->serialize($xmlNodeToBeSigned);
    $hmacData = base64_encode( hash_hmac("sha1", $signingSerialization, $secretKey, true ) );
    $hmacNode = $xmlDoc->createElementNS($ADEPT_NS, "hmac", $hmacData );
    $xmlNodeToBeSigned->appendChild( $hmacNode );
// XML request
$request ='<request action="get" auth="builtin" xmlns="http://ns.adobe.com/adept">';
$request .="<nonce>". $nonce ."</nonce>";
$request .="<expiration>". $expiration ."</expiration>";
$request .="<distributor>".$distribuidor."</distributor>";
$request .="</request>";
// Load the XML request info DOM because the Adobe seralizer need a xml object.
$xmlObjectPackage = new DOMDocument('1.0', 'UTF-8');
$xmlObjectPackage->formatOutput = true;
$xmlObjectPackage->loadXML($request);
$packageNodes = $xmlObjectPackage->getElementsByTagName('request');
foreach ($packageNodes as $packageNode) {
    signNode( $xmlObjectPackage, $packageNode, $serverPassword );
//echo $xmlObjectPackage->saveXML();die();
    $c = curl_init($requestURL);
    curl_setopt($c, CURLOPT_RETURNTRANSFER,     true);
    curl_setopt($c, CURLOPT_POST,                 true);
    curl_setopt($c, CURLOPT_POSTFIELDS, $xmlObjectPackage->saveXML());
    curl_setopt($c, CURLOPT_HTTPHEADER, array('Content-type: application/vnd.adobe.adept+xml'));
    // Get Response
    echo curl_exec($c);
    curl_close($c);

Similar Messages

  • I am having this error coming out everytime I import an XML from woowave sync,something like I haven

    I am having this error coming out everytime I import an XML from woowave sync,something like I haven't got the right presets installed. It did work on another machine though, so I was wondering whats wrong with my Premiere CS6 install? Should I reinstall Premiere or Windows. I am in the middle of doing something.
    thanks you
    regards
    Tina

    This might sound weird, but here's an idea which worked for me re music that was newly added to itunes and showed up in my ipod but wouldn't play - I simply played the tracks in itunes first, just a second of time or so will do it, not the whole track, then connect the ipod and sync again and this time they played - hope this helps.

  • Additional audio channels being imported with XML from FCP. Merged Clips. Out of Sync

    Problem
    When I import an XML Interchange Format V5 file from FCP7 and then import into Premiere Pro CC, my merged clips now have 4 audio channels. 2 from the original file and 2 from the merged audio.
    Versions
    FCP 7
    Premiere Pro CC 7.2
    Workflow
    * Create merged clips in FCP
         * ProRes Video clip with camera audio
         * Stereo audio clip
         * Sync in Timeline
         * Delete unneeded audio tracks, reducing track on video clip to 1 mono track, centered
         * Drag to browser
    * Export XML Interchange V5
    * Open Premiere
    * Import XML Interchange File
    * Clips are imported, HOWEVER
         * Clips now have 4 tracks of audio
         * Tracks 1-2 are audio from the original Video clip
         * Tracks 3-4 are audio from the synced second source audio file    
         * Additionally, tracks 1-2 are now OUT OF SYNC
    I cannot find a way around this. Clips now all have out of sync indicators on them. Merged audio is insync, and original audio is out of sync.
    I do not want to have to resync all of my audio, everything is tagged and organized into bins.
    Anybody know why this happens and a workaround?

    Ha ha, an excellently wry comparison.
    I'm using photo-jpeg because it was reccomended to me as a way to achieve greater image quality when exporting within the confines of youtube.

  • Import/Load XML from Web Service or URL?

    Hi,
    Like many, I'm new to LCD 8.2.  I have a form with subforms and repeating rows currently bound via a schema, but that can change if need be.  I'm able to import/export file-based XML and that process works well.
    However I'd rather not subject my end-users to browsing for an XML file, and loading it, and I'd like to provide something more elegant. In short, I'd like to import XML from either a web service (returning a single value being the XML document) or by loading the XML directly from a URL by a single button click.
    Is this possible?
    Much appreciated,
    Dave

    http://blogs.adobe.com/stevex/2007/06/http_post_update.html
    http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/
    http://www.flexlive.net/?p=70

  • How to import book marks from Firefox

    How do you import bookmarks from Firefox?
    Thanks,
    Sam

    You may find as I did that you don't have to export anything from your existing browser(s).
    Go into Safari and click on the 'book' icon on the toolbar below your navigation bar.
    This will bring up the Bookmark page below. Scan through the list of the left-hand side of the screen.
    What I saw was that there were 2 folders included already (without exporting anything); one for imported IE bookmarks, and another for Imported Firefox bookmarks. I then selected all of the links inside my Firefox folder and dragged them into the Bookmarks Menu folder and that was all I needed to do. I didn't want my IE bookmarks, so I deleted that folder along with my now empty Firefox bookmarks folder.
    You may have similar luck if you check here first. You can always manually export/import later if you wish.

  • Import fail while trying to import userdefinedfields.xml

    All,
    I am trying to import userdefinedfield.xml from dev to QA environment and import fails with below error message.
    [xx/07/13 11:36:44:892 EST] 00000051 SystemOut     O ERROR,15 Jul 2013 11:36:44,892,[XELLERATE.DATABASE],ALTER TABLE USR MODIFY
    java.sql.SQLException: ORA-00904: : invalid identifier
    [15/07/13 11:36:44:907 EST] 00000051 SystemOut     O DEBUG,15 Jul 2013 11:36:44,907,[XELLERATE.SERVER],Class/Method: tcDataBase/substitute entered.
    [xx/07/13 11:36:44:907 EST] 00000051 SystemOut     O DEBUG,15 Jul 2013 11:36:44,907,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isAction - Value: F
    [xx/07/13 11:36:44:907 EST] 00000051 SystemOut     O DEBUG,15 Jul 2013 11:36:44,907,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isCode - Value: SDK.MODCOL
    [xx/07/13 11:36:44:907 EST] 00000051 SystemOut     O DEBUG,15 Jul 2013 11:36:44,907,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDescription - Value: Error Modifying a Column.
    [xx/07/13 11:36:44:907 EST] 00000051 SystemOut     O DEBUG,15 Jul 2013 11:36:44,907,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isRemedy - Value: Check for valid column length modification
    [xx/07/13 11:36:44:907 EST] 00000051 SystemOut     O DEBUG,15 Jul 2013 11:36:44,907,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDetail - Value: com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_WRITE_FAILEDDetail: SQL: ALTER TABLE USR MODIFY Description: ORA-00904: : invalid identifier
    SQL State: 42000Vendor Code: 904Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
    [xx/07/13 11:36:44:923 EST] 00000051 SystemOut     O ERROR,15 Jul 2013 11:36:44,923,[XELLERATE.DDM.IMPORT],Error Modifying a Column.
    [xx/07/13 11:36:44:923 EST] 00000051 SystemOut     O ERROR,15 Jul 2013 11:36:44,923,[XELLERATE.DDM.IMPORT],Exception during import
    com.thortech.xl.ddm.exception.DDMException: Unable to save dataobject for SDC
      at com.thortech.xl.ddm.instance.TableInstance.finishDataObject(Unknown Source)
    We are not able to replicate the issue in any other dev/test environments.
    Please suggest if you have idea on what can be issue.
    Thanks,
    Subbu

    can you disable the caching of metadata, restart OIM server and then try importing the xml.

  • XML from FCP to FCE

    Hi! I have FCP 7.0.3, and my friend has FCE 4.0.1. We're trying to work collectively, (He's doing the rough cut of our movie, then we're start interfacing between the two programs once we're working on the final cut) but I have a problem. I can open FCE files in FCP, but he can't open FCP project files in FCE, as I had expected. So the work around that I have found, through lots of internet searching, is that I can export XML files, and then he can import them into FCE, and then he'd have the exported sequence. But when I try it, he gets error messages. The only things I can think of is that I have the footage imported as Apple ProRes, and FCE doesn't recognize that kind of codec. Also, I don't know what version I should export the XML as (1 through 5). Help!
    Thanks!
    Paul

    Here's one reply to a thread that is somewhat on this topic, from Creative Cow.
    Re: Final Cut Express compatibility with FCP
    by Mark Thurstlic on Mar 23, 2011 at 1:44:24 pm
    Hi there
    I had a similar issue with bring FCP files back into FCE. After fiddling around a bit I found that the solution lies in Exporting an XML file from FCP. What you need to do is, while in FCP click on FILE--EXPORT--XML
    Then from the format pull down, select the version # that is compatible with your version of FCE. I found the "Apple XML Interchange Format, version 4" works with FCE v4.0.1. Then in FCE Import the XML file by FILE--IMPORT--FCP XML From Imovie.
    An issue worth noting is that FCP seems to only export individual sequences at a time not entire projects. So if you have more then one sequence in a project that you would like to import into FCE you'll have to export them as XMLs one at a time.
    Hope this helps

  • While importing XML from iMovie...

    Whenever I import an XML file from iMovie and then put it in the timeline, it will not play. I render it so that the bars above the video are gray and everything appears to check out, but the when i click the play button, it will not play and a little window pops up that says "general error" on it.
    Am I doing something wrong? Is there some special step I need to do? Help me please!

    Bumping

  • Adobe not allowing import of XML file captured from Media Express through Black Magic capture card

    I have been going crazy trying to find a way to import the XML files to fix the digitized look Adobe capture gave my footage. Someone help me
    These are not XML from Final Cut. They are files saved from Media Express, a Black magic design program used for Capturing.
    THANK YOU.
    Please email me if you know how to fix this
    [email protected]
    THANKS AGAIN!

    Wouldn't it be more appropriate to open the actual media files captured with the program?

  • How do I remove my book titles from iTunes bookstore?

    How do I remove my book titles from iTunes bookstore?

    With regard the  reply or  part of, which  you edited out.....   as you  already have the book(s) on sale elsewhere, it is not costing you anything to have them  on the iBooks store, so  why remove from sale??
    I also note the price comparisons and suggest that this may be a factor in low (any) sales so maybe its an area you could consider.  Also,  if you have a website/ facebook etc,. are you promoting sales  via you friends and  followers.
    In   iTunes Connect  > Deliver your Content are a number of PDfs  to download, one of which covers Marketting, it may be worth looking at it.
    Other than that,, good look with your  books where ever they are on sale.

  • Importing Arabic text from an XML file

    Importing text from an XML file to appear as text in Flash
    works in English, however if the text I want to import is in
    Arabic, when I test the movie there is no text at all.
    Is there some particular syntax to preface the Arabic text?
    I'll want to import text from XML in other languages too.
    (French)
    I'd cut and pasted some Arabic text into the XML file that
    displays pictures and text in the "slideshow.fla" (
    http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml03.ht ml)
    Substituting Arabic text for English text, editing the XML
    file with Dreamweaver.
    Any ideas as to how I might achieve my objective of importing
    Arabic text into Fash?
    I'd started developing my prototpe in Macromedia Director 7,
    and then Director MX, but I have not found a suitable Arabic font
    that I can embed that will allow me to display Arabic fonts in
    Adobe Director. I have the Arabic text in a Word document.
    I've dicovered that my Flash MX Pro and Dreamweaver both
    support Arabic fonts, but I want to import text from an XML file.
    I'd prefer using cast libraries and cast members, but I don't
    know of an equivalent in Flash to what I'm comfortable with in
    Director.

    Oh so many questions. You probably aren't going to like the
    answers. I have Flash MX04 pro (aka Flash 7) and things made a big
    jump between MX (aka 6) and MX04. If you only have MX, there might
    not be a way to do this. All my advice is based upon MX04 or
    higher.
    It is possible to do complex languages in Flash. My
    experience is with Hindi and I've helped a few folks here with
    Arabic.
    You won't be able to use text from Microsoft Word – at
    least I don't think so. The XML file will need to be saved in the
    UTF-8 format. I think Word uses its own scheme and won't work. But
    I'm not a Word expert. Something like Text Edit (Mac) or WordPad
    (PC) should be able to save a UTF-8 file.
    The next problem is you mention "suitable Arabic font that I
    can embed." AFAIK, you can't embed any of the complex scripts in
    Flash. You just have to rely on the end user having appropriate
    fonts installed and enabled. Most operating systems from 2000 on do
    have this – although some folks like to remove them to save
    space.
    Next issue will be line composing. I've found that when using
    anything above the normal Latin range that Flash suddenly forgets
    how to make a line fit into a text area. It will just break things
    in the middle of words and not even notice the spaces between
    words. I've written a little snippet of code that "composes" the
    lines. It works well with Hindi and folks here have used it with
    Arabic and not come back saying that it doesn't work. Search the
    forums (both the Flash and Actionscript) if you can't find it I'll
    dig it out when I get home.
    So here is the checklist:
    Make sure the XML is saved in UTF-8
    Import the XML file
    In Testing environment go Debug–>List variables.
    Does it show up correctly there?
    Does it show at all in a text field?
    Use the "composer" to make the lines break.

  • Why can't I open and retrieve my files from iPhoto and my address book after importing the files from my Power mac G5 to my new Mac Pro? I get a warning that says the new OS on my Pro doesn't open files from a Power Mac. Any idea how I can fix this?

    Why can't I open and retrieve my files from iPhoto and my Address Book after importing the files from my Power Mac G5 to my new Mac Pro? I get a warning that says the new OS on my Pro doesn't open files from a Power Mac. Any idea how I can fix this?

    For your addressbook, export the files to vCard on the PowerMac, then bring them over to your Mac Pro. For your iPhoto, copy the Users -> yourname -> Pictures folder to your Desktop on the Mac Pro, and open iPhoto on the Mac Pro holding the command and option keys.  Select the library file from that Pictures folder and open it.  It should import all the pictures into iPhoto as part of the rebuild process.  Other PowerPC to Intel migration issues are covered here: https://discussions.apple.com/docs/DOC-2295

  • How can I import address book contacts from 10.2 to 10.6?

    I have an uncle who recently had a computer with 10.2 that crashed.  I recovered all his files.  His new computer is now at 10.5 or 6, and will not import old contacts from 10.2.  Anyone know how I can import them?

    Exporting vCards from Address Book partially preserves group information - it puts it in the notes field as Categories, which is not very useful. I suggest you export one group at a time. I don't think you can import directly into a group, so create a group, import the cards for that group, then select all the cards in the "Last Import" pseudo-group and drag them to the appropriate group.
    If some of your contacts are in multiple groups the duplicates will be spotted on import. Unless you have hundreds of groups it should not be to much of a pain. Otherwise look at Gwenhiver.net - Applications - Address Book Exporter - it may preserve groups on re-import (but I don't know).
    AK

  • Import/export data from ms sql 7 to xml file in a particular xpdl format

    I'm trying to write java program to import/export data from ms sql 7 to xml file in a particular xpdl format. Can anyone suggest how to do it?

    take a glance at what these guys do: http://www.openbusinessengine.org/docs/guide.html

  • Could anyone tell me if it is possible to import the information from the Palm Pilot agenda and address book to some programs of the Iphone and Iphone?

    Could anyone tell me if it is possible to import the information from the Palm Pilot agenda and address book to some programs of the Iphone and Iphone?

    Look to your right under "More Like This" for related discussions. ----------------->

Maybe you are looking for

  • Some one help me please for my curve 8320.

    hello, i bought this used blackberry recently and i have beed trying to setup an email, but i couldnot, when i m in the setup wizard, then in the email setup, it doesnot ask me if i can put my personal email like hotmail, rather it tells me if i have

  • DVD Drive Not Working in MDD 867 Mhz Dual

    I have had intermittent problems with my DVD drive. Now the unit will not work at all. I can't eject the drive tray using the eject key on keyboard, and if I manually eject the tray using a paper clip, then insert a DVD and push the tray closed by ha

  • Frameworks - How valuable are they

    When I was looking at my course on Java EE, there was a mention of using "frameworks" like Struts or JSF and they mentioned others. 1. What is the value of using a framework for a web application? 2. If I was to use a framework, which one does Sun su

  • IMessage and FT waiting for activation

    I try to set up my iMessage and FaceTime few days ago and from that time I can't send any and both them shows me "waiting for activation". I've try to reset network connection but nothing helps. Can you give me any idea or tip plz?

  • HT1338 adding text to iPhoto pictures

    I would like to ad captions or text to my iPhotos, can this be done? If so, how?