Yes, so maybe my experience will not help you. Tracy
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of essuark Sent: Wednesday, March 05, 2008 3:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mx:webservice and .NET 2.0 webservices I am using Visual Studio 2005 that creates everything in .NET 2.0 - are you using Visual Studio 2008 and .NET 3.x? thanks r --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Yes, I am successfully using .Net 2.0 webservice, though since I am > using VS 8, maybe it is .Net 3x? > > > > As pretty much a newbie with web services, I have left almost everthing > at the default (except for resultFormat). Are you doing anything fancy, > like setting contentType, or anything? > > > > And are you using Beta 3? > > > > Maybe post the WebService declaration and invocation code? > > > > Tracy > > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of essuark > Sent: Wednesday, March 05, 2008 3:21 PM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] mx:webservice and .NET 2.0 webservices > > > > Has any one successfully called a .NET 2.0 webservice? I can create > one in .NET 1.1 and it works fine but 2.0 doesn't work. I did create a > C# test application that did connect to it and it worked so I know it > is flex. > > Here is the error. > > ReferenceError: Error #1065: Variable @namespace is not defined. > at > mx.rpc.xml::SchemaLoader/schemaImports()[E:\dev\flex_3_beta3\sdk\framewo > rks\projects\rpc\src\mx\rpc\xml\SchemaLoader.as:101] > at > mx.rpc.wsdl::WSDLLoader/schemaImports()[E:\dev\flex_3_beta3\sdk\framewor > ks\projects\rpc\src\mx\rpc\wsdl\WSDLLoader.as:260] > at > mx.rpc.wsdl::WSDLLoader/resultHandler()[E:\dev\flex_3_beta3\sdk\framewor > ks\projects\rpc\src\mx\rpc\wsdl\WSDLLoader.as:169] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::disp <http://www.adobe.com/2006/flex/mx/internal::disp> > atchRpcEvent > <http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent <http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent> > > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractIn > voker.as:175] > at > mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resu <http://www.adobe.com/2006/flex/mx/internal::resu> > ltHandler <http://www.adobe.com/2006/flex/mx/internal::resultHandler <http://www.adobe.com/2006/flex/mx/internal::resultHandler> > > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractIn > voker.as:198] > at > mx.rpc::Responder/result()[E:\dev\flex_3_beta3\sdk\frameworks\projects\r > pc\src\mx\rpc\Responder.as:48] > at > mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex_3_beta3\sdk\frameworks\pr > ojects\rpc\src\mx\rpc\AsyncRequest.as:81] > at > DirectHTTPMessageResponder/completeHandler()[E:\dev\flex_3_beta3\sdk\fra > meworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:387] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at flash.net::URLLoader/onComplete() > > Thanks > Ralph >