RE: Serialization and parameterized constructor

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.)

.



Relevant Pages

  • Problem solved
    ... am not using a beta of WSE 3; the file does already exist in my web service. ... I have no problems when I do this on a new simple web service project. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: writing to file from web service
    ... WCF web service. ... Microsoft Online Community Support ... You can send feedback directly to my manager at: ... nature are best handled working with a dedicated Microsoft Support Engineer ...
    (microsoft.public.dotnet.languages.vb)
  • RE: e.result.length in WCF?
    ... Is there an equivalent way to determine the size of the result from a WCF ... use in classic asmx web service. ... Microsoft Online Support ... nature are best handled working with a dedicated Microsoft Support Engineer ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How to alias 2 classes in c#
    ... For ASP.NET webservice's client proxy, if you use "Add WebReference" to ... the type sharing support is still limited. ... where an initial response from the community or a Microsoft Support ... having 2 versions of a web service with a total compatibility ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Problems with namespaces
    ... \par Microsoft MSDN Online Support Lead ... \par where an initial response from the community or a Microsoft Support ... Than I have web service, that also uses the same classes (I ... \par Simon ...
    (microsoft.public.dotnet.framework.webservices)