Using the proper WebServices library should handle that transparently for you. The netto result is that you get your ResultSet as the declared object type available in your Client code...
Please read-up on WebServices, SOAP, WSDL and the lot (Wikipedia has good introductions), before proceeding any further.
HTH
TonHu