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 » Message set built from WSDL Min Occurs problem

Post new topic  Reply to topic
 Message set built from WSDL Min Occurs problem « View previous topic :: View next topic » 
Author Message
shalabh1976
PostPosted: Mon Aug 18, 2008 9:32 pm    Post subject: Message set built from WSDL Min Occurs problem Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Hi,
I have a WSDL which is like:
Code:
   <wsdl:message name="subscribeInput">
      <wsdl:part name="subscriberName" type="xsd:string" nillable="true" minoccurs="0"/>
      <wsdl:part name="serviceName" type="xsd:string" nillable="true" minoccurs="0"/>
   </wsdl:message>

When I build a message definition file by importing the WSDL I see that the Min Occurs for both subscriberName and serviceName is set to 1, ie the elements are mandatory.

Shouldn't the value for MinOccurs have been set to '0'?
Please advise.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
vairavan
PostPosted: Tue Aug 19, 2008 10:25 pm    Post subject: Re: Message set built from WSDL Min Occurs problem Reply with quote

Apprentice

Joined: 22 Apr 2008
Posts: 42

You can very well change 1 to 0 by opening up the Message definition file in tool kit. The reason is Always when you create Message definition from wsdl, It sets it's min occurs as 1.

Hope this helps.
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Wed Aug 20, 2008 4:10 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Vairavan,
It may not be feasible to manually change the message set for each wsdl.
I wanted to know whether this is documented anywhere?
More from the perspective of whether this is a feature or a bug.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message set built from WSDL Min Occurs problem
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.