A
Tue Jan 31 09:11:17 CST 2006
Hi Kevin,
The bug that you referred me to is a beta 2 bug. I think the proxy generator
behaves fine with respect to BUG# FDBK25605.
Moreover, BUG# FDBK25605 it is with regards to type problem in WebMethods
that return datatable. My case is totally different. In my case there is a
problem with webmethods that receive a datatable as its parameter and the
proxy doesn't stream data to the web method.
Were you able to reproduce the bug? Is it going to be an official bug in
proxy generator?
Or this is a by design behavior?
Since I am going to suggest some radical changes in our application
architecture to our client, I appreciate if you could provide me some
official knowledge base ID or bug ID.
Thank you for help,
Alan
"Kevin Yu [MSFT]" <v-kevy@online.microsoft.com> wrote in message
news:VnoXGShJGHA.1240@TK2MSFTNGXA02.phx.gbl...
> Hi Alan,
>
> During the research on this issue, I found if a web method returns a
> datatable, the proxy created when you create a web reference to that web
> service in a client application is not representing properly.
>
>
http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=6
> 13c616c-a3f6-473c-b3cd-2c910af42cfa
>
> From the above bug, we can see it is by design, because DataTable is not
> special cased in the WSDL- or proxy-generation code, meaning it is treated
> the same as any other user-defined type. In general, the proxy-generator
> does not try to associate incoming WSDL with an existing user-defined or
> net framework type.
>
> This can also suggest why there is no data in the DataTable when passed to
> server.
>
> Instead of using DataTable, I suggest using Dataset, which is
> special-cased
> in the WSDL- and proxy-generation code, and will show up in your proxy as
> Dataset.
>
> HTH.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>