on 06-10-2005 10:13 AM
Hi,
I am working on a scenario like this.
SAPR/3 --->XI3.0 --->JMS Queue.
I am sending the order information from SAPR/3 to legacy system which will pick up the file from JMS Queue.The legacy system expects the order data as flat file.
I am trying to do content conversion in the JMS adapter using Modules
localejbs/AF_modules/MessageTransformBean
localejbs/SAP XI JMS Adapter/ConvertMessageToBinary
localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService
and relevant module keys.
What I am trying to do is XML2Plain file format conversion.But I am getting the error
Adapter Framework caught exception: failed to configure the transformation object.
What could be the possible reason for the error message?
If any of the forum members have worked on the similar scenario,please share your knowledge.
Thanks in advance,
S.Banukumar
> I am trying to do content conversion in the JMS
> adapter using Modules
> localejbs/AF_modules/MessageTransformBean
> localejbs/SAP XI JMS Adapter/ConvertMessageToBinary
> localejbs/SAP XI JMS
> Adapter/SendBinarytoXIJMSService
it has to be:
localejbs/AF_Modules/MessageTransformBean
Modules - with capital M
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
I have corrected AF_modules to AF_Modules.Still I am unable to get the order info as Flat file.
I checked the adapter monitor for the JMS adapter and the status for my communication channel reads as
Receiver Channel. Details: (No detail information set.)
Any new ideas or checks?Please let me know.
Thanks,
S.Banukumar
Hi,
When I am trying to do content conversion in the receiver JMS adapter and deliver the message,I am getting the following error messages.
Error message1:
Adapter Framework caught exception: com.sap.aii.adapter.xi.ms.XIMessage
-
Error message2:
Delivering the message to the application using connection AFW failed, due to: com.sap.aii.adapter.xi.ms.XIMessage.
What could be the possible reason for the error messages?
Thanks in advance,
S.Banukumar
Stefan / Banukumar and Rashmi,
I have a need to convert xml to plain format in my JMS receiver. The protocol is WebSphereMQ (Non-JMS).
In help.sap.com, I don't see any information on "Set Additional JMS Parameters or Replace Default Settings" or the module key that you all have been discussing - XML2Plain
Can you share with me where you found all this information.
Thank you,
Parimala
Look here:
http://service.sap.com/nw-howtoguides
-> Exchange Infrastructure
-> How To Use the Content Conversion Module in JMS Adapter
Found it thank you.....very helpful and solved the problem. I cannot find the button to give the points. I will as soon as I find a way.
Another way to get to this - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/how to use the content conversion module with xi 3.0 j2ee jms adapter.pdf
Thanks again.
Pam
Hi S.Banukumar
This is a little late (original problem was posted over 6 months ago) ... but better late than never.
Error message1:
Adapter Framework caught exception: com.sap.aii.adapter.xi.ms.XIMessage
-
Error message2:
Delivering the message to the application using connection AFW failed, due to: com.sap.aii.adapter.xi.ms.XIMessage.
Go to the Modules tab in the receiver JMS communication channel. Make sure that the processing sequence of the modules is correct.
I got the same error messages as you, when this sequence was the wrong way around for a receiver JMS connection.
It should be "convert_XI2Bin" then "exit".
Hope this saves someone some pain ...
Bruno Konieczny
Hi Banukumar,
In your Module Configuration Parameters did you add the parameter Transform.class and its value as
com.sap.aii.messaging.adapter.Conversion .
Check your other parameters like xml.conversionType is set to xml2plain.
Make sure that you do not enter any spaces after parameter names or values in your
configuration, especially after copying values to the configuration from text files.
Cheers,
Rashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any information about this in the adapter monitor? Which SP do you have? Can you describe your conversion parameters?
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the Adapter monitor,the JMS adapter status information is not available now.But the JMS adapter used by other interfaces are working well.
We have SP9.
The conversion parameters are as follows:
Module key - XML2Plain
ParameterName ParameterValue
Transform.Class com.sap.aii.messaging.adapter.Conversion
TransformContent text/xml;charset=utf-8
type
xml.conversionType SimpleXML2Plain
xml.addHeaderLine 0
xml.fieldFixedLengths 80
xml.fixedLengthTooShortHandling Cut
Thanks,
S.Banukumar
Thanks Stefan.My XML looks like
<?xml version="1.0" encoding="UTF-8" ?>
<ns66:OrderData_MT xmlns:ns66="http://......">
<orderdata>
<record>0000001374 ZOR test1 <record>
</orderdata>
<orderdata>
<record>0000001375 ZOR test2 <record>
</orderdata>
<orderdata>
<record>0000001374 ZOR test3 <record>
</orderdata>
</ns66:OrderData_MT>
Do I need to change my xml structure? Or the above structure will work.
Thanks,
S.Banukumar
Hi Stefan,
I have not cut and paste the XML.I have reproduced part of the message.The XML document is like this:
<?xml version="1.0" encoding="UTF-8" ?>
<ns66:OrderData_MT xmlns:ns66="http://......">
<orderdata>
<record>0000001374 ZOR test1 </record>
</orderdata>
<orderdata>
<record>0000001375 ZOR test2 </record>
</orderdata>
<orderdata>
<record>0000001374 ZOR test3 </record>
</orderdata>
</ns66:OrderData_MT>
I hope it is a correct document now.
Thanks,
S.Banukumar
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.