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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Bad XML in message to UPES

Post new topic  Reply to topic
 Bad XML in message to UPES « View previous topic :: View next topic » 
Author Message
dkeister
PostPosted: Tue Jan 08, 2008 11:41 am    Post subject: Bad XML in message to UPES Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

We migrated from Workflow 3.5 to Workflow 3.6. FP 6 on MQ 6.0.2.2

I have a data container with XML data being sent to the queue for a UPES. The XML data is contained in a CDATA section:

<Action>
<Notification><![CDATA[<?xml version='1.0' encoding='UTF-8'?><NotificationCollection structure='Base'>
</NotificationCollection>]]>
</Notification>
<Comment>This is a test of workflow 3.6</Comment>
</Action>

The information within the CDATA is what I expect.


Now a second message is sent and the data looks like:

<Action>
<Notification><![CDATA[<?xml version='1.0' encoding='UTF-8'?><NotificationCollection structure='Base'>
</NotificationCollection>]]><?xml version='1.0' encoding='UTF-8'?><NotificationCollection structure='Base'></NotificationCollection>]]>
</Notification>
<Comment>This is a test of workflow 3.6</Comment>
</Action>

this message in the UPES queue is bad because it contains the extra:

<?xml version='1.0' encoding='UTF-8'?><NotificationCollection structure='Base'></NotificationCollection>]]>

in the Notification tag. Subsequent messages keep getting larger because each contains an additional ...

<?xml version='1.0' encoding='UTF-8'?><NotificationCollection structure='Base'></NotificationCollection>]]>

It appears to me that Workflow is not handling CDATA properly when building the message for the UPES (not clearing out an internal buffer or something...).

Has anyone seen this? Used XML as part of the data container data?
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dkeister
PostPosted: Tue Jan 08, 2008 1:29 pm    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

Just an update to the prior post.

The container element contains:

<?xml version='1.0' encoding='UTF-8'?><NotificationCollection structure='Base'></NotificationCollection>

And that this was working under 3.4 and 3.5
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jmac
PostPosted: Wed Jan 09, 2008 6:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Dean:

If you haven't already done so, I would open a PMR. This looks strange.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
dkeister
PostPosted: Wed Jan 09, 2008 6:34 am    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

Doing that as we speak!
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hos
PostPosted: Thu Feb 28, 2008 11:50 pm    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Dean,

did you get a solution in the meantime?
Can you tell us the PMR # ?
This indeed seems to be a problem in 3.6.6.
Thanks.
Back to top
View user's profile Send private message
dkeister
PostPosted: Fri Feb 29, 2008 6:15 am    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

Here is the PMR - PMR 35842,756,000 - message contains extra data from previous request

I closed it yesterday (having just returned from a fishing trip to Chile)...

Our original design placed XML data in a data container and with the first UPES request everything was OK but when the second request arrived it appeared that the data from the original request was partially included.

My guess is that they are not clearing a buffer some where.

However, we didn't use the data so removed our code to populate it as a workaround. THEN I got a request to recreate with trace but since we had a running workaround, and things are very busy here, we didn't have time to recreate ... so I told them to close the issue.

I know the problem is there ... I think someone in development could easily recreate without our 'assistance'.

Hope this helps.

Dean
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hos
PostPosted: Mon Mar 03, 2008 7:06 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

There is an APAR IZ16766 for this problem.
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Bad XML in message to UPES
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.