mikemessiah 0 Newbie Poster

Hi there having a bit of an issue using a webservice for an application. Basically i need to consume the web service via a winform app that will run some data transformation routinues, create an xml file and then pass the xml file to the webservice. The advice I am getting from the company that designed the webservice is limited as they only have an ASP designer. He keeps asking for the SOAP request and Response but from i understand the way I am consuming the webservice by adding as a web reference means the SOAP info is all behind the scenes ? I only have the ability to use there feedresult object which gives me error codes. The issue I am having specifically is that some of the XML fields are not mandatory and I need to know how to set a datetime item as null in the xml document ? I have had no luck with this so far and am going mad. If anyone has some ideas please heeelp.

Some more info :

The XMLschema generates a sample xml file with the following for a nillable object - <OccupationDate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
My current xml document creates this : <OccupationDate xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

I have tried modifying the document manually and uploading and still get a failure form the schema saying Line: 9 - Position: 6 - The element 'MandateDetails' has invalid child element 'ListDate'. List of possible elements expected: 'OccupationDate'.

Basically its returning this because the occupationdate with a nil value does not validate. If I enter a bogus date in the correct format then it works but i need to upload nil data specifically for this. I am at a toal loss here. Any ideas ??