Menu

#19 NullableTypes and Office 2003 WS ToolKit

open
nobody
None
5
2006-03-07
2006-03-07
Anonymous
No

NullableTypes cannot be used properly in a
webservice, which shall be consumed by e.g. Excel
2003 or Access 2003. The proxy generated by the
Office 2003 WebService Toolkit 2.01 does produce
unusable wrappings.

Having a webservice, which just passes one class back
and forth in two functions:

public my_class query();
public void update(my_class);

public class my_class
{
public int a;
public DateTime b;
}

This works. The nullable thing not:

public class my_class
{
public NullableInt32 a;
public NullableDateTime b;
}

Regards

Discussion


Log in to post a comment.

MongoDB Logo MongoDB