----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Hunk_Ctr Message 1 in Discussion Hi, I have a created a webserivce in which there are two webmethod. One webmethod returns AOSituatieData which inturn has AOPeriodeColletionData which is a collection of AOPeriodeData. The othere webmethod returns AOPeriodeCollectionData. So now when i am serializing and then deserializing the object returned by the second object, I am getting xml error at 2,2 in the xml file generated after serializing. When i inspected the xml file, it is showing as ArrayOfAOPeriodeData1 instead of ArrayOfAOPeriodeData. Even the innner exception message says, cant recognise type ArrayOfAOPeriodeData1. Later when i observed the WSDL file generated by the WebService, AOPeriodeColletionData is declared as complex type ArrayOfAOPeriodeData1 <s:element name="FindAOPeriodenResponse"> - <s:complexType> - <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="FindAOPeriodenResult" type="s2:ArrayOfAOPeriodeData1" /> </s:sequence> </s:complexType> </s:element> <s:element name="AOPeriodeData" nillable="true" type="s2:AOPeriodeData" /> </s:schema> The complex type ArrayOfAOPeriodeData is also declared as an element to AOSituatieData. This is problem is there only for collection types that too if it used for the second time in the same webserivce. Note: This WSDL file is generated in .Net version 1.1.432 So could anyone help me get out of this error. Its critical... Thanks in advance, Prasanth. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
