Groups | Blog | Home
all groups > macromedia flash flash remoting > february 2004 >

macromedia flash flash remoting : Unable to create webservice proxy


Michael Neptune
2/21/2004 5:10:24 AM
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
mr. Dr.
3/23/2004 11:15:11 PM
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
hugobossv8
3/25/2004 12:36:34 AM
hugobossv8
3/25/2004 12:36:40 AM
neil_price
5/6/2004 11:43:35 AM
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
jakesvj
5/7/2004 10:19:39 AM
yup, it works for me.

thx neil_price,

cennis
5/12/2004 11:43:14 AM
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.
brettski01
5/14/2004 9:05:23 PM
brettski01
5/15/2004 5:00:42 AM
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
Vidal
5/17/2004 2:32:04 PM
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.
ba_franco
7/31/2004 3:38:58 PM
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
pete
8/2/2004 9:31:31 PM
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


ba_franco
8/3/2004 5:24:38 PM
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
raverobin
8/18/2004 10:09:55 AM
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
ammarmujeeb
9/15/2004 12:27:13 PM
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.
AddThis Social Bookmark Button