We have a generated webservice based on WSDL using JAX-RPC, in WSDL we have response like below
<element name="notificationsResponse">
<complexType>
<sequence>
<element name="Ack" type="xsd:boolean"/>
</sequence>
</complexType>
</element>
</schema>
Even the generated code has the method return type as Boolean
public boolean notificationXXXXX(java.lang.String XXXX,
java.lang.String XXXX, java.lang.String XXXX)
But when we invoke the service from Soap UI, we are seeing the response 'Ack' as 0, 1 not as true / false. This was working fine with JAX-WS.
Any help on this is highly appreciated