VB.net not passing nulls to integer in web service test

stupy1stupy1 Posts: 7
edited March 5, 2007 1:40PM in ANTS Load
I need to be able to pass nulls to integers when testing a web services. this passes a zero instead:

Dim request As New twservices1.SupplyCostRequest
request.SupplyRouteKey = rnd.Next(1, 616)
request.DestinationTradingPartnerKey = Nothing
request.OriginTradingPartnerKey = Nothing
request.ItemKey = Nothing

for the last three criteria which are nullable integers.

Is this because the version of visual studio for scripting is 1.1? any ideas?

Comments

Sign In or Register to comment.