SOAP and sending empty elements

E

emcconne

Using the classes provided by wsdl2ruby results in passing either "" or
nil to create objects for use by the RPC driver. Is there any way to
NOT send empty elements? For instance if I now have:

<address1>14 Bacon Street</address1>
<address2></address2>

Can this be changed so that only address1 is sent?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top