Unable to generate temporary classes (with biztalk2006 published webservices)<p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">HI </span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'"></span></font> </p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   I have an orchestration and schemas in biztalk 2006 which i published as an webservices. i ma able to use the orchestration  webservice in my ASP.Net code. wheni try to pass required object to that webservice method and when i try to invoke it ,i am getting  following  exception.(Scheams are Peoplesoft generated schemas from biztalk )</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.InvalidOperationException: Unable to generate a temporary class (result=1).</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_RD_P_NID_CI_VW_sequence_RD_P_NID_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_RD_P_NID_CI_VW_sequence_RD_P_NID_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_VW_sequence_BO_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_VW_sequence_BO_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_NAME_CI_VW_sequence_BO_NAME_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_NAME_CI_VW_sequence_BO_NAME_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_ROLE_CI_VW_sequence_BO_ROLE_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_ROLE_CI_VW_sequence_BO_ROLE_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_REL_CI_VW_sequence_BO_REL_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_REL_CI_VW_sequence_BO_REL_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_CI_VW_sequence_BC_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_CI_VW_sequence_BC_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_SOLDTO_CI_VW_sequence_BC_SOLDTO_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_SOLDTO_CI_VW_sequence_BC_SOLDTO_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_BILLTO_CI_VW_sequence_BC_BILLTO_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_BILLTO_CI_VW_sequence_BC_BILLTO_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_SHIPTO_CI_VW_sequence_BC_SHIPTO_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_SHIPTO_CI_VW_sequence_BC_SHIPTO_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_NOTE_CI_VW_sequence_BC_NOTE_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_NOTE_CI_VW_sequence_BC_NOTE_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_ADDR_VW_sequence_BO_CI_ADDR_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_ADDR_VW_sequence_BO_CI_ADDR_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_PHONE_VW_sequence_BO_CI_PHONE_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_PHONE_VW_sequence_BO_CI_PHONE_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_PAGER_VW_sequence_BO_CI_PAGER_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_PAGER_VW_sequence_BO_CI_PAGER_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_EMAIL_VW_sequence_BO_CI_EMAIL_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_EMAIL_VW_sequence_BO_CI_EMAIL_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CM_USE_CI_VW_sequence_BO_CM_USE_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CM_USE_CI_VW_sequence_BO_CM_USE_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_RB_CREDIT_CD_VW_sequence_RB_CREDIT_CD_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_RB_CREDIT_CD_VW_sequence_RB_CREDIT_CD_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_EMPLOY_CI_VW_sequence_BO_EMPLOY_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_EMPLOY_CI_VW_sequence_BO_EMPLOY_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'"> </span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Evidence evidence)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Web.Services.Protocols.SoapServerType..ctor(Type type, WebServiceProtocols protocolsSupported)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Web.Services.Protocols.SoapServerProtocol.Initialize()</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean&amp; abortProcessing)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   --- End of inner exception stack trace ---</span></font><font face=Arial size=2><span style="font-size:10pt;font-family:Arial"></span></font></p>© 2009 Microsoft Corporation. All rights reserved.Thu, 29 Jan 2009 17:59:03 Ze33305c3-b5f6-4922-8a3f-df202088d25ahttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#e33305c3-b5f6-4922-8a3f-df202088d25ahttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#e33305c3-b5f6-4922-8a3f-df202088d25aSri_2009http://social.msdn.microsoft.com/Profile/en-US/?user=Sri_2009Unable to generate temporary classes (with biztalk2006 published webservices)<p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">HI </span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'"></span></font> </p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   I have an orchestration and schemas in biztalk 2006 which i published as an webservices. i ma able to use the orchestration  webservice in my ASP.Net code. wheni try to pass required object to that webservice method and when i try to invoke it ,i am getting  following  exception.(Scheams are Peoplesoft generated schemas from biztalk )</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.InvalidOperationException: Unable to generate a temporary class (result=1).</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_RD_P_NID_CI_VW_sequence_RD_P_NID_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_RD_P_NID_CI_VW_sequence_RD_P_NID_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_VW_sequence_BO_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_VW_sequence_BO_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_NAME_CI_VW_sequence_BO_NAME_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_NAME_CI_VW_sequence_BO_NAME_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_ROLE_CI_VW_sequence_BO_ROLE_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_ROLE_CI_VW_sequence_BO_ROLE_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_REL_CI_VW_sequence_BO_REL_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_REL_CI_VW_sequence_BO_REL_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_CI_VW_sequence_BC_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_CI_VW_sequence_BC_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_SOLDTO_CI_VW_sequence_BC_SOLDTO_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_SOLDTO_CI_VW_sequence_BC_SOLDTO_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_BILLTO_CI_VW_sequence_BC_BILLTO_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_BILLTO_CI_VW_sequence_BC_BILLTO_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_SHIPTO_CI_VW_sequence_BC_SHIPTO_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_SHIPTO_CI_VW_sequence_BC_SHIPTO_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BC_NOTE_CI_VW_sequence_BC_NOTE_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BC_NOTE_CI_VW_sequence_BC_NOTE_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_ADDR_VW_sequence_BO_CI_ADDR_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_ADDR_VW_sequence_BO_CI_ADDR_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_PHONE_VW_sequence_BO_CI_PHONE_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_PHONE_VW_sequence_BO_CI_PHONE_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_PAGER_VW_sequence_BO_CI_PAGER_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_PAGER_VW_sequence_BO_CI_PAGER_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_EMAIL_VW_sequence_BO_CI_EMAIL_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CI_EMAIL_VW_sequence_BO_CI_EMAIL_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_CM_USE_CI_VW_sequence_BO_CM_USE_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_CM_USE_CI_VW_sequence_BO_CM_USE_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_RB_CREDIT_CD_VW_sequence_RB_CREDIT_CD_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_RB_CREDIT_CD_VW_sequence_RB_CREDIT_CD_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">error CS0030: Cannot convert type 'ChangeOfAddress.XsdTypesBody.properties_BO_EMPLOY_CI_VW_sequence_BO_EMPLOY_CI_VW[]' to 'ChangeOfAddress.XsdTypesBody.properties_BO_EMPLOY_CI_VW_sequence_BO_EMPLOY_CI_VW'</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'"> </span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Evidence evidence)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Web.Services.Protocols.SoapServerType..ctor(Type type, WebServiceProtocols protocolsSupported)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Web.Services.Protocols.SoapServerProtocol.Initialize()</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean&amp; abortProcessing)</span></font></p> <p class=MsoNormal><font face="Courier New" size=2><span style="font-size:10pt;font-family:'Courier New'">   --- End of inner exception stack trace ---</span></font><font face=Arial size=2><span style="font-size:10pt;font-family:Arial"></span></font></p>Mon, 06 Nov 2006 21:24:59 Z2006-11-16T00:00:53Zhttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#b7dd8520-5526-4750-bf6f-17b936c6a8a8http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#b7dd8520-5526-4750-bf6f-17b936c6a8a8Elena Kharitidihttp://social.msdn.microsoft.com/Profile/en-US/?user=Elena%20KharitidiUnable to generate temporary classes (with biztalk2006 published webservices)<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>You are running into a known problem in XmlSerializer Code Generation component: it cannot handle some cases of nested unbounded elements.<span style="">  </span>The Object Model it creates is not valid: user cannot use it to produce xml messages.</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>Unfortunately to fix this you have to edit your schema to make sure that all array-like constructs will be handled properly.</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri> </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>You would need to slightly modify all schema constructs that have the following:</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:sequence maxOccurs=&quot;unbounded&quot;&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri><span style="">  </span>&lt;xs:element ../&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:sequence&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri><span style=""> </span>or</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:sequence&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri><span style="">  </span>&lt;xs:element maxOccurs=&quot;unbounded&quot;/&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:sequence&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri> </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri> </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>Have to be changed to </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri> </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:sequence maxOccurs=&quot;unbounded&quot;&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri><span style="">  </span>&lt;xs:element ../&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:sequence&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:attribute name=&quot;tmp&quot; type=&quot;xs:string&quot; /&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>And </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:sequence&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri><span style="">  </span>&lt;xs:element maxOccurs=&quot;unbounded&quot;/&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:sequence&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>&lt;xs:attribute name=&quot;tmp&quot; type=&quot;xs:string&quot; /&gt;</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri> </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>Adding attribute will force XmlSerializer code generator using a class with array member and proper XmlSerialization attributes for the construct instead of an unwrapped array.</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri> </font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>Thanks,</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri>Elena</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:14pt;color:#4f81bd"><font face=Calibri> </font></span></p>Thu, 16 Nov 2006 00:00:45 Z2006-11-16T00:00:53Zhttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#8dc47c8d-dd33-42a7-b92d-8c951c0134f1http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#8dc47c8d-dd33-42a7-b92d-8c951c0134f1Narasimha1http://social.msdn.microsoft.com/Profile/en-US/?user=Narasimha1Unable to generate temporary classes (with biztalk2006 published webservices)I aslo got same problem. Solved with above solution. Great solution.Fri, 02 Feb 2007 11:54:39 Z2007-02-02T11:54:39Zhttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#303d29a2-a5d2-4bb2-a8d2-e89834a590f4http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#303d29a2-a5d2-4bb2-a8d2-e89834a590f4hattarhttp://social.msdn.microsoft.com/Profile/en-US/?user=hattarUnable to generate temporary classes (with biztalk2006 published webservices)Worked great for me too. Thanks!<br>Thu, 26 Apr 2007 16:57:10 Z2007-04-26T16:57:10Zhttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#fbed06de-f1a0-48d2-8249-30335a1fc4d1http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#fbed06de-f1a0-48d2-8249-30335a1fc4d1Alan1231797http://social.msdn.microsoft.com/Profile/en-US/?user=Alan1231797Unable to generate temporary classes (with biztalk2006 published webservices)solution worked perfectly. a real life saver <p align=left><font face=Arial size=2></font> </p>Thu, 24 Apr 2008 18:19:21 Z2008-04-24T18:19:21Zhttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#0d373725-b85a-44e8-baff-81c8e48d73a1http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#0d373725-b85a-44e8-baff-81c8e48d73a1Andy Blackmanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Andy%20BlackmanUnable to generate temporary classes (with biztalk2006 published webservices) Hi all, <br><br>Has any further progress been made on this bug ? e.g. a bugfix in xsd.exe, or any cleaner workarounds ?<br>I came to the same conclusion and added a &quot;dummy&quot; atttribute, and it all started working, but I don't want to see the dummy property in the generated code !!!!<br><br>Any help would be most welcome...<br><br>Thanks,<br><br>AndyWed, 09 Jul 2008 22:36:27 Z2008-07-09T22:36:27Zhttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#f9d744fd-7b09-4216-9443-d06dbf1969f7http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#f9d744fd-7b09-4216-9443-d06dbf1969f7hawilysihttp://social.msdn.microsoft.com/Profile/en-US/?user=hawilysiUnable to generate temporary classes (with biztalk2006 published webservices) Hi,<br><br>Have the same problem but I am in more deep ____, I use a standard - fi2 ( local std in sweden for building std information) so I have problems fideling with the elements. What I do now, will be gone in next release and I have to do it allover again and there are 450+schema elements  used.  Puh...<br><br>Any plans for a new release of the XmlSerializer?<br><br>Hilsen fra hansWed, 16 Jul 2008 06:40:40 Z2008-07-16T06:40:40Zhttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#1fd11eab-1eff-4dbd-8d76-2ce5d1b86128http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#1fd11eab-1eff-4dbd-8d76-2ce5d1b86128John Saundershttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20SaundersUnable to generate temporary classes (with biztalk2006 published webservices) Anyone who wants a bug fixed should file it at <a href="http://connect.microsoft.com">http://connect.microsoft.com</a>. This forum is not a way to get bugs fixed.<br><hr size="1" align="left" width="25%">John Saunders | Use File-&gt;New Project to create Web Service ProjectsWed, 06 Aug 2008 05:10:29 Z2008-08-06T05:10:29Zhttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#3d60cb9a-8417-45dc-adf3-d5cdb5bfb3echttp://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/e33305c3-b5f6-4922-8a3f-df202088d25a#3d60cb9a-8417-45dc-adf3-d5cdb5bfb3ecTomWeizhttp://social.msdn.microsoft.com/Profile/en-US/?user=TomWeizUnable to generate temporary classes (with biztalk2006 published webservices) <span dir=ltr style="font-size:9pt;color:rgb(0,0,153);font-family:arial;height:10px">magician ; (biblical) sorcerer, soothsayer </span>Thu, 29 Jan 2009 17:59:00 Z2009-01-29T17:59:00Z