[JBossWS] - Changeing minOccurs possible?
by SunFire
I have a method like this:
@WebMethod(operationName="GetBillingAccountRequest")
| @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
16 years, 8 months