RE: Serialization and parameterized constructor
- From: v-kevy@xxxxxxxxxxxxxxxxxxxx (Kevin Yu [MSFT])
- Date: Thu, 20 Jul 2006 08:52:57 GMT
Hi Stan,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to call a parameterized
constructor on your web service. However, it is not generated in the proxy
class. If there is any misunderstanding, please feel free to let me know.
Based on my research, this is a break change in VS2005. You can have a
parameterized constructor on your web service but there will be no way to
call this from your proxy. Instead, it will use the default constructor.
In this case, you can try to use another method to initialize all the
member fields for workaround.
Here is another person who have the same problem as yours.
http://groups.google.com/group/microsoft.public.dotnet.framework.webservices
/browse_thread/thread/7dcbaf997d20e32/c8a3c4b1fa6cd600?lnk=st&q=&rnum=10#c8a
3c4b1fa6cd600
If you have any concerns on this issue, please feel free to let me know.
I'd be happy to work on it with you.
Kevin Yu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- References:
- Serialization and parameterized constructor
- From: Stan
- Serialization and parameterized constructor
- Prev by Date: Reflection questions
- Next by Date: Re: Reflection questions
- Previous by thread: Serialization and parameterized constructor
- Next by thread: EventLog.WriteEntry working in 2.0 but not 1.1.4322
- Index(es):
Relevant Pages
|