MQ Message content conversion using JMS

I want to use JMS content conversion to convert MQ messages into XML (Idoc). We currently use the R/3 link application to send data to/from MQ to SAP.
Each MQ message is one continuous stream of data with no carriage returns or line feed between the header and lines. When I set-up the JMS mapping commands, it sees the message as one string of data and does not map out the separate idoc segments.  Can I use JMS file content conversion or will I need some type of JAVA mapping module to handle the mapping for each different type of Idoc segment?  If it;s JAVA, could you provide an example.  Thanks   Jim

Hi Jim,
Go through the following link which disscusses the JMS Content Conversion.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
Amaresh

Similar Messages

  • JMS Adapter Content conversion using Webspear MQ

    Hi All,
    I have a scenario  where I have to pick a flat file from WebSpear JMS Q.In turn I should convert flat structure into xml structure to parse to the RFC structure(YOTCS_I090_INV_S) and map to the traget structure.
    Below is the Source structure:
    Messages
    ->Message1
    -->YOTCI_I090_INV_SYNC
    --->YOTCS_I090_INV_SYNC
    >item
    >ZDATE
    >TIME
    >TZONE
    >WERKS
    >MATNR
    >LGORT
    >CHARG
    >SOBKZ
    >INSMK
    >LIFNR
    >ZMENGE
    >ZMEINS
    >LOT_NUMBER
    >CODE_DATE
    Source file look's as below:
    YOTCS_I090_INV_S                                                                                4928
    YOTCS_I090_INV_S                                                                                3
    YOTCS_I090_INV_S                                                                                3
    YOTCS_I090_INV_S                                                                                1
    I am doing the file contact conversion as below in JMS Adapter:
    Module Key      ParameterName                           ParameterValue
    Plain2XML        Transform.Class                           com.sap.aii.messaging.adapter.Conversion
    Plain2XML        Transform.ContentType                 text/xml;charset=utf-8
    Plain2XML        xml.conversionType                      StructPlain2XML
    Plain2XML        xml.documentName                      YOTCI_I090_INV_SYNC
    Plain2XML        xml.documentNamespace            urn:sap-com:document:sap:rfc:functions
    Plain2XML        xml.item.fieldFixedLengths           8,8,6,4,18,4,10,1,1,10,13,3,10,8
    Plain2XML        xml.item.fieldNames ZDATE,TIME,TZONE,WERKS,MATNR,LGORT,CHARG,SOBKZ,INSMK,LIFNR,ZMENGE,ZMEINS,LOT_NUMBER,CODE_DATE
    Plain2XML        xml.processFieldNames             fromConfiguration
    Plain2XML        xml.recordsetStructure               item,*
    Can any one help me in configuring the Content conversion? Hope you got my issue.
    Thanks in Advance.
    Best Regards,
    Jose

    Joseph,
    Go thru the Below Link
    http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    Cheers
    Agasthuri Doss

  • File Content Conversion in JMS Adapter

    Hello,
    I am trying to use module parameters to convert File to XML in Sender JMS adapter. I have followed the instructions in the SAP document (3.1 Example of a Simple Conversion in a Sender Communication Channel)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
    The problem I am facing is instead of creating one xml message for all the lines in the file; it is creating one message per line. Not sure what I need to do get all the lines in to one xml message.
    Please let me know if any of you have faced similar issue.
    Thanks
    AV

    The Parameter xml.recordsetsPerMessage can only be used if it is a complex structure. I mean it needs a recordSet with Keys..etc and What I am trying to do is a simple FCC using
    Transform.Class=com.sap.aii.messaging.adapter.Conversion
    Transform.ContentType=text/xml;charset=utf-8
    xml.conversionType=SimplePlain2XML
    xml.documentName=PurchaseOrder_Root
    xml.documentNamespace=http://namespace
    xml.fieldFixedLengths     =2,10,10,3,..
    xml.fieldNames = DATA1,DATA2,DATA3....
    xml.processFieldNames=fromConfiguration
    xml.structureTitle=PurchaseOrder
    <b>I am expecting</b>
    <PurchaseOrder_Root>
    <PurchaseOrder>
    <DATA1>  </DATA1>
    <DATA2>  </DATA2>
    </PurchaseOrder>
    <PurchaseOrder>
    <DATA1>  </DATA1>
    <DATA2>  </DATA2>
    </PurchaseOrder>
    </PurchaseOrder_Root>
    <b>When I use the above Module Config it is giving me </b>
    </PurchaseOrder_Root>
    <PurchaseOrder>
    <DATA1>  </DATA1>
    <DATA2>  </DATA2>
    </PurchaseOrder>
    </PurchaseOrder_Root>
    </PurchaseOrder_Root>
    <PurchaseOrder>
    <DATA1>  </DATA1>
    <DATA2>  </DATA2>
    </PurchaseOrder>
    </PurchaseOrder_Root>

  • File content conversion using SOAP adapter

    Hi,
         I'm using a receiver SOAP adapter in my IDOC to file scenario and need to do file content conversion in the receiver side.
    Are any standard modules available for file content conversion in the SOAP adapter or do I need to write custom EJB modules for this.
    Please note that I have to use a SOAP adapter, can't use any other adapter.
    Thanks in advance
    Shiladitya

    Hi,
    XML Document Conversion Type
    &#9679;      Enter recordTypes as the parameter name.
    Under Parameter Value, enter the complete, comma-separated list of all names of recordset types that occur in the document to be converted.
    If you decide to use this method, you can define a different conversion type for each recordset type that occurs in the XML document.
    For example, you could name the recordset types as follows: RecordType1,RecordType2,RecordType3.
    &#9679;      Enter singleRecordType as the parameter name.
    Under Parameter Value, enter the name of a recordset type that is to be used to convert all elements that occur in the XML document.
    If you decide to use this method, define the same conversion type for each recordset type that occurs in the XML document.
    You must enter exactly one parameter only. Whichever parameter you choose, you automatically exclude the second parameter.
    You define further parameters for each recordset type.
    In the remainder of this documentation the parameters are specified by the prefix <RecordType>. In your configuration, replace this name with the name of the recordset type.
    Conversion Type List with Separators
    &#9679;      <RecordType>.fieldSeparator
    Enter the field separator that is written between the individual fields of a record.
    This specification is mandatory.
    Conversion Type List with Fixed Field Length
    &#9679;      <RecordType>.fieldLengths
    Specify a character string that contains a list of fixed field lengths that are separated by commas and which determines the number and the length of fields generated in the text file.
    For example, you want to write a recordset with three elements that have field widths of five, ten, and fifteen characters. Enter:
    <RecordType>.fieldLengths = 5,10,15
    This specification is mandatory.
    &#9679;      <RecordType>.fieldLengthExceeded
    Specify how you want to handle fields that exceed the configured field length. Permitted values for the parameter value are:
    &#9675;       error (default)
    Interrupts processing of message with error
    &#9675;       cut
    Cuts off superfluous characters
    &#9675;       ignore
    Ignores the field length restriction
    Further Entries
    &#9679;      <RecordType>.beginSeparator
    Enter a string. The string is placed in front of the first field of a recordset.
    &#9679;      <RecordType>.endSeparator
    Enter a string. The string is appended to the last field of a recordset as a concluding character. The default is \r\n.
    &#9679;      contentType
    Enter the MIME type of the converted payload. The default value is text/plain.
    &#9679;      addHeaderLine
    Only define this parameter if you have already defined singleRecordType.
    Define whether a header line is to be added to the result of the conversion.
    &#9675;       none (default)
    Does not insert a header line
    &#9675;       fromXML
    The header line is generated from the element name of the first recordset of the XML document
    &#9675;       fromConfiguration
    The header line is determined by the configuration parameter headerLine.
    &#9679;      headerLine
    Only define this parameter if you have already set addHeaderLine=fromConfiguration.
    The value that you define is placed in front of the result of the conversion as a header line.
    &#9679;      fixedLineWidth
    Enter the maximum line length n (in characters) that can be written to the resulting document. The separator specified by lineSeparator is inserted in the resulting document every n characters.
    &#9679;      lineSeparator
    Only define this parameter if you have already defined fixedLineWidth.
    Specify the string that is written to the resulting document at the end of each line that is written with fixedLineWidth. The default is \r\n.
    Use of Special Characters
    You can use special characters in the following parameters: <RecordType>.fieldSeparator, <RecordType>.beginSeparator, <RecordType>.endSeparator, headerLine, and lineSeparator.
    &#9679;      Tabulator: \t
    &#9679;      Carriage Return (CR): \r
    &#9679;      Line Feed (LF): \n
    &#9679;      Arbitrary character: \x<code>
    <code>indicates the hexadecimal character code of the character to be displayed.
    Regards,
    Phani

  • Content Conversion in JMS Adapter

    Hi All,
    I am having a scenario JMS - XI - JDBC.
    Now I have to do the content conversion in the incming records.
    The sample incoming data is as follows:-
    <Field1>,<Field2>, ...,<Fieldn>        -->Row1
    {<Field1A>,<Field2A>, ...,<FieldnA>}   -->Row2
    {<Field1A>,<Field2A>, ...,<FieldnA>}   -->Row3
    <Field1B>,<Field2B>, ...,<FieldnB>     -->Row4
    {<Field1C>,<Field2C>, ...,<FieldnC>}   -->Row5
    {<Field1C>,<Field2C>, ...,<FieldnC>}   -->Row6
    {<Field1C>,<Field2C>, ...,<FieldnC>}   -->Row7
    Now at the target, we have 3 oracle tables, in which the data from the Row1 &4 will go to Table 1, Row2&3 --> Table2 and Row5,6 &7 --> Table3.
    The source data type that i m using is of the structure:-
    <TC>
      <GT>
        <Field1>
        <GS>
          <Field1A>
        </GS>
        <Field1B>
        <Field2B>
        <GDS>
          <Field1C>
        </GDS>
      </GT>
    </TC>
    Please help me out in the modules configuraton, how this can be handled.
    Thanks in advance, hope to receive some solution at the earliest.
    Rocky.

    Hi Rocky,
    Please have a look at these threads..
    JMS Adapter: Content Conversion
    JMS Adapter Content Conversion
    JMS Content Converrsion
    Hope these help you!
    cheers,
    Prashanth

  • Query regarding file content conversion using file adapter

    Hi All
    I have a question regarding file content conversion in file adapter.
    I have a file coming in the following format.
    AA,111,222,333
    BB,444,555,666
    CC,777,888,999
    My incoming message structure has a hierarchy. The CC record is a structure part of BB record. BB record is a structure part of AA record. It is like this:
    AA,111,222,333
    <<BB,444,555,666>>
    <<<<CC,777,888,999>>>>
    After file content conversion, in the resulted xml, i am getting a flat hierarchy instead of nested hierarchy.
    Is it possible to get a nested hierarchy as a result of file content conversion?
    Please let me know
    Thanks
    Chandra

    Hi Udo
    According to your suggestion, I am trying to use mapping.
    I am getting a flat file and i am reading it.
    This is my source structure:
    AA,11,22,33
    BB,44,55,66
    CC,77,88,99
    This is my required targer structure:
    AA,11,22,33
    <<BB,44,55,66>>
    <<<<CC,77,88,99>>>>
    To explain this, BB record can have multiple records of CC records.
    AA records can have multiple records of BB record.
    I am using removecontext node function.
    CC (Source)  (removecontext)-> CC (target structure)
    But here, when i rightclick on source CC field in the mapping editor, i cannot see any other context except root node. So, how can i proceed here??
    Many Thanks
    Chandra

  • Content conversion at JMS sender communication channel

    Hi friends,
                    I have to convert fixed length flat structure to xml message.Therefor i have to do content conversion at the JMS sender comm channel.Can someone please explainthe procedure?
    data in the queue would be like as follows.
    9999000000124646q12233appej500rc11147822zord

    Hi Manikandan,
    The structure conversion can handle files containing rows with different structures. In
    each row there is a key field to identify the structure. The rows with identical key fields of
    course have identical structures.
    Let us assume that we have a sample file with four rows. Each row has a two-byte key
    field; the first row has a second field with ten bytes; the structure of the second and third
    rows is the same and comprises two additional fields with three bytes each; the last row
    has a second field with five bytes:
    AA1234567890
    BBABCABC
    BBXYZXYZ
    CC12345
    The configuration for the conversion could look like this:
    Module Configuration
    Module Key Parameter Name Parameter Value
    Plain2XML Transform.Class com.sap.aii.messaging.adapter.Conversion
    Plain2XML Transform.ContentType text/xml;charset=utf-8
    Plain2XML xml.conversionType StructPlain2XML
    Plain2XML xml.processFieldNames fromConfiguration
    Plain2XML xml.documentName MyDocument
    Plain2XML xml.documentNamespace http://xi.com/test
    Plain2XML xml.recordsetName MyRecordset
    Plain2XML xml.recordsetStructure NameA,1,NameB,*,NameC,1
    Plain2XML xml.keyFieldName MyKey
    Plain2XML xml.keyFieldType CaseSensitiveString
    Plain2XML xml.NameA.fieldNames MyKey,field-nameA
    Plain2XML xml.NameA.fieldFixedLengths 2,10
    Plain2XML xml.NameA.keyFieldValue AA
    Plain2XML xml.NameB.fieldNames MyKey,field-nameB1,field-nameB2
    Plain2XML xml.NameB.fieldFixedLengths 2,3,3
    Plain2XML xml.NameB.keyFieldValue BB
    Plain2XML xml.NameC.fieldNames MyKey,field-nameC
    Plain2XML xml.NameC.fieldFixedLengths 2,5
    Plain2XML xml.NameC.keyFieldValue CC
    In xml.recordsetStructure, you add a name for each different structure followed by the
    number of occurrences or an asterisk for unbounded occurrences. For each structure
    name, you configure the structure separately in a separate namespace such as
    xml.NameA.fieldNames and so on.
    If your source file is a CSV file, replace each xml.XXX.fieldFixedLengths with
    xml.XXX.fieldSeparator.
    the result of this conversion looks like this:
    <ns:MyDocument xmlns:ns="http://xi.com/test">
    <MyRecordset>
    <NameA>
    <MyKey>AA</MyKey>
    <field-nameA>1234567890</field-nameA>
    </NameA>
    <NameB>
    <MyKey>BB</MyKey>
    <field-nameB1>ABC</field-nameB1>
    <field-nameB2>ABC</field-nameB2>
    </NameB>
    <NameB>
    <MyKey>BB</MyKey>
    <field-nameB1>XYZ</field-nameB1>
    <field-nameB2>XYZ</field-nameB2>
    </NameB>
    <NameC>
    <MyKey>CC</MyKey>
    <field-nameC>12345</field-nameC>
    </NameC>
    </MyRecordset>
    </ns:MyDocument>
    Regards,
    Vinod.

  • Message security while using JMS

    Hello,
    In PI7.0 we are using JMS adapter to pull data from another MQ system.
    How can we make this call secure?
    I mean, during data transfer using FTP or HTTP, we can use FTPS or HTTPS. In case of JMS, is there any way in which message security can be provided?
    Many Thanks in advance,
    Chandra

    Hi Chandra,
    The Security Provider Service of the session container then forces authentication against the policy configuration that is configured for JMS X.509 certificate authentication. Otherwise, the anonymous user is configured for J2EE Engine.
    Check the below link:
    http://help.sap.com/saphelp_sm32/helpdata/en/cb/b0ceb823984a62bf017a42179af99a/content.htm
    Thanks,

  • Not able to see Message Content while using SOAP Adapter

    Hi freinds
    I am working on following scenario
    Web Application ---> SOAP Adapter ---> XI ---> RFC Adapter ---> SAP R/3
    Web application is using the WSDL file which I generated from XI.
    Now everything is going fine & I am even getting the XML data in SAP R/3 ( Order is getting created ) but in RWB under message monitoring I am getting " <b>Content of message deleted to save memory</b> " for message content.
    Even in SXMB_MONI for that timeframe it is showing " <b>No messages available for selection</b> ".
    Can you tell me why I am not getting the message content & the message itelf in SXMB_MONI. What I need to do in order to get the message content while monitoring.
    Best Regards
    Lalit
    P.S --> I am able to see the message content if I am using File Adapter in place of SOAP Adapter

    Hi
    After adding the LOGGING_SYNC parameter with value 1. I am able to see the messages in sxmb_moni but they have status as " System Error - Restart not possbile " with the following error ::
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>402</SAP:P1>
      <SAP:P2>ICM_HTTP_TIMEOUT</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html><head><title>SAP Web Application Server Error</title> <style type="text/css"> body { font-family: arial, sans-serif;} </style> </head> <BODY text="#172972" link="#808080" vlink="#808080" alink="#8e236b" bgcolor=white leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"> <table height="61" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://sapxidev:50000/sap/public/icman/img/bluebar_tile.gif" height="30"><table> <tr> <td width=5></td> <td width=20% nowrap><font face=arial size="-1" color=white>SAP Web Application Server </font></td><td width=75% align="right" nowrap><font face=arial size="-1" color="white"><a href="http://help.sap.com/">Help </font></td><td width=5% nowrap></font></td> </tr></table> </td><td rowspan=2 width=122 height=61 valign=top><img src= "http://sapxidev:50000/sap/public/icman/img/theme.jpg" width=122 height=61 border=0 alt="SAP"></td> </tr><tr><td background="http://sapxidev:50000/sap/public/icman/img/graybar_tile.jpg" height="31">  </td></tr> </table> <br><br> <table width=800> <tr><td width=50 nowrap> </td><td> <H2>500 Connection timed out</H2><br>Connection timed out (-5) <br><hr> <table border="0"> <tr><td>Error:</td><td>-5</td></tr> <tr><td>Version:</td><td>6040</td></tr> <tr><td>Component:</td><td>ICM</td></tr> <tr><td>Date/Time:</td><td>Wed Dec 21 13:59:55 2005 </td></tr> <tr><td>Module:</td><td>icxxthr_mt.c</td></tr> <tr><td>Line:</td><td>2559</td></tr> <tr><td>Server:</td><td>sapxidev_XID_00</td></tr> <tr><td>Detail:</td><td>Connection to partner timed out</td></tr> </table> <p></p> </td></tr></table> <table><tr><td width=50 nowrap></td> <td nowrap><FONT SIZE=-1><a href="http://www.sap.com/">&copy; 2001-2003, SAP AG</a></FONT></td></tr></table></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when receiving by HTTP (error code: 402, error text: ICM_HTTP_TIMEOUT)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    As my payload was of 100 records with 15 fields I guessed that this can be the reason I am getting timed out. So next time I just send 2 records & this time no error & everything went fine.
    Now one thing I need to do is to increase the TIMEOUT value with the help of <b>OSS Note 824554</b>.
    But still in RWB ( with 2 records also ) under message monitoring I am getting " <b>Content of message deleted to save memory</b> " for message content.
    My objective now, is to display the payload which is coming from Web Application via SOAP Adapter in RWB. Can you help me in this.
    Best regards
    Lalit Chaudhary

  • File content conversion using the Meaasge Transform bean

    Hi
    I have a scenario file with pipe delimited file.
    What are content conversion parameters required
    venkat

    Sedamkar,
    In file content conversion you give these parameters;
    Header.fieldSeparator:|
    Header.endSeparator:'nl'
    DetailRecord.fieldSeparator:|
    DetailRecord.endSeparator:'nl'
    TrailerRecord.fieldSeparator:|
    TrailerRecord.endSeparator:'nl'
    In recordset structure you give as:Header,1,DetailRecord,*,TrailerRecord,1
    Regards,
    ---Satish

  • Receiver File adapter content conversion using StrictXml2PlainBean

    Hi All,
    For receiver file adapter i am using the module StrictXml2PlainBean, and also i mentioned the module configuration like this
    parameter name                              parameter value
    recordTypes                                  Header,TransactionHeader,TransactionDetail,TransactionTrailer,FileTrailer
    FileTrailer.endSeparator                |\n
    FileTrailer.fieldSeparator               |
    Header.endSeparator                   |\n
    Header.fieldSeparator                  |
    TransactionDetail.endSeparator   |\n
    TransactionDetail.fieldSeparator  |
    TransactionHeader.endSeparator |\n
    TransactionHeader.fieldSeparator |
    TransactionTrailer.endSeparator  |\n
    TransactionTrailer.fieldSeparator |
    But when i send the idoc, The receiver CC is throwing an error
    Message processing failed. Cause: com.sap.aii.af.modules.conversion.xml2plain.ConversionException: Invalid structure name encountered during conversion: Transaction at XML element MT_DeliveryOrder,Transaction
    My actual structure is
    MT_DelvOrder
       Header  0...1
       Transaction 0....Unbounded
          TransactionHeader  1..1
           TransactionDetail     0...unbounded
            TransactionTrailer  1...1
       FileTrailer  0...1
    The module is checking for the Transaction node,but i require the rest 3.
    Same configuration i have done successfully with FCC without using the module....
    So can any one suggest me where i am missing... why the module is pointint towards, the Transaction cant i ignore this node . and continue with the rest???
    Regards,
    Sridhar
    Edited by: sridhar reddy kondam on Aug 10, 2009 12:35 AM

    Hi Rajesh,
    The same FCC configuration was working fine with FCC and when i am using this module configuration i am getting the prob...
    In the file i need the Header,TransactionHeader,TransactionDetail,TransactionTail,Filetrailer
    my sample output file is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_DeliveryOrder>
    <Header>
    </Header>0...1
    <Transaction>0...Unbounded
        <TransactionHeader> 1..1
         </TransactionHeader>
         <TransactionDetail> 0...Unbounded
         </TransactionDetail>
          <TransactionTrailer>1...1
           </TransactionTrailer>
    </Transaction>
    <FileTrailer> 0...1
    </FileTrailer>
    Any suggestions will be great help...
    I think i need to go with other options without using this module....
    Regards,
    Sridhar
    Edited by: sridhar reddy kondam on Aug 10, 2009 6:03 AM

  • How to set MQ message header properties using JMS adapter? (10.1.2)

    Hello,
    I am trying to send MQ messages from a BPEL process. We are using OAS 10.1.2 and JMS MQ adapter. Could you please let me know how to set the message descriptors like message format, type, report and reply to queue properties and queue open options (in jmsAdapterOutboundHeader).
    Regards,
    Geratayya

    put something like this
    <activationAgents>
          <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="PARNERLINKNAME">
            <property name="clusterGroupId">SOMEUNIQUEVALUE</property>
            <property name="portType">PARTNERLINK_PORTTYPE</property>
          </activationAgent>
        </activationAgents>

  • Content conversion using PI MDM adapter in PI 7.1

    Hello All,
    I am using the PI MDM adapter in PI 7.1.
    I have a scenario ECC - PI - MDM .   ECC will send an IDoc to PI and we need to send a flat file to MDM.
    So is it possible to convert the IDoc XML in PI to flat file using PI MDM adapter , and if yes then how ?
    Please help
    Regards,
    Loveena

    Hi Loveena,
       Check the "Non-XML Inbound Messaging" section in the following document (Page 15)
    https://websmp205.sap-ag.de/~sapidb/011000358700001890482008E
    Regards,
    Ravi kanth Talagana

  • File Content Conversion using Sender to Mapping

    I have a sender that is mapping a flat file CSV and it maps it correctly, but when it is being send to the message mapping program it fails on the input parse with an exception:
    Mapping transformation: Cannot produce target element /ns0:G8328_09B_Document/ns0:G8328_09BMessageType. Check xml instance is valid for source xsd
    I am using an external definition as my input for the message mapping if I import the messge from the monitor payload and change the ns: to ns0: in the test tool it maps find.  Can anyone tell me how to get the File adapter to generated ns0: instead of  ns: in the input message coming out of the adapter.
    Payload from the file adpater:
    <ns:G8328_09B_Document xmlns:ns="http://nike.com/DEYTEL/RFCToJDBCInterface">
    - <ns:G8320_09BMessageType xmlns:ns="http://nike.com/DEYTEL/RFCToJDBCInterface">
    - <G8328_09B>
      <VKORG>1000</VKORG>
      <AUART>ZG2</AUART>
      <XBLNR>0061623534</XBLNR>
      <VBELN>0010790092</VBELN>
      <NETWR>178.99</NETWR>
      <WAERK>USD</WAERK>
      <VBTYP>O</VBTYP>
      </G8328_09B>
    - <G8328_09B>
      <VKORG>1000</VKORG>
      <AUART>ZRE</AUART>
      <XBLNR>0061651916</XBLNR>
      <VBELN>0010790093</VBELN>
      <NETWR>37.37</NETWR>
      <WAERK>USD</WAERK>
      <VBTYP>O</VBTYP>
      </G8328_09B>
    </ns:G8320_09BMessageType>
    </ns:G8328_09B_Document>
    Payload gernerated from the Test tool:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:G8328_09B_Document xmlns:ns0="http://nike.com/DEYTEL/RFCToJDBCInterface">
       <ns0:G8328_09BMessageType>
    <G8328_09B>
      <VKORG>1000</VKORG>
      <AUART>ZG2</AUART>
      <XBLNR>0061623534</XBLNR>
      <VBELN>0010790092</VBELN>
      <NETWR>178.99</NETWR>
      <WAERK>USD</WAERK>
      <VBTYP>O</VBTYP>
      </G8328_09B>
    - <G8328_09B>
      <VKORG>1000</VKORG>
      <AUART>ZRE</AUART>
      <XBLNR>0061651916</XBLNR>
      <VBELN>0010790093</VBELN>
      <NETWR>37.37</NETWR>
      <WAERK>USD</WAERK>
      <VBTYP>O</VBTYP>
      </G8328_09B>
       </ns0:G8328_09BMessageType>
    </ns0:G8328_09B_Document>
    The test tool mapping I remove the ns and replaced it with ns0.
    Thanks for any help.
    Arjun.

    Hi Arjun,
    A few points....
    1. Namespace prefix being different does not cause mapping errors.
    2. In your case, note the name space <b>xmlns:ns="http://nike.com/DEYTEL/RFCToJDBCInterface"</b> missing in XML generated 
    using IR.
    3. The difference in Msg type names. After FCC it is G832<b>0</b>_09BMessageType where as in test tool it is G832<b>8</b>_09BMessageType.
    Correct points 2 and 3, your issue will be solved.
    Regards,
    Jai Shankar

  • How do we do File content conversion using SFTP SEEBURGER Adapter

    HI All,
              Can we do FCC using SFTP SEEBURGER adapter. If yes how?
    XIer

    Dynamic attributes are part of the XI message. They provide options for dynamical configuration of SFTP receiver channels (Outbound direction) using parameters that have been dynamically added or set by modules and mappings before the SFTP adapter. These attributes can be set using the Attribute Mapper module for example. Besides, the SFTP adapter dynamically adds specific parameters to the XI message on Inbound case, which can be used by the modules and mappings after SFTP adapter.
    Check also
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
    Regards
    Naycho

Maybe you are looking for

  • Mac running slow suddenly

    Dear All, My mid-2012 13" MacBook Pro suddenly became extremely slow yesterday evening. I restarted it several times, installed the latest software updates without any improvement. This morming I did the following: - I removed com.adobe.aaa.updater-1

  • Currency change in controlling area...

    Dear All,        We are demerging one company code out of 8 company codes, There is one controlling area to that 8 company codes are assigned and that controlling area currency is NOK, we demerged one company code out of 8 and put in another server a

  • Add new manager field in SAP Query

    Hi All, I need to find manager for the employee. Is RH_GET_LEADING_POSITION right function module? After finding the manager I need to add new field 'Manger' in the existing SAP Query. Please can anyone help me inserting additional code into the SAP

  • How to commit each record in Oracle Form Personalization

    Hi, how to commit each record with out using save button in form...my requirement is when cursor goes to next record it vil automatically stored in database please give me your valuable suggestion... Actual Requirement: here we need to give the locat

  • Bug in creative cloud

    what's the point in sending you all the bug if you can't be bothered to fix it here's another one.