John Saunders | MVP - Windows Server System - Connected System Developer
> I've done some searching, and I can't seem to find a documented
> approach.
[quoted text clipped - 19 lines]
>
> Has anyone tried this or something else to solve the same problem?
Brian, why not simplify things? When you receive the array from the
mainframe, fill a DataSet with it. When you want to send a DataSet, convert
it into the correct kind of array.

Signature
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
Brian Lampe - 06 Feb 2008 00:48 GMT
On Feb 5, 4:20 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:
> John Saunders | MVP - Windows Server System - Connected System Developer
>
[quoted text clipped - 30 lines]
>
> - Show quoted text -
Oh sure take the easy way out. :)
We actually just discussed that. The problem is we have this layer
that calls the webservices, and it would have to do that conversion
(IMO it doesn't, but that's the lead's desire) via reflection or
whatever, and that could get messy.
So, what I've managed to do today is create a SoapExtension that
intercepts the SOAP message mid-stream and tweaks the xml inside to
produce a DataSet. I'll have to adjust our dynamic proxy to add the
SoapExtensionAttribute to the methods as well as change their return
types to DataSet. This is probably *as* messy as using reflection
after the fact, but perhaps just a teensy bit more efficient.
Thanks for your response John!
Brian