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 » Proper technique Message parsing

Post new topic  Reply to topic
 Proper technique Message parsing « View previous topic :: View next topic » 
Author Message
smeunier
PostPosted: Tue Sep 06, 2005 12:06 pm    Post subject: Proper technique Message parsing Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

I'm looking into converting R3Link data to/from SAP by using the WBI mySAP.com adapter. I already use this adapter for an number of messages just fine. The R3Link migration, however prsents a different case.

For Outbound messages, the mySAP.com adapter will receive the message from SAP. The adapter will convert the message to XML with namespace prefix. This is fine. I can receive the message and address field names within. No Problem. The RFH2 header that accompanied the message from the adapter is stripped and the message is forward to a processing message flow, where the XML message needs to be converted to an IDOC structure format. This is where I run into problems. Using the IA0F suprt pack and the IDOC documentation in the Help context, i'm unable to resove the problems I have during this secondary processing.

The Input Node to the secondary process, has a Domain=IDOC, Message ID= <message set id>, message type='', message format=CWF

With this, the message appears to come in as BLOB. I have tried it as Domain-MRM and it become readable. Eaither way, I get a message stating something like: The bitstream, as presented to the 'IDOC' parser, is too small to contain the 'IDOC' structure. The length of this structure as given in the structure header is '5441'

I think this is due to the fact that the inbound IDOC, is in XML format with namespace prefixes which does not map to the Message Set Definition. I have tried various suggestions in the forum, but am stuck on this size issue. This leads me to beleive, my approach is wrong.

In essence I'm converting an XML inbound message to a CWF structure message. That is the goal. Any suggestions?
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 » Proper technique Message parsing
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.