on 06-29-2009 10:32 AM
Hello,
I'm creating I'm using conversion module on module tab in communication channel base on JMS adapter. Messages comming to Xi are flat files and I need to convert then to XML to use in mapping.
I set conversion in tab module:
Plain2XML Transform.Class com.sap.aii.messaging.adapter.Conversion
Plain2XML Transform.ContentType text/xml;charset=utf-8
Plain2XML xml.PCI_Header.fieldFixedLengths 4,7,30,11,11,11,10,5,30,20
Plain2XML xml.PCI_Header.fieldNames RECORDTYPE,SITE,PCI,CUSTOMER,RECEIVER,SNOTE,PRE_PRODUCTION_MARKER,ENDFACTORY,MESSAGE_TYPE,DESCRIPTION
Plain2XML xml.PCI_Header.keyFieldValue 1472
Plain2XML xml.PCI_PART.fieldFixedLengths 4,11
Plain2XML xml.PCI_PART.fieldNames RECORDTYPE,PARTNO
Plain2XML xml.PCI_PART.keyFieldValue 1500
Plain2XML xml.PCI_Variant.fieldFixedLengths 4,6,8
Plain2XML xml.PCI_Variant.fieldNames RECORDTYPE,VARIANT_CODE,VARIANT_DESC
Plain2XML xml.PCI_Variant.keyFieldValue 1473
Plain2XML xml.conversionType StructPlain2XML
Plain2XML xml.documentName PCIMsg_V1
Plain2XML xml.documentNamespace http://volvo.com/xi/VolvoPowertrain/PCCP
Plain2XML xml.keyFieldName RECORDTYPE
Plain2XML xml.keyFieldType CaseSensitiveString
Plain2XML xml.processFieldNames fromConfiguration
Plain2XML xml.recordsetName PCI
Plain2XML xml.recordsetStructure PCI_Header,1,PCI_Variant,, PCI_PART,
Processing sequence looks like this:
1 SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
2 SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
3 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean Plain2XML
4 localejbs/CallSapAdapter Local Enterprise Bean call_AF_MS
I got error in Runtime Workbench I got error:
XI inbound processing failed for message at time 2009-06-29|10:17:33.919+0100. JMS and XI identifiers for the message are ID:5644544954414e5349543036323631313331303739393531 and adf14490-648d-11de-ca78-001125bfde72 respectively. The JMS adapter will rollback the database and JMS session transactions. If the session is transacted, the message is not lost and will be retried later. The exception stack trace is java.lang.Exception: Transformer Conversion3.0.4010 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408)
Parameter 'xml. PCI_PART.fieldFixedLengths' or 'xml. PCI_PART.fieldSeparator' is missing (4409)
Parameter 'xml. PCI_PART.keyFieldValue' is missing (4403)
Parameter 'xml. PCI_PART.fieldNames' is missing (4403)
...
It look strange for me becuase parameters for PCI_PART are defined.
I would be very grateful for any suggestions and ideas how I can solve problem.
Best Regards,
Agnieszka
Problem solved. Small space before PCI_PART in recordsetStructure.
Best regards,
A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.