axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Manuel Muñiz Martín" <amunizmartin.ax...@gmail.com>
Subject Axis validate SOAP Messages
Date Thu, 13 Dec 2007 17:00:50 GMT
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.

Mime
View raw message