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 » xsi types in output xml

Post new topic  Reply to topic
 xsi types in output xml « View previous topic :: View next topic » 
Author Message
Risto
PostPosted: Fri May 22, 2009 4:53 am    Post subject: xsi types in output xml Reply with quote

Newbie

Joined: 29 Apr 2009
Posts: 6

Hi All,

I am trying to call a webservice. I have created my message set from the WSDL. The web service expects to have the the types in the xml message as follows.

<arrayOfProspect_1 soapenc:arrayType="ns2:Prospect[2]" xsi:type="soapenc:Array">

All that I get on my output xlm is

<arrayOfProspect_1>

How can I get the types to be included in the output xml. My message is in the MRM domain. BTW, although I have used WMB for a while this is my first time trying to call a web service.

Thanks.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri May 22, 2009 5:26 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Which version of message broker runtime?
Back to top
View user's profile Send private message
Risto
PostPosted: Fri May 22, 2009 5:35 am    Post subject: Reply with quote

Newbie

Joined: 29 Apr 2009
Posts: 6

Thanks for your reply kimbert.

The broker is 6.0.0.4
The toolkit is 6.0.2
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri May 22, 2009 7:54 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Are you planning on upgrading to v6.1 any time soon? If so, you should design your message flows so that they can take advantage of the v6.1 support for web services.

The MRM message set has a setting which allows you to control xsi:type. If that doesn't do what you need, then you will need to switch over to XMLNSC. On v6.0, XMLNSC cannot validate, but there are other options http://www.mqseries.net/phpBB2/viewtopic.php?t=49220
Back to top
View user's profile Send private message
Risto
PostPosted: Fri May 22, 2009 11:04 am    Post subject: Reply with quote

Newbie

Joined: 29 Apr 2009
Posts: 6

Thanks kimbert. I am at a customer site and I dont think they plan to upgrade anytime soon. I somehow fixed the problem. I say somehow becuase I made a lot of changes and eventually it work. I did make manual changes to my message set after importing the wsdl which I think resolved the problem. I guess I assumed the WSDL imported and created a good message set but it did not.
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 » xsi types in output xml
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.