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

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.
Similar Threads
  1. Dark
    Replies:
    1
    Views:
    5,029
    milfar
    Nov 14, 2008
  2. Chris Bedford
    Replies:
    0
    Views:
    853
    Chris Bedford
    Aug 21, 2003
  3. CSG

    WSDL definitions

    CSG, Jan 27, 2004, in forum: XML
    Replies:
    0
    Views:
    592
  4. Stephen Edgecombe

    WSDL.EXE: WSDL Import Directive

    Stephen Edgecombe, Aug 13, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    530
    Stephen Edgecombe
    Aug 13, 2003
  5. RH
    Replies:
    1
    Views:
    639
    Dino Chiesa [Microsoft]
    May 27, 2004
  6. mrnu

    wsdl.exe fails with WebMethods generated wsdl file

    mrnu, Jun 7, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    584
  7. __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:
    263
    __MicroCode2004__@__Hotmail.Com__
    Sep 24, 2004
  8. dizhu

    Modify HttpGet and HttpPost portions of WSDL

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