how to control or modify the WSDL's definitions?

Discussion in 'ASP .Net Web Services' started by peter, Mar 16, 2010.

  1. peter

    peter Guest

    I wrote a web service server in Visual Studio 2005. The web method has a
    object parameter. The members includes string, datetime, integer.

    if my client application did not assign a value to a datetime type of
    member, it got an error message exe raised exception class
    ERemoteableException with message:
    'System.Web.Services.Protocols.SoapException:Server was unable to read
    request.. --> System.InvalidOperationException: There is a n error in XML
    document -> System.FormatException: The string '' is not a valid AllXsd

    I think that if the value is null, I can assign 0 to the datetime member to
    avoid the error, but other than that, are there other better ways to solve
    the problem?
    peter, Mar 16, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.