IBM JAX-RPC web service : Though the response is Boolean we are getting a number in the output -
we have generated webservice based on wsdl using jax-rpc, in wsdl have response below
<element name="notificationsresponse"> <complextype> <sequence> <element name="ack" type="xsd:boolean"/> </sequence> </complextype> </element> </schema>
even generated code has method return type boolean
public boolean notificationxxxxx(java.lang.string xxxx, java.lang.string xxxx, java.lang.string xxxx)
but when invoke service soap ui, seeing response 'ack' 0, 1 not true / false. working fine jax-ws.
any on highly appreciated
according xml schema datatypes specification, boolean may have 4 values:
booleanrep ::= 'true' | 'false' | '1' | '0'
Comments
Post a Comment