Right now, you can't. This would very easy to add with another option (i.e. "OMIT_NILS"), but note that it would take more work for us to be able to process *incoming* messages like this - we can't currently deal with omission==null because we do all our parameter-matching by position and not by name. To recap: sending with omitted elements is easy, receiving with omitted elements is hard at present.
(I'm working on stuff in my sandbox which will solve this problem among other things, but it won't show up until post-beta) --Glen > -----Original Message----- > From: Jelda, Venkata Ramana [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 7:48 AM > To: [EMAIL PROTECTED] > Subject: how can I turn off xsi:nil="true" element > > > HI all, > In my soap message some elements can be null. > So I don't want to send those null elements at all. > for example in the follwing soap message: > <test xsi:type="ns3:t_Type"> > <startTime xsi:type="ns3:time_Type">1234</startTime> > <endTime xsi:type="ns3:time_Type">12345</endTime> > <option xsi:nil="true"/> > </test> > > I don't want to send <option xsi:nil="true"/> element. > I want to send like this when the element is null. > <test xsi:type="ns3:t_Type"> > <startTime xsi:type="ns3:time_Type">1234</startTime> > <endTime xsi:type="ns3:time_Type">12345</endTime> > </test> > > How can I do it?? > thanks in advance, > Ramana > > > -- > Ramana Jelda > mailto:[EMAIL PROTECTED] > > infosim Networking Solutions AG > Friedrich-Bergius-Ring 15 - 97076 Wuerzburg - Germany > Fon: +49 (0)931 20 592-262 > Handy: +49 (0)178 807 65 69 Fax: +49 (0) 931 20 592-209 > http://www.infosim.net >