Soap service method class definition c#
<p>I am consuming a web service which has various methods one of which requires xml as input.</p>

<p>There is a structure that is required to be passed to get the correct response.</p>

<p>I have added the service reference within Visual studio and can see the method within the contract class which it has generated.</p>

<p>How can i create the correct class without phyisically getting the .xsd file and running xsd.exe to generate the class? As there could a change in the future to the xml format then I would need to run the xsd.exe again which is not good.</p>

<p>Any ideas would be great</p>

<p>Thanks</p>