Example: Flex session

This example shows a typical Flex session.

flex_ping("1", 
    "URL=http://myServer/weborb30/console/weborb.aspx", 
    "Snapshot=t5.inf", 
    LAST );
flex_remoting_call("GenericDestination::getProductEdition", 
    "URL=http://myServer/weborb30/console/weborb.aspx", 
    "Snapshot=t6.inf", 
    INVOCATION, 
    "Target=/2", 
    "Operation=getProductEdition", 
    "Destination=GenericDestination", 
    "DSEndpoint=my-amf", 
    "Source=Weborb.Management.LicenseService", 
    "Argument=<arguments/>",
     LAST );
flex_login("1", 
    "URL=http://myServer/weborb30/examples/flex/remoting/setcredentials/"
    "weborb.aspx", 
    "Snapshot=t10.inf", 
    "Username=testuser", 
    "Password=475544a3edd8b4337811f3fe", 
    LAST );
 
flex_remoting_call("AccountBalanceDestination::CheckBalance", 
    "URL=http://myServer/weborb30/examples/flex/remoting/setcredentials/"
    "weborb.aspx", 
    "Snapshot=t11.inf", 
    INVOCATION, 
    "Target=/2", 
    "Operation=CheckBalance", 
    "Destination=AccountBalanceDestination", 
    "DSEndpoint=my-amf", 
    "Argument=<arguments/>", 
    LAST );
flex_logout("1", 
    "URL=http://myServer/weborb30/examples/flex/remoting/setcredentials/"
    "weborb.aspx", 
    "Snapshot=t13.inf", 
    LAST );