ALE/Uniform Packaging Service

Hi experts,
for a new ALE scenario (MM master data distribution) I would like to use the
ALE/Uniform Packaging Service technology. Unfortunately, the SAP documentation is not very helpful. Does someone have experience with  Unfirom Packaging Service?
Thanks in advance!
Regards,
Stefan

Hi Jim,
Thank you very much for the response.  I am now using some of the code provided by my fellow coders from another thread, as well as using the provided XMLSigningSerializer.php script.  I am experiencing the same response they are experiencing however.  Upon using the XMLSigningSerializer.php, I am receiving the incorrect HMAC.  There is another thread covering this topic that I will post in after this and we are welcome to carry on the conversation over there if you prefer.
I have created two simple scripts that submit data to the services, one pulled directly from the admin console with the HMAC provided by that service:
<?xml version="1.0"?> <request xmlns="http://ns.adobe.com/adept" action="get" auth="builtin">   <nonce>KXRwPwAAAAY=</nonce>   <expiration>2011-07-14T16:52:02-00:00</expiration>   <distributorData/>   <limit>     <start>0</start>     <count>24</count>   </limit>   <hmac>xr0pdfTJUWH5VInPyjjxYDze0+A=</hmac> </request>
The other features an HMAC generated by XMLSigningSerializer.php
<?xml version="1.0"?> <request xmlns="http://ns.adobe.com/adept" action="get" auth="builtin">   <nonce>KXRwPwAAAAY=</nonce>   <expiration>2011-07-14T16:52:02-00:00</expiration>   <distributorData/>   <limit>     <start>0</start>     <count>24</count>   </limit> <hmac>ywtHrHlVgU2XEcx8F00RTD0gxAw=</hmac></request>
I can provide links and code for each of these items if you'd like to see.  Given Adobe provided the XMLSigningSerializer.php script, can we expect an update or support for it?
I'm going to go through the XMLSigningSerializer.php script line by line to see if I can notice anything in comparison with UploadTest script, but if the fellow who wrote the script could address it's issues, that would be great.
Thanks very much for your time!
Julie
-Texas

Similar Messages

  • SAP ALE Uniform Packaging Service

    Hi,
    can you provide me with som information "How to´s", "Weblogs", "SAP-Info" about the
    ALE Uniform Packaging Service ?
    Thx,
    Gordon

    Hi Sunil
    I am not sure if EWM has the functionality to bill for the VAS services it offers. However there are some add-ons developed by some partners (Cap gemini) which fulfill this requirement.
    Google away and you would find some docs on this WBE (warehouse billing engine)
    Thanks
    DJ

  • ALE/UPS (Uniform packaging service): Can anybody help me?

    Hi experts,
    for a new ALE scenario (MM master data distribution) I would like to use the
    ALE/Uniform Packaging Service technology. Unfortunately, the SAP documentation is not very helpful. Does someone have experience with Uniform Packaging Service? Can anybody help me?
    Thanks in advance!
    Regards,
    Stefan

    even tried other sim its also not working while other sim is operating good in other phone

  • Package service responds with E_PACK_UNKNOWN_FILE_TYPE to an almost valid PDF

    Some PDFs cause Package service to respond with E_PACK_UNKNOWN_FILE_TYPE. The files are "almost valid" in a sense that they can be opened and displayed by both Acrobat Reader and OS X Preview. But they are not spec-compliant. First few lines in these files look like this:
    BT /F1 12.00 Tf ET
    %PDF-1.73
    3 0 obj
    <</Type /Page
    /Parent 1 0 R
    Note that the very first line is not a %PDF header, but something else. Per my understanding, Content Server is more stringent than Acrobat Reader, and fails these files.
    I'm told, the offending files were created by "FPDF v4.8 for PHP4".
    The reason I'm posting this here is mostly so that someone else having the same problem can Google it up. But I also would like to register my frustration at how utterly unhelpful both the error response from the service, and the Content Server documentation were in troubleshooting this.

    Some PDFs cause Package service to respond with E_PACK_UNKNOWN_FILE_TYPE. The files are "almost valid" in a sense that they can be opened and displayed by both Acrobat Reader and OS X Preview. But they are not spec-compliant. First few lines in these files look like this:
    BT /F1 12.00 Tf ET
    %PDF-1.73
    3 0 obj
    <</Type /Page
    /Parent 1 0 R
    Note that the very first line is not a %PDF header, but something else. Per my understanding, Content Server is more stringent than Acrobat Reader, and fails these files.
    I'm told, the offending files were created by "FPDF v4.8 for PHP4".
    The reason I'm posting this here is mostly so that someone else having the same problem can Google it up. But I also would like to register my frustration at how utterly unhelpful both the error response from the service, and the Content Server documentation were in troubleshooting this.

  • Is there a stand-alone packaging service?

    I am wondering if it is possible to invoke the packaging service directly, without going through tomcat. I would like to be able to invoke the service directly from a command line, as opposed to sending a request to the webapp. Something like:
    java -jar packaging.jar /home/fred/sample_books -pass barada -xml -jpg
    Thanks,
    Les

    The zip file you download is a standalone file.
    http://labs.adobe.com/downloads/photoshopcs6.html
    -Noel

  • P1 Validation Errors on BMP/Package Services/Flat/Non-Barcoded

    We getting the following error;
    :MPU_WT [4062] - The maximum weight for Package Services Bound Printed Matter and Media/Library Flats is 20 oz.
    You should get this error I believe IF the job is sorted to be barcoded/machinable(USFM1000) and is OVER 20oz.   We have the job set to Non-machinable.  Yet we get this error as if we have it set to automated. Is anyone getting this validation error since release of PostalOne 26 was put into place on 1/3?

    Latest from P1 minutes
    o Release 26 Known Issue: This incorrect error message is being removed in a patch release. The DMM states maximum weight for Bound Printed Matter BPM flats claiming a bar code discount is 20 oz. The DMM states maximum weight for all other Bound Printed Matter BPM flats is 15 lbs. The 20 oz requirement for all BPM flats was an error and must be removed. After the meeting: The incorrect validation was removed January 9, 2011.
    The maximum weight for any piece of library or media mail is 70 lbs. The correct requirement will be implemented in a future release. The 20 oz requirement for Media and Library Mail flats was an error and must be removed. After the meeting: The incorrect validation was removed January 9, 2011.
    o The version weight for Periodical and Pending Periodical Machinable Flats cannot be greater than 22 oz. After the meeting, it was determined this is a known issue, the maximum weight for Machinable flats per DMM 707.26.2 is 4.4 lbs. This validation will be removed in a patch release. After the meeting: The incorrect validation will be removed January 16, 2011.
    Thanks
    Anita S.

  • "Package, Service and Equipment Fees"

    I recently ordered the Performance internet service. Under My Account -> Billing and payments -> View order details, I found that I am being charged $37.99 for Package, Service and Equipment Fees. Does anyone know what this is, and why I was not informed that I would have to pay it until after I signed up? At the very least, can I be assured that this is a one-time fee?

    Hi, I'm in the same situation as you were, i recently got internet service from comcast and saw the "package, service, and equipment fees" and was wondering if they were a one time thing or every month? Bacause I wasn't told about this fee and it happens to be higher than the internet service itself. it's $39.99 for the internet serviceand it's $47.99 for the package, service, and equipment fees i just want to know if its a one time thing, because if it's not, im going to cancel and stick with my current provider

  • ESS Business Package services in EP 7.0

    This is a real simple query. 
    I would like to know if the services of the ESS business package delivered in SAP EP 7.0 running on SAP Netweaver 7.0 are developed as Java or ABAP Web Dynpro.
    TIA,
    John

    Hi John,
    The ESS 1.0 is being buit using WD Java.
    For more details refer to
    https://www.sdn.sap.com/irj/sdn/contentportfolio
    Regards
    Atul Shrivastava

  • Package Services are not working in APP-V Client

    Hi Guys,
    As  Virtualizing iPhone Config Utility 3.6 in APP-V 5.0  Publishing in APP-V Client.
    After launching shortcut, it is throwing error like "Apple Mobile service" is not working  and service is also not installing in client machine while it is automatic. it is running through local System".
    can any say that APP-V 5.0 is having ay limitations that it will not capture service which it running through Local Service" 
    i have tested some packages which is having services in Local service not capturing.
    can any one explain.
    Thanks in advance

    The limitation is that only services running as LocalSystem are captured and supported.
    More information about virtual services here .

  • SAPLPA PACKAGE SERVICES (in ABAP program SAPLSFW COMMON)

    Hello,
    I´m facing with a strange issue... during an importing support packages process through SPAM I get an error in Import_Proper phase... during the error analysis, I get an error, a short dump, when I try to enter into any transaction... which is the following short dump:
    Runtime Errors SYNTAX_ERROR
    Date and Time 05.05.2011 13:04:31
    Short text
    Syntax error in program "SAPLPA_PACKAGE_SERVICES ".
    Error in the ABAP Application Program
    The current ABAP program "SAPLSFW_COMMON" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "SAPLPA_PACKAGE_SERVICES " in
    include "CL_PACKAGE_HELPER=============CU " in
    line 179:
    "The type "SLS_PACKAGE_INFO" is unknown."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    The current ABAP program "SAPLSFW_COMMON" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The same problem has been already reported on this forum in the follow link:
    Can you help me please, how to solve this strange issue...?
    Thank you in advance,
    João Dimas - Portugal

    Hello,
    I was able to solve this issue by going in debug mode by typing in /H in the trnx field. When you type /h a abap debug session is started. Then you can type SPAM chose  "continue" (button before stop) to go to SPAM screen and restart the upgrade.
    I noticed that this error usually occurs with a sap reboot when spam is in error stop or in progress.
    Regards,
    Sridhar

  • PDR Steps to create new object types

    We set a demo instance of the PDR tool here and it all works well.. I would now like to add purchase info records as an object that can be sequenced with all other master data like materials, material boms, variant class and ecms in a config folder. I know that new function modules would need be created but was wondering there was a document with steps expaining the entire procedure for doing this or if any other company has yet tried this with the tool.. It allows for the creation of new objects for the packet but would like to have some sort of guideline to follow if possible.

    Hello Mr Thorne,
    I knew there are some SAP Consultants that know how to implement a new object type. And there is a project together with the german army that expands the PDR with several object types.
    But you have to pay attention. The PDR consists of two main parts . The FOX - Frame work of Explosion and the UPS - Uniform Packaging Service.
    Creating a new Object type that can be "shipped" has to be in the UPS - BUT - if you are using the transaction CRWBD that new object type will not be found if you are exploding a baseline. That is the task of the FOX.
    And to add a new Object type into the FOX would be harder than add it into the UPS.
    I think the Consulting solution, uses a FOX exit to add that object into the UPS after the FOX-Run.
    I you need further information please contact SAP consulting (PLM).

  • Adobe Creative Cloud Package on MAC - programs do not install

    We have a iMac (Late 2013) with OS X 10.9.5 and we are taking the following situation:
    After creating the Adobe Creative Cloud Package, we try to perform the installation and after the process fully and correctly occur and give success message at the end of installation, the programs simply are nowhere to be found. Even after several attempts.
    We have had an installed TRIAL , but has been removed ;
    We've tried to use the CC CLEANER ;
    We've tried to replace/delete the files in the folder " OOBE " ;
    We restart the machine and test again several times after each of the above processes.
    What can I do now?

    Here are some errors found in my user Library/AdobeDownload/LBS.log file:
    04/22/15 18:55:36:267 | [INFO] |  | ACC | LBS | ApplicationFacade |  |  | 13739 | ****************Starting LBS workflow*******************
    04/22/15 18:55:36:279 | [INFO] |  | Download | LBS | ProductInfo |  |  | 13739 | Product locale not specified in the product information file
    04/22/15 18:55:36:279 | [INFO] |  | Download | LBS | ProductInfo |  |  | 13739 | Product name not specified in the product information file
    04/22/15 18:55:36:279 | [INFO] |  | Download | LBS | LBSUtils |  |  | 13739 | Launching LBS in elevated mode
    04/22/15 18:55:41:081 | [INFO] |  | ACC | LBS | ApplicationFacade |  |  | 15734 | ****************Starting LBS workflow*******************
    04/22/15 18:55:41:085 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15734 | LBS launched in LEGACY mode
    04/22/15 18:55:41:288 | [INFO] |  | Download | LBS | SystemCheck |  |  | 15749 | System OS Version - major = 10, minor = 10, bugFix = 2
    04/22/15 18:55:41:288 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | ACCC System requirements check passed
    04/22/15 18:55:41:316 | [INFO] |  | Download | LBS | ProductInfo |  |  | 15749 | Product locale not specified in the product information file
    04/22/15 18:55:41:316 | [INFO] |  | Download | LBS | ProductInfo |  |  | 15749 | Product name not specified in the product information file
    04/22/15 18:55:41:316 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | Bootstrap LBS is successful
    04/22/15 18:55:41:338 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | Bootstrapper Lock acquired
    04/22/15 18:55:41:359 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | LBS Lock acquired
    04/22/15 18:55:41:380 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | Deployment lock check passed
    04/22/15 18:55:41:398 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | The resolved URL for package service is https://prod-rel-ffc.oobesaas.adobe.com/adobe-ffc-external/core/v1/applications?name=Creat iveCloud&name=CCLBS&osVersion=10.10.2&platform=osx10
    04/22/15 18:55:43:260 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | Successfully downloaded application xml at path /tmp/B9C86EF9-74D2-4DA1-898A-3AA96104C102/applications.xml
    04/22/15 18:55:43:321 | [ERROR] |  | ACC | LBS | WorkflowManager |  | FileUtils | 15749 | Error Failed open the dylib /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib while getting its version
    04/22/15 18:55:43:321 | [ERROR] |  | ACC | LBS | WorkflowManager |  |  | 15749 | Failed to get the PIM version from location: /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib
    04/22/15 18:55:48:152 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | PDM completed with error in downloading PIM with error 0
    04/22/15 18:55:48:258 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | Successfully downloaded pim at path /tmp/B9C86EF9-74D2-4DA1-898A-3AA96104C102/CCLBS/PDIM/AdobePIM.dylib
    04/22/15 18:55:48:347 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | pim validation successful
    04/22/15 18:55:48:384 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 15749 | PIM loading is successful
    04/22/15 18:55:48:403 | [INFO] |  | ACC | LBS | InstallThreadProc |  |  | 15949 | Installing latest Adobe Creative Cloud
    04/22/15 18:55:48:661 | [INFO] |  | Download | LBS | ETS |  |  | 15949 | Event Guid generated is: 'aa505e66-84b5-4969-ae6c-f68a74ddfc25'
    04/22/15 18:55:48:661 | [INFO] |  | Download | LBS | ETS |  |  | 15811 | Event with guid 'aa505e66-84b5-4969-ae6c-f68a74ddfc25' is being sent
    04/22/15 18:59:46:387 | [INFO] |  | Download | LBS | ETS |  |  | 15949 | Event Guid generated is: '8e87f4aa-c14a-47ce-aa45-5257773673fd'
    04/22/15 18:59:46:387 | [INFO] |  | Download | LBS | ETS |  |  | 15811 | Event with guid '8e87f4aa-c14a-47ce-aa45-5257773673fd' is being sent
    04/22/15 18:59:47:194 | [INFO] |  | Download | LBS | SystemCheck |  |  | 13739 | System OS Version inside isAcccSupported- major = 10, minor = 10, bugFix = -1597681608
    04/22/15 18:59:47:194 | [INFO] |  | Download | LBS | SystemCheck |  |  | 13739 | System OS Version inside isAcccSupported- major = 10, minor = 10, bugFix = -1805102062
    04/22/15 18:59:47:195 | [INFO] |  | Download | LBS | SystemCheck |  |  | 13739 | System OS Version inside isAcccSupported- major = 10, minor = 10, bugFix = -1805102062
    04/22/15 18:59:47:195 | [INFO] |  | Download | LBS | SystemCheck |  |  | 13739 | System OS Version inside isAcccSupported- major = 10, minor = 10, bugFix = -1805102062
    04/22/15 18:59:47:195 | [INFO] |  | Download | LBS | SystemCheck |  |  | 13739 | System OS Version inside isAcccSupported- major = 10, minor = 10, bugFix = -1805102062
    04/22/15 18:59:47:195 | [INFO] |  | Download | LBS | SystemCheck |  |  | 13739 | System OS Version inside isAcccSupported- major = 10, minor = 10, bugFix = -1805102062
    04/22/15 18:59:47:195 | [ERROR] |  | Download | LBS | LBSUtils |  |  | 13739 | Failed to launch ACC
    04/22/15 18:59:47:195 | [INFO] |  | ACC | LBS | ApplicationFacade |  |  | 13739 | ****************Closing LBS workflow*******************

  • Unable to create records in database using PHP Data Service

    Hello, I've been stuck on this for a few days and search up and down for this on the net, no response I've found has worked, so I come to you...
    Here are the steps I've taken, I think it's pretty standard
    1. I have a macbook pro running osx 10.7.3
    2. I installed MAMP all default (I've acually reinstalled this because someone suggested this might fix it)
    3. Thru phpMyAdmin I created a database called my_test
    4. In that database I created a table, this is the export of that table: (I've also tried this with InnoDB which is the default)
    CREATE TABLE `customer` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `name` varchar(50) NOT NULL,
      `email` varchar(150) NOT NULL,
      PRIMARY KEY (`id`),
      UNIQUE KEY `id` (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    5. I created a new Flx Project (Running Flash Builder 4.5.1 Premium)
         Project Name: PHPTest
         Application Type: Desktop (Although I've done the same thing with Web and got the same results)
         >> Next
         Application Server Type: PHP
         Web Root: /Applications/MAMP/htdocs/
         URL Root: http://localhost:8888/
         Clicked 'Validate Configuration' and that worked
         Output Folder: /Applications/MAMP/htdocs/PHPService (default by Flash Builder)
         >> Finished
    6. On the Data/Services tab on the bottom I click 'Connect to Data/Service...'
         Select 'PHP'
         >> Next
         Select 'Click here to generate a sample'
         Select 'Generate from database' radio button
         Username: root
         Password: root (default for MAMP)
         Host name: localhost
         Server port: 8889 (default for MAMP MySQL port, the HTTP port default is 8888 which in both cases seem to work but every video I've seen that uses MAMP on youtube uses 8889)
         Database: my_test
         Click 'Test Connection' (works)
         Table: customer
         Primary Key: id (this field is greyed out and Flash Builder selects 'id' which it figures out from the SQL table)
         >> Click OK
    7. Then if I don't have the Zend Framework folder in my /Applications/MAMP/htdocs/ folder it tells me its going to create that and I say alright. Then Flash Builder says stuff about how this is really only for testing and not production server ready and I say alright.
    8. Then it takes me back to the Form from Step 6 when I get the chance to select 'Click here to generate a sample'
         These fields are now filled with this data automaticly:
         PHP Class: /Applications/MAMP/htdocs/PHPTest/services/CustomerService.php
         Service name: CustomerService
         Service package: services.customerservice
         Data type package: valueObjects
         >> Click Next (shows all the functions that will be now availible)
         >> Click Finished (End of the forms and it opens Dreamweaver to the php file it created CustomerService.php which I have no need to edit so I close that down)
    9. Back in Flash Builder I switch to design view and drag a datagrid onto the big white area in the middle, whatever that is called.
    10. Then below in Data/Services tab on the bottom I click drag the function 'GetAllCustomer' on top of the datagrid.
         I say yes to rebound and click ok and the view of the datagrid is updated with the colums from the 'customer' table in mySQL.
    (Now let me say that when I hit save and compile this, if I actually had records in this table that I insert thru phpMyAdmin, this does show in the datagrid. So for the whole CRUD thing I am able to get the R which is Read)
    11. Now going back to the design view in Flash Builder I will create a form to create records in the table... (I guess this isn't really a step)
    12. In the Data/Service tab on the bottom I select 'createCustomer' function and then there is an icon called 'Generate Form' that looks like a white piece of paper with a gear on the bottom of it.
    13. This opens up a new form and since I don't have a crazy bunch of fields in my table I just click Finished (If you click next you can specify which fields you want to exclude from the form but this time I don't need to)
    14. This actually creates 2 forms if you look at the code, the second just shows the return type from when you click 'CreateCustomer' button on the first form. Because they overlap in design view I drag the form out of the way so you can see the input form, the return form, and the datagrid
    15. Then I save and compile...
    (Also if your actually reading this I didn't remove the id form field, I get the same result either way, but if you do remove the form field in the code/design you also have to update the button function to not deal with the id before it gets sent off to the php page since in this case the MySQL table is set to auto_increment the id, sorry this doesn't make much sence but this little area doesn't matter much either way)
    16. Now fill in whatever data you want for name and email, try differnt numbers in the id field like 0, nothing, 1, 1000 and click 'CreateCustomer'
    (For me nothing happens, no return is put in the return field, no error pops up and the datagrid is not updated with the new record, also going over to phpMyAdmin and checking out the table browse doesn't show any changes either, I know the button is calling the function because if I add a state change in that function it changes, it would seem that the line:
    createCustomerResult.token = customerService.createCustomer(customer2); doesn't do anything)
    So any idea what is wrong here, I'm convenced it's something stupid easy simple I just can't see it.

    In case you need more info, here is a code dump on a mxml project that has this problem:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:customerservice="services.customerservice.*"
                           xmlns:valueObjects="valueObjects.*"
                           currentState="State1">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                    getAllCustomerResult.token = customerService.getAllCustomer();
                protected function button_clickHandler(event:MouseEvent):void
                    var customer2:Customer = new Customer();
                    customer2.id = parseInt(idTextInput.text);
                    customer2.name = nameTextInput.text;
                    customer2.email = emailTextInput.text;
                    currentState = "Test";
                    createCustomerResult.token = customerService.createCustomer(customer2);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="State1"/>
            <s:State name="Test"/>
        </s:states>
        <fx:Declarations>
            <s:CallResponder id="getAllCustomerResult"/>
            <customerservice:CustomerService id="customerService"
                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                             showBusyCursor="true"/>
            <valueObjects:Customer id="customer"/>
            <s:CallResponder id="createCustomerResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:DataGrid id="dataGrid" includeIn="State1" x="330" y="10" width="392"
                    creationComplete="dataGrid_creationCompleteHandler(event)" requestedRowCount="4">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="id" headerText="id"></s:GridColumn>
                    <s:GridColumn dataField="name" headerText="name"></s:GridColumn>
                    <s:GridColumn dataField="email" headerText="email"></s:GridColumn>
                </s:ArrayList>
            </s:columns>
            <s:typicalItem>
                <fx:Object id="id1" email="email1" name="name1"></fx:Object>
            </s:typicalItem>
            <s:AsyncListView list="{getAllCustomerResult.lastResult}"/>
        </s:DataGrid>
        <s:Form includeIn="State1" defaultButton="{button}">
            <s:FormItem label="Id">
                <s:TextInput id="idTextInput" text="{customer.id}"/>
            </s:FormItem>
            <s:FormItem label="Name">
                <s:TextInput id="nameTextInput" text="{customer.name}"/>
            </s:FormItem>
            <s:FormItem label="Email">
                <s:TextInput id="emailTextInput" text="{customer.email}"/>
            </s:FormItem>
            <s:Button id="button" label="CreateCustomer" click="button_clickHandler(event)"/>
        </s:Form>
        <s:Form includeIn="State1" x="0" y="204">
            <s:FormItem label="CreateCustomer">
                <s:TextInput id="createCustomerTextInput" text="{createCustomerResult.lastResult as int}"/>
            </s:FormItem>
        </s:Form>
    </s:WindowedApplication>

  • Access Denied Error:5 Adding Package to .WIM with DISM

    I am trying to add .CAB packages to a custom .wim file.  I am able to mount the image, but upon trying to add .cab packages to the image, it gives me an error like:
    An error occurred - Package_for_KB2588516 Error:  0x80070005
    Error:  5
    Access is denied.
    Here is a segment of the DISM.log.  I can post the full Logfile if needed.  I am running the command prompt with elevated privileges.
    2012-02-10 11:58:45, Info                  CBS    Failed to delete registry value: LastProgressState [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete store object value named: LastProgressState [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete registry value: LastError [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete store object value named: LastError [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete registry value: ExtendedError [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete store object value named: ExtendedError [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to persist status for package: Package_for_KB2588516~31bf3856ad364e35~x86~~6.1.1.1 [HRESULT = 0x80070005
    - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete registry value: ExtendedError [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete store object value named: ExtendedError [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to query sources for package: Package_for_KB2588516~31bf3856ad364e35~x86~~6.1.1.1 [HRESULT = 0x80070005
    - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to persist package: Package_for_KB2588516~31bf3856ad364e35~x86~~6.1.1.1. [HRESULT = 0x80070005 -
    E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete registry value: LastProgressState [HRESULT = 0x80070005 - E_ACCESSDENIED]
    2012-02-10 11:58:45, Info                  CBS    Failed to delete store object value named: LastProgressState [HRESULT = 0x80070005 - E_ACCESSDENIED]

    Hi,
    If you plan on using DISM to install a .cab file, it is recommended that you use the WUSA.exe tool to extract the files to a directory first.
    Make sure that the permission setting of the temp folder that save the mounted image allows the user to modify.
    Make sure that you run the command lines in a prompt window with Administrator privilege.
    If the issue persists, you’d better consider to change with another image.
    The following operating-system-package servicing options are available for a mounted offline image:
    DISM.exe /image:<path_to_mounted_image_directory> [/Get-Packages | /Get-PackageInfo | /Add-Package | /Remove-Package ] [/Get-Features | /Get- FeatureInfo | /Enable-Feature | /Disable-Feature ]
    The following operating system package servicing options are available for a running operating system:
    DISM.exe /online [/Get-Packages | /Get-PackageInfo | /Add-Package | /Remove-Package ] [/Get-Features | /Get-FeatureInfo | /Enable-Feature | /Disable- Feature ]
    Pay attention to the following please.
    1. You cannot use a network share location as a scratch directory to expand a package (.cab or .msu file) for installation. The directory used for extracting files for temporary usage during servicing must be a local directory.
    2. If subsequent actions are requested, they cannot be processed until the previous pending online action is completed.
    3. If a package is in the “installed requested” state and then you stage the package, the package state is set to “uninstall requested”. This is because it must be uninstalled before it can be staged.
    4. Some packages require other packages to be installed first. Because of this dependency requirement, you should use an answer file if you are installing multiple packages.
    Hope that helps.

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

Maybe you are looking for