how to control or modify the WSDL's definitions?

P

peter

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?
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,808
Messages
2,569,684
Members
45,446
Latest member
TeddyScull

Latest Threads

Top