Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Cassini and Flourine Gateway, Adobe Flex to .Net
Check12
#1 Posted : Wednesday, December 12, 2007 3:01:10 PM(UTC)
Groups: Member
Joined: 12/12/2007(UTC)
Posts: 1
Location: Beaverton Or

Hi,

I am using the Flourine Gateway for RPC calls between Adobe Flex and ASP.Net
I am creating a network appliance that delevers it's UI via flash.
When I connect directly to the port that has been assigned all is OK
However, if I use the AppID reedirect, the RPC calls fail.
The RPC uses a binary message format called AMF3.
I am not sure if this is a webservice or not.
What are my options if I have to assign the port number?
Also, if I assign port 80 can I have the default document in a subfolder? (http://localhost/subfolder/Gateway.aspx)

Thanks,

BTW your documentation on setting up distribution for VS2005 went perfectly for me, nice job!
Ultidev Team
#2 Posted : Wednesday, December 12, 2007 5:23:16 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

We are very happy to hear that our walk-through was helpful.

If your client has some .NET code in it, or is capable of calling SOAP web service in any other way, the easiest way to avoid redirection would be to call Cassini Explorer web service at http://machinename:7756/CassiniConfigurationService.asmx. That web service methods take application GUID as an input and return either port, or entire URL of the application. Retrieving complete application URL will eliminate the necessity of doing redirection.

There is another more involved alternative, but before we dive into describing that possibility, please let us know if the way we just described works for you.

Regarding having default document in a subfolder, you can do that, and you can use any port for your application, including port 80. Here's what you need to do to have your default document in a subfolder. When you register your application during installation, you can specify /AppLocation parameter looking something like /AppLocation=c:\MyAppRoot, where c:\MyAppRoot would correspond to http://localhost/ in case your application is on port 80. Then you would need to have /AppDefaultDoc to be like this: "/AppDefaultDoc=subfolder/Gateway.aspx". As long as "c:\MyAppRoot" is an actual root folder of your application (it should have web.config there), this should be a solution.

Please let us know if this has helped.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.