ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How can we transform XML data to IDOC by using JCN

Post new topic  Reply to topic
 How can we transform XML data to IDOC by using JCN « View previous topic :: View next topic » 
Author Message
premji
PostPosted: Tue Apr 28, 2015 3:31 am    Post subject: How can we transform XML data to IDOC by using JCN Reply with quote

Acolyte

Joined: 01 Jul 2013
Posts: 64

Hi All,

Is it possible to transform XML format to IDOC format by using Java Compute node, if it is yes could you please share sample code.

Thanks in Advance!!
Back to top
View user's profile Send private message
iibmate
PostPosted: Tue Apr 28, 2015 4:20 am    Post subject: Re: How can we transform XML data to IDOC by using JCN Reply with quote

Apprentice

Joined: 17 Mar 2015
Posts: 38
Location: Perth, WA

premji wrote:
Hi All,

Is it possible to transform XML format to IDOC format by using Java Compute node, if it is yes could you please share sample code.

Thanks in Advance!!


Iib java api supports xpath . highly possible.

Refer to XML to XML data conversion
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 28, 2015 4:42 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

All depends on what you want to do with it. Think about going back to SAP use the DataObject domain and the adapter.
For a transformation outside of SAP you need a DFDL message model and map the XML to the model...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
premji
PostPosted: Tue Apr 28, 2015 4:46 am    Post subject: How can we transform XML data to IDOC by using JCN Reply with quote

Acolyte

Joined: 01 Jul 2013
Posts: 64

Hi fjb_saper,

Thanks for quick reply, in my requirement I do not use mapping node. Only I have perform this transformation using JCN
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 28, 2015 4:51 am    Post subject: Re: How can we transform XML data to IDOC by using JCN Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

premji wrote:
Hi fjb_saper,

Thanks for quick reply, in my requirement I do not use mapping node. Only I have perform this transformation using JCN

Mapping is not done exclusively in the mapping node.
And if your requirement is that you're not allowed the mapping node, then your requirement is not worth the paper it's written on... because it could just as well say you're not allowed DFDL or message sets....
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Apr 28, 2015 5:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you want to transform one message to another using a JavaCompute node, you write Java code to access the input logical message tree, and then populate the output logical message tree.

If you don't know how to write Java code, then you should use something other than a JCN.

If you also don't know how to work with the logical message tree, then you should use the Mapping node.

Or, you know, take some time and learn.
Back to top
View user's profile Send private message
iibmate
PostPosted: Tue Apr 28, 2015 5:20 pm    Post subject: Re: How can we transform XML data to IDOC by using JCN Reply with quote

Apprentice

Joined: 17 Mar 2015
Posts: 38
Location: Perth, WA

premji wrote:
in my requirement I do not use mapping node.


Should interpret other folks posts correctly.

Can you post sequence of nodes used and domains under which messages are navigated / should be populated in mapping node ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How can we transform XML data to IDOC by using JCN
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.