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 Process Server (WID/WPS/WAS+) » xsi:type generation anomaly - WID 6.1.2

Post new topic  Reply to topic
 xsi:type generation anomaly - WID 6.1.2 « View previous topic :: View next topic » 
Author Message
ayanc
PostPosted: Sat Jun 27, 2009 3:13 am    Post subject: xsi:type generation anomaly - WID 6.1.2 Reply with quote

Voyager

Joined: 15 Nov 2004
Posts: 88

Hi,

I am using WID 6.1.2 and working on integrating WTX 8.2.04 with it. WTX has limitation of parsing xsi:type values.

I have the following code within a mediation module:

Code:

java.util.List <DataObject> abcextlist = new java.util.ArrayList <DataObject>();
DataObject prop0 = bofactory.create(propNs, propNm);
abcextlist.add(prop0);


The above code generates the xml as follows:

<abcExtensions xsi:type="pr:PropertyType"/>

In the very next line I have the following code

Code:

java.util.List <DataObject> abcflaglist = new java.util.ArrayList <DataObject>();
DataObject ind = bofactory.create(indNs, indNm);
abcflaglist.add(ind);


The above code generates the following xml

<abcFlags/>

I have compared the xsd definitions of PropertyType (first one above) and IndicatorType (second one above) and find no plausible difference.

My question is: Why is the xsi:type being generated for the first case and not for the second case? The xsi:type is causing failures in WTX maps and I do not know how to remove it.

Please Note:

1. The code is in the same custom mediation node
2. Both Flags and Extensions are children of the same parent object
3. The same code for Property (Extensions) does not create the xsi:type attribute when used in a WID module (non mediation) as part of a Java Component. (unfortunately i have to code it within the mediation module only).

Any ideas?
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 Process Server (WID/WPS/WAS+) » xsi:type generation anomaly - WID 6.1.2
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.