axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Mischur <a.misc...@web.de>
Subject NULL Values
Date Tue, 10 May 2005 08:37:36 GMT
Hello everybody,

I had problems with NULL values of parameters.

My Client sent always this:

<sample>
    <number>987654321</number>
    <callnumber>12345678</callnumber>
    <callid xsi:nil="true"/>
</sample>


but the webservice i called, wants this if the callid is null:

<sample>
    <number>987654321</number>
    <callnumber>12345678</callnumber>
</sample>

So, the tag callid musst not be sent.

I've generated the stub with wsdl2java from the wsdl.

I'll set this code in the method:

       _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, 
Boolean.FALSE);
       _call.setProperty(org.apache.axis.AxisEngine.PROP_SEND_XSI, 
Boolean.FALSE);




So, please  help me, because i don't know the attribute
which i had to set or which combination of attributes.


Thx

alex

Mime
View raw message