how to control or modify the WSDL's definitions?

Peter (77)

Usenet Archive
Joined
Aug 31, 2007
Messages
3
Reaction score
0
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
548,049
Messages
3,104,245
Members
248,133
Latest member
DujonT

Latest Threads

Top