Flash Remoting and webservices would be great if it worked. MM needs to work on the documentation and samples. Furthermore, why isn't this installed and configured with the MX/MX Pro install? The flash remoting samples all work except for the credit card webservices. I keep getting the following error, "Unable to create webservice proxy. Please ensure the Microsoft.NET Framework SDK is installed." The SDK is installed? I can't be the only one having issues. Thanks Michael
You're not alone, Michael. I'm also having that kind of problem, and it can't be because of the machine, 'cause I've tried installing the webservice with flash gateways to at least 3 servers. I think the flashgateway.dll has a problem. MM should provide more support for integrating Flash and .net if they want .net enterprise developers to harness their technology. Maynard
I may have found the solution to your problems (well it solved it for me anyway - using the webservices sample included with Flash Remoting): The .NET SDK does not add the appropriate directories to the PATH environment variable & from inspecting the flashremoting.dll it looks like the dll looks for wsdl.exe in the path, then looks at C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin\wsdl.exe. If you have Visual Studio .NET 2003, then that path is wrong. To solve this on my system I added the following directory into the list in the PATH environment variable & then restarted IIS: C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin And all of a sudden the webservices work. Neil
yup, it works for me. thx neil_price,
So remember if your publishing to a server that wont have VS.net installed copy the wsdl.exe to the bin folder with the flashgateway.dll. I dont like the overhead of generating this proxy though it seems a lot slower than accessing the .NET assembly of the web service directly.
I cant get flash to generate the proxy either, I even put wsdl.exe in the bin DIR. I cant figure it out, looked at the PATH environment variable, It appears to be fine, I dont have visual studio installed. Just the .net SDK. Any help would be marvelous!. Im quite new to .net, but not nearly as new to Flash mx 2004
I would recommend FlashOrb over Macromedia's solution. You should check it out...it addresses secuirty issues that no other product addresses and even though it's still in beta it works great.
hi I copy wsdl.exe to the folder bin, but now i get this error: "File or assembly name mywebservice.dll, or one of its dependencies, was not found." do you know what is happening ? Is there a possible that i have to configure web.config or other file ? thanks barbara
I don't think this is the right approach. If you want to consume web services, then you need to create a proxy class that translates between the web service types and CLR types. The Flash Remoting gateway only deals with CLR types... .NET handles the web service/xml communications. FWIW, I would rather see you install the Microsoft .NET Framework SDK and make sure that wsdl.exe and csc.exe are in your system PATH. That way, you can create your own proxy DLLs and place them in the /bin LAC sub directory without relying on the gateway to generate this for you (and thus you can use tighter read/write access policies on deployment). wsdl.exe and csc.exe are two standard Microsoft tools in the SDK - there should be ample MSDN documentation on both of these... Running this on the command line in the LAC (i.e. the relevant /bin sub dir) wsdl /out:WebServiceName.cs http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL csc /target:library /out:WebServiceName.dll WebServiceName.cs
hi ! that problem is past !! thanks ! now i get the error: NetConnection.Call.BadVersion. Do you know what it is ? The source is like a sample (tutorial) i get. But with my webservice doesn?t work ! And, with WebServiceConnector component works. thanks barbara
I have set the PATH variable and even put the wsdl.exe in the bin folder. But still, I get the same error message: Unable to create webservice proxy I have installed the following packages: Microsoft .NET Framework Version 1.1 Redistributable Package Microsoft .NET Framework 1.1 Software Development Kit Microsoft Data Access Components (MDAC) 2.7 Service Pack 1 I have set the web.config gateway is working fine as I see a blank page after I put that in IE I get the same error msg after I tried the sample credit card web service in flash remoting package Any clue? Please help
well I am having the same porblem, first "unable to create webservice.." and then "File or assembly name HelloWorldService.dll, or one of its dependencies, was not found." if some one has solve this problem plz share the solution.
Don't see what you're looking for? Try a search.
|