Standard PML Message XSD Import in PI Gives Error ::AII -PI-ECC Integration

Hi Experts,
We are currently integrating the AII system with ECC using  PI as a middleware. We are trying to post one type of message in AII which will check the tag event in that message and do the required action in AII.
Now point is AII team is expecting a PML mesage as below -
  <?xml version="1.0" encoding="utf-8" ?>
- <pmlcore:Sensor xmlns:pmlcore="urn:autoid:specification:interchange:PMLCore:xml:schema:1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:autoid:specification:interchange:PMLCore:xml:schema:1 ./PML/SchemaFiles/Interchange/PMLCore.xsd">
  <pmluid:ID xmlns:pmluid="urn:autoid:specification:universal:Identifier:xml:schema:1" />
- <pmlcore:Observation>
  <pmlcore:DateTime>2012-02-08T16:41:26.760</pmlcore:DateTime>
  <pmlcore:Command>TAG_DECOM_BATCH</pmlcore:Command>
- <pmlcore:Data>
- <pmlcore:XML>
  <PRODUCT>TRN_PROD_13</PRODUCT>
  <BATCH_ID>ATRN_PROD13B</BATCH_ID>
  <LogicalDeviceID>DG_AMBOISE_LINE_1</LogicalDeviceID>
  </pmlcore:XML>
  </pmlcore:Data>
  </pmlcore:Observation>
  </pmlcore:Sensor>
And they have also provided the standard PML message xsd to us but when we are importing it in to XI it is giving the below error -
Change list activated; note the following information
Check result for External Definition: PML | urn:sugata_PI_LFTP: Document check found errors
Cause: Loaded document contains incorrect XSD definition
Name of '/schema/element("XML")' starts with 'xml'
as we can see in the above XML there is a tag called  <pmlcore:XML> if we change this to something like <pmlcore:ABC>
it is imported successfully and we can see the message structure  in the XSD also.
As PML XSDs are standard so the AII team is also not changing the same as mentioned above.
Please advise how can we import this XSD in PI with tag name XML?
Another question, which is very confusing to us -  is PI able to send PML message as mentioned above? or PI will send a simple XML as below -
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_Batch_DECOMM xmlns:ns0="http://pfizer.com/serialization/batch_expiration">
- <Observation>
  <DateTime>2012/02/08</DateTime>
  <Command>TAG_DECOM_BATCH</Command>
- <Data>
- <XML>
  <PRODUCT>F000000211</PRODUCT>
  <BATCH_ID>00000TESTAII001</BATCH_ID>
  <DOCUMENT_NO>0000000004811027</DOCUMENT_NO>
  <LogicalDeviceID>DG_GLOBAL</LogicalDeviceID>
  </XML>
  </Data>
  </Observation>
  </ns0:MT_Batch_DECOMM>
and AII will convert it to PML message using some PML engine or PML converter in AII?
Request your urgent help in this regard. Any help will be appreciated and rewarded.
The standard XSDs we are using are - PMLCore.xsd and Identifier.xsd , first one is referring the second one.
Thanks
Sugata B Majumder

Hi Mark,
Thanks for the input. I have also thought the same using XSLT or JAVA as in PI7.1 the tag XML is not allowed in xsd. But I got surprise when I have created a data type having a field name as XML and xsd for this has been successfully generated.
Any ways I have handled the entire structure target payload creation in XSLT. here is the XSLT code I have written-
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
   <xsl:comment>
   This XSLT Mapping is designed to handle the PML structure required by SAP AII system.This XSL Transformation will create PML Standard Message in SAP PI.
   Author: majums15
</xsl:comment>
  <pmlcore:Sensor xmlns:pmlcore="urn:autoid:specification:interchange:PMLCore:xml:schema:1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:autoid:specification:interchange:PMLCore:xml:schema:1 ./PML/SchemaFiles/Interchange/PMLCore.xsd">
  <pmluid:ID xmlns:pmluid="urn:autoid:specification:universal:Identifier:xml:schema:1" />
      <pmlcore:Observation>
      <pmlcore:DateTime>
     <xsl:value-of select="substring(//EDI_DC40/CREDAT,1,4 )" />
  <xsl:text>-</xsl:text>
  <xsl:value-of select="substring(//EDI_DC40/CREDAT,5,2 )" />
  <xsl:text>-</xsl:text>
  <xsl:value-of select="substring(//EDI_DC40/CREDAT,7,2 )" />
  <xsl:text>T</xsl:text>
  <xsl:value-of select="substring(//EDI_DC40/CRETIM,1,2)" />
  <xsl:text>:</xsl:text>
  <xsl:value-of select="substring(//EDI_DC40/CRETIM,3,2)" />
  <xsl:text>:</xsl:text>
  <xsl:value-of select="substring(//EDI_DC40/CRETIM,5,2)" />
  </pmlcore:DateTime>
        <pmlcore:Command>TAG_DECOM_BATCH</pmlcore:Command>
        <pmlcore:Data>
          <pmlcore:XML>
           <xsl:element name="PRODUCT">
           <xsl:value-of select="//ZBATMAS/IDOC/ZE1BATMAS/MATNR" />
            </xsl:element>
             <xsl:element name="BATCH_ID">
             <xsl:value-of select="//ZBATMAS/IDOC/ZE1BATMAS/LICHA" />
              </xsl:element>
            <xsl:element name="LogicalDeviceID">
             <xsl:text>DG_GLOBAL</xsl:text>
              </xsl:element>
             <xsl:element name="DOCUMENT_NO">
             <xsl:value-of select="//ZBATMAS/IDOC/EDI_DC40/DOCNUM" />
              </xsl:element>
            </pmlcore:XML>
        </pmlcore:Data>
      </pmlcore:Observation>
    </pmlcore:Sensor>
  </xsl:template>
</xsl:stylesheet>
Thanks
Sugata B

Similar Messages

  • Import through CHARM gives ERROR that dependecies of predecessaor

    Import through CHARM gives ERROR that dependecies of predecessaor transport requests exists and the import fails through CHARM in solution manager.
    we are having many occurrences that are being reported where ChaRM is not capable of releasing a transport because it is asking for the dependencies to be released first, even though the dependencies are already in Production.
    let us know  if we can change the configuration in CHARM or in the Solman Projects so that when we import the request we dont get this dependencies again

    Hi Michael,
    If the objects are locked under another transport request which are not released, only then you will get an Error saying Objects are locked by Request.
    1. You either release the Requests which holds those objects and then try to release the Charm request.
    OR
    2. Check under which tranports requests does these objects are locked and then goto t.code se03 and Unlock those objects and then try to release the Request thorugh Charm
    Regards,
    Lohith

  • Putting video clips (mov) in to edit work place time line after photos (jpeg) getting error message, the importer reported a generic error. ? please help thanks

    premier elements12, putting video clips (mov) in to edit work place time line after photos (jpeg) error message, the importer reported a generic error. ? please help.

    TINA54
    Thanks for the reply.
    Some general comments...
    Regarding:
    THERE ANY WAY I CAN PUT MULTIPLE RANDUM TRANSITIONS IN TO THE TIME LINE WITH JUST ONE CLICK ? .
    There is no transition choice for random transitions across the Premiere Elements 12 workspace Timeline. But, the Elements Organizer 12/Create Menu/Slideshow and its Slideshow Editor does have that random transition choice. So, one possibilitity would be to create your slideshow in Elements Organizer 12 Slideshow Editor and then move the slideshow into Premiere Elements with the Output of Edit with Premiere Elements Editor command.
    Pending more details of the slideshow you are creating, I think that you would get your best photo quality and overall results staying with Premiere Elements 12 workspace (1080p) project and the transitions randomized manually.
    perhaps applying the default to all (all at the same time),
    using Timeline Menu/Apply Default Transition,
    and then replacing transitions randomly for the random transition look).
    Please let us know if any of that worked for you.
    Thanks.
    ATR

  • Import from scanner give error message "This file already exists in this catalogue"

    I can import from the scanner occasionally, but often times get this error message.  " this file already exists in this catalogue" and the scanned picture is discarded.
        I see others have had it as well, but no solutions were posted. I'm running Photoshop elements 11 with all current updates.

    Thanks for the reply. My Image wasn't in a version set however.   I scanned a new photo which was successsful. I then scanned a second photo different from the first, which failed.  I think possibly the software for my HP scanner is at fault, since it always names the scans as image1.jpg. It doesn't give an option to increment successive scans to a different name which probably caused the problem.

  • Package/Import statements - javac gives errors while Netbeans does not

    I do not know why, but when I compile/run my code with the statements
    package TavisProject;
    import TavisProject.LabelAndButtonFrame;
    in Netbeans, everything works properly as it should. However, if I try to compile the SAME files with javac at the cmd line, I get the errors:
    C:\FinalProject\src\TavisProject>javac Main.java
    Main.java:22: cannot find symbol
    symbol : class LabelAndButtonFrame
    location: class TavisProject.Main
    LabelAndButtonFrame labelAndButtonFrame = new LabelAndButtonFram
    e(); // Instantiates/calls labelAndButtonFrame
    ^
    Main.java:22: cannot find symbol
    symbol : class LabelAndButtonFrame
    location: class TavisProject.Main
    LabelAndButtonFrame labelAndButtonFrame = new LabelAndButtonFram
    e(); // Instantiates/calls labelAndButtonFrame
    ^
    2 errors
    Also, if you comment out the statements in both files, everything compiles fine with javac. Also, please note that LabelAndButtonFrame.java is in the same folder as Main.java.
    I'm trying to get a batch file to work properly that will compile/create javadoc, but I can't get it to work without figuring
    out what the deal is with those package/import statments causing problems.
    Thanks,
    Tavis
    The main code is as follows:
    package TavisProject;
    import TavisProject.LabelAndButtonFrame;
    import javax.swing.JFrame;
      * @author Tavis Curry
      * @version 1.0
      * This Class is called MainMethod. It instantiates/calls labelAndButtonFrame.
      * Uses javax.swing.JFrame
    public class Main
           * Main method
              * This method will call labeAndButtonFrame, set the default close op,
              * set the size of the jframe, and set the jframe to visible
            public static void main(String args[]){
                    LabelAndButtonFrame labelAndButtonFrame = new LabelAndButtonFrame(); // Instantiates/calls labelAndButtonFrame
              labelAndButtonFrame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE ); // LabelAndButtonFrame will Exit when the X-button is clicked
                    labelAndButtonFrame.setSize( 550, 70 ); // Sets frame size - width by height
                    labelAndButtonFrame.setVisible(true); // Shows LabelAndButtonFrame
         } // End main method
    } // End class LabelAndButtonFrameMessage was edited by:
    TC10284

    Thanks much. That worked.
    I had EVERYTHING working except this little thing.
    I'm a little confused on why it makes a difference if
    I set this however. Why can the compiler not find the
    files if they're in the same dir?Because it doesn't find files - it finds classes.
    The fact that it can use directories to organize the hierarchy is misleading. That is an easy convention but it doesn't alter the fact that it uses the class path itself along with other rules to find classes (not files.)
    >
    Also, now that I have to set the classpath, how would
    I get this to work inside a batch file that uses env.
    variables to locate the base project?
    Both the java compiler and the java vm tools support a command line option which allows you to fully specify the class path.

  • Mac OSX gives error while importing photos - "Kernel Panic"

    I upgraded my mac, reinstalled OSX and Lightroom , tried to import photos, mac gives error (called Kennel Panic) and restarts abandoning import. Applecare support suspect Lightroom reinstall issue. Thanks

    If you want PRE to be responsive you should follow Steves' recommendation to resize to 1000x750 (SD).
    At the technical level I think the maximum allowable dimensions are 4096 x 4096 - but PRE will struggle with pictures that size.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • The importer reported a generic error

    I need help on the cs6 I shot a video on canon and the format is m2t file
    when I try to import the file to cs6 it gives me error message "The importer reported a generic error"
    what can I do about this, someone please help even if there is any software or patch thanks

    Exactly what is INSIDE the video you are editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • Premiere Pro not sending files to After Affects "The importer reported a generic error"

    Hi all,
    I just recently purchased PP & AE CC. putting together my first project on my new laptop and when i go to right click a clip on my Premiere pro timeline and proceed to push "Replace with after effects composition" It swaps to After Effects but nothing loads, i alt tab back to Premiere and it displays me the message "The importer reported a generic error"
    If it's any help the footage is from my A7S filmed in SDXC format. everything works fine within the project. I've tried logging out and in of my adobe account updating restarting etc. had no luck.

    Hi Brandon,
    ascarib wrote:
    After doing the reboot my computer gives me the "You can't use this version of the application "Adobe After Effects CS6" with this version of OS X. Nothing has changed on my computer but it was fine before. What else can we try? Thank you for your patience.
    Make sure that you update After Effects: Can't launch | Mac OS X 10.9 (Mavericks)
    Thanks,
    Kevin

  • The importer reported a geniric error

    Hi,
    I can't upload any file in my Premiere Elements 10. getting the error message "The importer reported a geniric error". It used to work well before (I have uploaded same file earlier). My laptop was crashed. So i restored it and re-installed PE10. I lost my PE10 original serial number. Got new Serial number from the Tech Support. Now I can't upload any file. I see lot of discussions on the same topic. but it seems nothing is resolved. Please help me.
    Thanks,

    The Anji
    Let us start with background information.
    What computer operating system is your Premiere Elements 10 working on? And, does your computer use a NVIDIA GeForce video card/graphics card.
    If a NVIDIA GeForce card, then stop and let us know. There is a serious Premiere Elements 10/NVIDIA GeForce issue which is remedied by roll back of the card's driver version to about May 2013. We need to rule this factor in or out before considering other troubleshooting routes.
    See Announcement at the top of this forum.
    What are the properties of this file that was compatible with Premiere Elements 10 before but is not now?
    Video Compression
    Audio Compression
    Frame Size
    Frame Rate
    Interlaced or Progressive
    File Extension
    Pixel Aspect Ratio
    The brand/model/settings of the camera that recorded the video might give us the information that we need. How long ago
    was everything work?
    What project preset are you setting to match the properties of your source media?
    Then the usual...latest version of QuickTime installed...and are you running the program from a User Account with Administrative Privileges and also have Run As Administrator applied?
    Let us start here and then consider the troubleshooting plan.
    Thank you.
    ATR

  • Importing After Effects document to Premiere Pro errors: "The importer reported a generic error."

    I´m using Premiere Pro CC ver 2014.1. and After Effets 2014.1.1. in OS X Yosemite. I can't import After Effects project to Premiere.
    There is always same error message: "The importer reported a generic error."
    I have tryed to save After document several different names and greate new ones. Always same error. Whats wrong in my workflow?

    Okay so I've searched around most of this forum and as much of Google as I could find - I have found similar problems, but nothing exactly the same; and none of the solutions I've found have worked for me. I've seen a lot of people having trouble connecting to the DL server on the file-selection window, but I don't even get that far - an error message just pops up in the middle of my screen - and my error doesn't mention a server, just that it can't connect to AE DL.
    I changed firewall software (which I've wanted to do for months, anyway) and still to no avail.
    As for the "The importer reported a generic error" problem also, I can't find any problems or solutions with After Effects files not being able to be imported.

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • Importing CD - No Disk Error Message When Ejecting CD

    Every since I upgraded my itunes to the latest version, I am getting an error message telling me there is no cd every time I eject my cd after importing. It gives me an option to retry, continue and cancel. No matter what I pick it does not recognize the next cd and my windows cursor is stuck in a rotating hourglass position even after I end the itunes program! Can anyone please shed some light? Thank you!

    Thanks Bob! My problem was that I was following advice from elsewhere on the internet that said I should burn a DVD in UDF format when in fact just burning it using disk utility in ISO made it work. Thank you so much!

  • Problem Import WSDL with XSD import Schema

    Hi SCN, i have problem
    I have a WSDL that references an xsd, but the structure is not visible in PI.
       <wsdl:types>
          <xsd:schema targetNamespace="http://tempuri.org/Imports">
             <xsd:import schemaLocation="http://bilbolab****.net/ServiceItemHO.svc?xsd=xsd0" namespace="http://tempuri.org/" />
             <xsd:import schemaLocation="http://bilbolab.****.net/ServiceItemHO.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
             <xsd:import schemaLocation="http://bilbolab.*****.net/ServiceItemHO.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/ItemHO.BO" />
          </xsd:schema>
       </wsdl:types>
       <wsdl:message name="iVistaHO_AddItemHO_InputMessage">
          <wsdl:part name="parameters" element="tns:AddItemHO" />
       </wsdl:message>
    WSDL works well using SoapUI.
    When imported to PI parameters is not displayed
    I Need Help
    Thank you.

    Hi, Dihiansan. I don't understand your proposal
    I need you see the structure in PI how in SoapUI.
    It is possible?
    Regards

  • When I run RSPCM gives error in PC and message error, alert, popup

    When I run the transaction RSPCM gives error in process chains and appear several popups, messages, alerts. what can be?

    Symptom
    The job log of a job contains message 00 517 (Job finished) and message BT
    608 (Job status was manually set to 'cancelled').
    Reason and Prerequisites
    There is a program error in the function BP_JOB_ABORT.
    Previously, the function BP_JOB_ABORT did not call the job status check
    correctly. As a result, BP_JOB_ABORT may still have set a job that had
    already finished correctly to 'cancelled'
    Solution
    Import the Support Package or implement the correction instructions

  • Tracing execution and standard Forte message filters

    Hello,
    During the process of tuning an application, or just of making it work, it
    is useful to trace the flow of processing.
    There are two ways of doing it :
    1) add your own trace instructions (calls to the LogMgr) at the appropriate
    places,
    2) use the traces of the Forte Interpreter !
    If one relies on solution 1, then it relies on what the developers have
    written (and thus sometime forgotten to write !) in their code.
    If one relies on solution 2, then potentially it can get as much information
    as is available to the interpreter (and the debugger ?), in a fully
    independant way since it uses directly the code itself and not added trace
    instructions.
    So solution 2 seems quite interesting.
    Unfortunately there are some potential problems :
    a) I haven't found in the documentation an exhaustive description of the
    logs the Forte tools do. The only and very short description is on page 148
    of the System management Guide. It's far from being exhaustive. So it
    requires playing with the filters.
    I recommand trying trc:in:1-63. I guess "in" stands for the interpreter.
    - level 1 seems to give the call tree,
    - level 255 seems to give almost the code !
    b) since the flags are not documented by Forte, how reliable and stable will
    they be in future versions ?
    c) what happens for compiled partitions is not clear to me (I have not tried
    it yet).
    So my question : are the message filters used by the Forte Tools like the
    interpreter described somewhere, i.e. in some Tech Note (I don't have access
    to them yet) ?
    best regards,
    Pierre Gelli
    ADP GSI
    Payroll and Human Resources Management
    72-78, Grande Rue, F-92310 SEVRES
    phone : +33 1 41 14 86 42 (direct) +33 1 41 14 85 00 (reception desk)
    fax : +33 1 41 14 85 99

    From: Pierre Gelli <[email protected]>
    Subject: tracing execution and standard Forte message filters
    Hello,
    During the process of tuning an application, or just of making it work, it
    is useful to trace the flow of processing.
    There are two ways of doing it :
    1) add your own trace instructions (calls to the LogMgr) at the appropriate
    places,
    2) use the traces of the Forte Interpreter !
    So solution 2 seems quite interesting.
    Unfortunately there are some potential problems :
    a) I haven't found in the documentation an exhaustive description of the
    logs the Forte tools do. The only and very short description is on page 148
    of the System management Guide. It's far from being exhaustive. So it
    requires playing with the filters.
    I recommand trying trc:in:1-63. I guess "in" stands for the interpreter.
    - level 1 seems to give the call tree,
    - level 255 seems to give almost the code !
    b) since the flags are not documented by Forte, how reliable and stable will
    they be in future versions ?
    Pierre Gelli,
    level 255 is the most detailed you are right on tracing..... As for documentation
    you will want to get ahold of several good tech notes that your Forte
    rep or support can get you which provide alot of the info you are after.
    Let me know if you can't do this and I can send you some of this info, but you are
    best to get the latest and greatest directly from Forte.
    Len Leber
    ATG Partners

Maybe you are looking for

  • Inserting records in a table after iterating through it

    Hi, I have a table like this: Col 1 Col 2 1 rat 2 hen 1 dog 1 cat 3 lion My requirement is to process all the records with unique values in col 1, means I will be inserting these unique records in table A and if the record repeats like for values in

  • Dynamic determination of VALUES of an Attribute in a Mail-form

    Hi All, We have created a Mail Form with ceratin attributes. We have assigned a target group to a campaign. now, the requirement is to determine the VALUES of the attributes dynamically for the BPs in the target groups. please help me what should be

  • Deploying with Package in CRM 2013

    I am in the process of trying to deploy a Plugin from Visual Studio 2012 and I am using the ILMerge to merge a few assemblies. This is an upgrade from CRM 2011 which also used merged assemblies with no problem.    For 2013 when I use the merged assem

  • While creating reservation in MB21shelf life message has to be appear

    Hello Gentlemen, My scenario is during creation of reservation in MB21,before save the reservation shelf life message has to be appear for that particular material. Please advise... Regards, Sridevi

  • How to Handle forms with J2EE?

    Hi, I am currently working on a project that needs to handle a lot of form inputs. I needs to find out how can i storage a big chunck of text from the form to the database. I was thinking perhaps i can create a text file for the text and store the fi