Idoc xml message in JMS adapter

Hi All,
Question 1:
    My scenario is MQ series(JMS adaptr) to SAP(IDOC adptr) . In my mapping both source and target structure is same IDOC structure.Where MQ series will send IDOC xml. In such case shall i need to do content conversion at JMS adapter level or not.whthr IDOC xml can be directly handle at Mapping level without doing any content conversion in adapter level.
Question 2(viceversa):
     SAP(IDOC adptr) to MQ series(JMS adaptr) . In my mapping both source and target structure is same IDOC structure.Where MQ series expect me IDOC xml. How to handle content conversion at JMS recvr adapter level.
my assumption only in case of (xml to plain) and (plain to xml) require content conversion here my Input and output is IDOC xml.

Saravanan,
As Expert Vishnu Mentioned,
>In such case shall i need to do content conversion
  NO need to use
>How to handle content conversion at JMS recvr adapter level
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-adapters/how%20to%20use%20the%20content%20conversion%20module%20with%20xi%203.0%20j2ee%20jms%20adapter.pdf
Cheers
Agasthuri Doss

Similar Messages

  • Read Object Message using JMS Adapter

    Hi,
    My JMS queue receives an object message.I want to read that object message using JMS adapter.Currently the JMS Adapter payload type is given options to read only 'TextMessage','BytesMessage','MapMessage'.How to read ObjectMesage using this adapter?Please help me on this?

    Hi,
    As far as i know, JMS Object Messages is not supported by XI JMS adapter.
    you need to have the JMS provider to transform the message to bytes messages.
    (Refer to SAP note 856346)

  • How to get the XML messages from JMS Queue in BPM

    I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
    can you please send me the code to get the XML messages from the JMS Queue.
    Thank you,

    Hi,
    Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
    artifactInfoNodes as Any[]
    xmlObject as Fuego.Xml.XMLObject = XMLObject()
    load xmlObject using xmlText = message.textValue
    . . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
    Hope this helps,
    Dan

  • I want to use ODI to read XML messages from JMS queue and then process it..

    I want to use oracle ODI (Oracle Data Integrator) to read XML messages from JMS queue and then process it.. i also want to process and validate the data in it....
    Could anyone please tell me the steps to achieve the same. I tried some ways which i got on OTN, but not able to implement it exactly...
    As i m very new to ODI, it will be great if you provide detailed steps..
    Thanks in advance for your help....

    Hi,
    Were you able to do it? We are facing this same issue now and, despite the fact the docs say otherwise, it does not seem to be a trivial task.
    TIA,
    Tedi

  • Xml messaging using jms code please

    hello friends
    presently i want to know how to send xml messaging using jms ..please
    give me answers in simple words. please give me code

    XML messages are text, so use a TextMessage. The JMS API Spec even notes that XML was a primary reason for having a TextMessage (They foresaw that XML "likely become popular").

  • Dequeue jms messages using JMS adapter

    Hi,
    I have created jms server, modules, queue from console-messaging-jms modules.
    I am trying to create a soa composite to consume message from this queue.
    In JMS adapter wizard - step 7 - i have selected the destination queue. In this step, what should be the jndi name?
    do i need to update weblogic-ra.xml file?
    Can someone please point me to the steps/doc to create jms adapter to consume message from Oracle Weblogic JMS? (basically configure deployment descriptor)
    Thanks
    Ganesh

    By passing username/password in the outbound connection pool, i was able to connect to the secured weblogic jms..
    This was my config for eis/wls/Queue connection pool..
         AcknowledgeMode     java.lang.String     AUTO_ACKNOWLEDGE
         ConnectionFactoryLocation     java.lang.String     weblogic.jms.XAConnectionFactory
         FactoryProperties     java.lang.String     
         IsTopic     java.lang.Boolean     false
         IsTransacted     java.lang.Boolean     false
         Password     java.lang.String     weblogic123
         Username     java.lang.String     weblogic
    After making the change ( remember to hit enter after modifying password and username fields, else change wont persist) , i saved it with a new deployment plan and updated the deployment with the new plan. Then redeployed the composite containing the jms adapter and I am able to see a consumer created for the queue.

  • Missing message in JMS adapter sender

    Hi,
    we have a synchronous interface with a JMS adapter. The scenario is:
    ECC 5.0 -> XI -> MQSeries -> XI -> ECC 5.0
    We put the message in the queue MQ correctly and we get the response message. I can see this in the adapter monitoring in RuntimeWorkbench. But from this moment the message is missing. I can't see anything in the bpm monitoring (SXMB_MONI_BPE). The bpm stops in workitem receive but doesn't return any error.
    I don't know how to see where we lose the message and why.
    Thanks for advance.
    Paloma

    Hi,
    Can you see your message in SXMB_MONI? Is your BPM is in running state in sxmb_moni?
    You can double click on "PE" in sxmb_moni. It will take you to the Workflow display. Then click on button Technical details,which will show you all steps and if you expand all branches..you should be able to see your error / exception message in case if any.
    Please check n let us know the result.
    Nilesh

  • Missing Messages by JMS Adapter

    We are using JMS adapter to send the X12 messages to XI and we are having intermittent issues when the server load is high or server is given a restart.
    Some of the messages from MQ are not processed by the adapter and are lost.
    We have to resend  the messages again.
    has anyone face similar problems in prod. Solution for the problem would be awarded full points

    Hi,
    check the "Transactional JMS Session (Recommended)" check box.
    Then no message loss will happen from MQ.If there is any messages loss, go and check the dead lock Queue.

  • Maximum message size JMS adapter can pick

    Dear All,
    I have query on JMS adapters.
                                                 1) I would like to know what is the maximum size message JMS adapter can pick?
                                                 2) Is there any option in JMS adapter, to define the maximum size?
    You help/guidance will be very much appreciated.
    Thanks,
    Praveenkumar

    1) If you see any issues with JMS XI Adapter handling 30MB messages in
    Production systems.
    If message size beyond 10MB then the message wont come to SXMB_MONI itself.....may be even in CC monitoring there may not be an entry....you mentioned Production Systems.....did you checked in Dev? The behavior wont change from Dev to Prod.
    2) If 30MB is huge, what is the maximum permissible message size
    greater than 10MB as break point.
    10MB itself is the limit...anything above that wont be processed.
    Regards,
    Abhishek.

  • IDOC XML Message status:029

    Hi all,
    in RSXMB_SHOW_STATUS i have 21.000 messages in status 29.
    How can i delete them ?
    Regards

    Using SXMB_ADM you can either archive or schedule jobs.
    But before doing set retention period in same transaction " Define Interfaces

  • Message Conversion in JMS adapter

    Hello Friends,
    I have a scenario where in I will be getting the message from MQ, and the message will look like
    <b>SOURCE</b>
    <Root><MessageHeader><MessageID><MessageIDSystem>SCV</MessageIDSystem><MessageIDType>FE</MessageIDType><MessageIDIdentifier>CUSTOMER_MASTER</MessageIDIdentifier></MessageID><MessageReleaseNo>0004</MessageReleaseNo><MessageVersionNo>00</MessageVersionNo><MessageOrigApplID>SCV</MessageOrigApplID><MessageDestApplID>BROKER</MessageDestApplID><MessageInterfaceID>IDD088</MessageInterfaceID></MessageHeader><MessageBody><SCVData>53435646453030340130303030303401323030372d31312d31362031393a34303a343401313336333938323401330130010154414730303101574542555345525f52454c4154494f4e0155504441544501323030372d31312d31362031393a34303a343301544147303138013836373134013332353030303039343239013332353030303035323338013332353030303035323339010131014e014e01494e41435449564501350154414730303101504552534f4e01494e414354495641544501323030372d31312d31362031393a34303a343401544147303032013332353030303039343239015941553b56414e4553534101333235013301494e41435449564501323030352d30342d30332031383a34363a3136015343563234324d4947524154494f4e01323030372d31312d31362031393a34303a3433014a43473031370133515955493630554b36355136015041015441473031390131013332353030303039343239015041303030303934323901013101544147303033015941550156414e455353410156590101014601013530372d34333032383838013530372d363736383332380149544350545940435750414e414d412e4e4554013201013530372d343330323839310101544147303031014c494e4b01494e414354495641544501323030372d31312d31362031393a34303a3434015441473030360130303432013332353030303035323338013332353030303039343239015343563234324d4947524154494f4e013530372d34333032383838013530372d343330323839310101323030352d30342d30332031383a34363a313601393939392d31322d33312030303a30303a3030015343563234324d4947524154494f4e01494e41435449564501323030372d31312d31362031393a34303a3433014a43473031370149544350545940435750414e414d412e4e4554013530372d343330323839310154414730313901320133323530303030353233380150413b494e5445524558503b48454144510101320154414730313901310133323530303030353233380150413030303035323338010131015441473031390134013332353030303035323338013832373032313030010134015441473031390131013332353030303039343239015041303030303934323901013101</SCVData></MessageBody></Root>
    and the ascii data in this message needs to be converted into XML format.
    JMS Adapter is picking this message from MQ and posting it to XI.
    Also there is an adapter module develped for this conversion and it is working fine for most of the messages, but it failing for this above message.
    Can you please help me out in this issue and how to test that adapter module.
    Thanks & Regards,
    Kumar

    hi kumar,
    >>Can you please help me out in this issue and how to test that adapter module.
    put brek points in ur adapter module and then run ur scenario and debug. this is how u test ur adapter module.
    this will also help u to see why is it running for certain msgs n failin for others. at different steps/points check the value for variables etc while debugging.
    Also put some statements to write audit log entries in ur code for module. this will also help in debugging.
    [reward if helpful]
    regards,
    latika.

  • Setting JMS Message header and properties in JMS Adapter ESB Component

    Hi,
    I am new to using some of these adapters in Oracle ESB and need some help.
    I am trying to define a JMS Publisher using JMS Adapter component in JDeveloper. I would like to publish messages with message property set to a topic. I dont find a way to do that.
    I see that for consuming JMS messages, the JMS Adapter allows to specify message selector but I could not find a way for producing message with a user defined message property. I would like to use that property in the message selector to filter messages and consume.
    I am using Oracle SOA Suite 10.1.3.3.x
    Can someone help please?
    Thanks.

    Thanks for the response.
    I think I found the solution although I havent tried it out yet.
    ESB sample 110.JMStoJMSHeaders outlines the approach.
    It is my understanding that JMS Message selector can work on JMS header or JMS properties (user defined) but not on JMS body. (All the three constitue a JMS message). Hence the need to set a JMS property prior to publishing the message to a topic/queue.
    Thanks.

  • 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>

  • IDoc flat file over AS2 adapter to IDoc adapter

    Hi,
    The scenario is IDoc flat file(.txt) over AS2 adapter to IDoc adapter. Could anyone help on how to convert the IDoc flat file to xml in AS2 adapter to execute the mapping further? we are using PI 7.0.
    Thanks in advance!
    -zameer

    Hi,
          Since you are on Pi 7.0, you would not be able to use the modules for this in PI 7.1.
    You would need to refer this document for converting from Idoc flat to XML
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a?quicklink=index&overridelayout=true
    In your sender AS2 adapter, you can pass the file as is to an abap mapping which will do the conversion to Idoc xml. the output of the abap mapping goes to your message mapping then for conversion.
    Another option would be to use a custom adapter module in the sender AS2 adapter to call the Aabap mapping to do the conversion into Idoc xml.
    The custom adapter module would do a JCO/RFC call which will do the conversion before passing the data back to the adpter module.
    Regards

  • Configuration for JMS Adapter Sensor action and JMS Queue sensor action..!!

    Hi,
    Id like my BPEL process to send an XML message to JMS on Websphere,I was able to do this through a JMS adapter.But I would more like to add sensors into my process which would really do the same thing - send an XML message to JMS Q.
    Now I understand that there are two ways to do this,JMS Queue and JMS Adapter - thorugh bpel sensor action.
    I am able to use JMS Queue and it works fine , but adds its own xml tags to the message,Is there any way I could send only my xml payload as a message to the queue??
    Also could any1 tell me what is the configuration for JMS Adapter sensor action?
    Any suggestions how do I go about it??

    Hey Anirudh,
    Thanx for the response :-)
    All these hold good when I have an AQ adaptor right,But the thing is I want to send a message to a 'JMS' queue with out actually using an adapter configuration wizard and everythng..So I resolved to JMS queue Sensor action..Heres the xml snippet from the sensorAction.xml files which is generated..
    <actions targetNamespace="http://xmlns.oracle.com/Test_JMS_Logging" xmlns="http://xmlns.oracle.com/bpel/sensor" xmlns:tns="http://xmlns.oracle.com/Test_JMS_Logging" xmlns:pc="http://xmlns.oracle.com/bpel/sensor">
    <action name="JMS_LogEntry" publishName="" publishType="JMSQueue" enabled="true" filter="" publishTarget="jms/L_Queue">
    <property name="JMSConnectionFactory">jms/L_QueueCF</property>
    <sensorName>ActivitySensor_JMS</sensorName>
    </action>
    </actions>
    This works grt and adds messages to the queue..But adds its own header info according to the sensor.xsd loacted at the Oracle_home\bpel\system\xmllib\ folder.
    Right now the XML message added to the Queue is:-
    <actionData xmlns="http://xmlns.oracle.com/bpel/sensor">
    <header>
    <sensor sensorName="ActivitySensor_JMS" classname="oracle.tip.pc.services.reports.dca.agents.BpelActivitySensorAgent" kind="activity" target="AddLEntr
    y" xmlns:pc="http://xmlns.oracle.com/bpel/sensor" xmlns:ns2="http://www.ulrhome.com/2008/10/L_Entry" xmlns:tns="http://xmlns.oracle.com/Test_JMS">
    <activityConfig evalTime="completion">
    <variable outputDataType="string" outputNamespace="http://www.w3.org/2001/XMLSchema" target="$WriteL_Produce_Message_InputVariable/L_Entry/ns2:L_Entry/ns2:LCName"/>
    </activityConfig>
    </sensor>
    <instanceId>950016</instanceId>
    <processName>Test_JMS</processName>
    <processRevision>v2009_04_15__40833</processRevision>
    <domain>default</domain>
    <timestamp>2009-04-15T11:21:23.596-04:00</timestamp>
    <midTierInstance>app01.ulrhome.com:9700</midTierInstance>
    </header>
    <payload>
    <activityData>
    <activityType>scope</activityType>
    <evalPoint>completion</evalPoint>
    <durationInSeconds>0.011</durationInSeconds>
    <duration>PT0.011S</duration>
    </activityData>
    <variableData>
    <dataType>12</dataType>
    <data>
    <ns0:LCName xmlns:ns0="LC_Test1http://www.ulrhome.com/2008/10/L_Entry">LC_Test1</ns0:LCName>
    </data>
    <queryName/>
    <target>$WriteL_Produce_Message_InputVariable/L_Entry/ns2:L_Entry/ns2:LCName</target>
    <updaterName>AddL_Entry</updaterName>
    <updaterType>scope</updaterType>
    </variableData>
    </payload>
    </actionData>
    My requirement is that I need to add a sensor to the BPEL process which posts 'Only my payload message to the JMS queue'..
    What I would want the message in the Queue to be is : -
    <data>
    <ns0:LCName xmlns:ns0="LC_Test1http://www.ulrhome.com/2008/10/L_Entry">LC_Test1</ns0:LCName>
    </data>
    Also while creating a Sensor action I get another option as JMS Adaptor,I am not sure of what value to type in this wizard..Heres what I keyed in..M sure this is not right..Cos it dosnt work :-)
    <action name="SensorAction_JMS" publishName="" publishType="JMSAdapter" enabled="true" filter="" publishTarget="jms/LoggingQueue">
    <property name="JMSConnectionName">Log</property>
    </action>
    </actions>
    Could any 1 tel me what values are the right values..And does JMS Adapter mean that I have to create a JMS Apator in the project and give that connection name as a Value..
    I am not finding sufficiant Documentation for 'JMS Adapter' so M clueless and right now any help will be appriciated :-)
    Regards,
    Akshatha.

Maybe you are looking for

  • Home sharing and itunes match

    Hello, Does anyone know how itunes match and home sharing are working together? Basically at home I'm using home sharing. Me and my partner are sharing the music. On our iphones, home sharing is activated with my account as reference. What will happe

  • Photoshop Elements 4.0 for OSX 10.8.4

    i purchased a Canoscan 8800F (scanner)...included in the software bundle was Photoshop Elements 4.0... it will not load...perhaps it's too old a version for the OS im running...? is there help for this or am i "SOL"...sooo out'a luck...smile?

  • Automatic Clearing through FESR

    Dear All, We are using FESR for posting the customer payments and automatic clearing. While it works for the payments which has no difference but for small differencesit it only post the payments but does not create a clearing document. So we have to

  • Re: Satellite L505-10M - Random BSOD, power cuts, freezes

    Hello, I have problems with my notebook. Problems go from the laptop just shutting down, as if someone pulled the powercord if it was a desktop. At that time the battery was fully charged and i was working with the power cable connected. Other proble

  • Import prompt for non existent device

    Every time I launch LR 2.2, if prompts me to import from my iPod Touch, which is not connected to the computer. It displays one blank image. How can I stop this from happening? When I plug in my compact flash card, I do want it to bring up the import