flex 2 and .Net 2 webservices mix pretty well.

What's your flex version?

Are you getting the error at the time of loading the wsdl itself , i.e
without invoking any webmethod?
Are your request response message types defined in a particular
namespace in the xsd?

~Peeyush

On Thu, Mar 6, 2008 at 2:27 AM, essuark <[EMAIL PROTECTED]> wrote:

>   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 <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 <flexcoders%40yahoogroups.com> [mailto:
> flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>] On
> > Behalf Of essuark
> > Sent: Wednesday, March 05, 2008 3:21 PM
> > To: flexcoders@yahoogroups.com <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
> > atchRpcEvent
> > <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
> > ltHandler <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
> >
>
>  
>

Reply via email to