Skip to Content
Former Member
Jan 29, 2014 at 04:23 PM

Returning null values to a Web Service datawindow from .NET


Sorry everyone, I am working in a new area for me, web services, and I keep having to ask questions here. Hopefully I'll get the hang of it soon 😊

I have a .NET web service returning SOAP data using basicHTTPBinding. I can create a datawindow from the method and retrieve data. One of the columns in the returned data is an int, and that column in the database for one of the records is set to null. However, int is not nullable in .NET. You can use int? to get a nullable version but that can't be passed back to Powerbuilder as it is a complex datatype apparently.

So my question is, how do you get null values from the database to a Powerbuilder datawindow via a .NET Web Service (or is it not possible and I should just give up).

Thank you!