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

    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
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dark
    Replies:
    1
    Views:
    4,625
    milfar
    Nov 14, 2008
  2. Chris Bedford
    Replies:
    0
    Views:
    579
    Chris Bedford
    Aug 21, 2003
  3. CSG

    WSDL definitions

    CSG, Jan 27, 2004, in forum: XML
    Replies:
    0
    Views:
    460
  4. __MicroCode2004__@__Hotmail.Com__

    How to modify the URL in a WSDL file for accessing a remote webservice ?

    __MicroCode2004__@__Hotmail.Com__, Sep 21, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    180
    __MicroCode2004__@__Hotmail.Com__
    Sep 24, 2004
  5. dizhu

    Modify HttpGet and HttpPost portions of WSDL

    dizhu, Oct 19, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    382
    dizhu
    Nov 2, 2004
Loading...

Share This Page