[jboss-user] [JBossWS] - Changeing minOccurs possible?

SunFire do-not-reply at jboss.com
Tue Feb 26 17:35:12 EST 2008

I have a method like this:
  | 	@WebResult(name="GetBillingAccountResponse")
  | 	public GetBillingAccountResponse getBillingAccount (
  | 			@WebParam(name="GetBillingAccountRequest") GetBillingAccountRequest getBillingAccountRequest
  | 			);

When i deploy the SFSB the resulting WSDL for the GetBillingAccountRequest type looks like this:

  | <xs:complexType name="GetBillingAccountRequest">
  | <xs:sequence>
  | <xs:element minOccurs="0" name="GetBillingAccountRequest" type="tns:getBillingAccountRequest"/>
  | </xs:sequence>
  | </xs:complexType>
Is there any way to annotate that the GetBillingAccountRequest is supposed to be mandatory when the WSDL is auto generated (e.g. minOccurs="1")?

Thanks, Thorsten

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132336#4132336

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132336

More information about the jboss-user mailing list