You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Antonio Manuel Muñiz Martín <am...@gmail.com> on 2007/12/13 18:00:50 UTC
Axis validate SOAP Messages
Hi.
Axis2 validate SOAP messages?
I write in wsdl
...
<xs:sequence>
<xs:element minOccurs="1" name="appl"
nillable="true" type="xs:string" />
...
I send to service a message without appl element, in service code I do:
String appl = operation.getOperationRequest().getAppl();
and this statement return null, that´s ok, but this element can not be null
as WSDL says (minOccurs = "1"). Is this correct?. Must throws axis an
Exception?
Thanks.