since ‎06-12-2007
‎10-12-2019
SujitG
Level 2
Re: Help with HTTPService
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,All you need to do is to set the new URL to the HTTPServiceand invoke the send() method of the HTTPService when the userclicks the button. Please find details on how to invoke aHTTPService in ActionScript below.var service:HTTPService = new HTTPService();service.url = ;service.method = "GET";service.addEventListener("result", httpResult);service.addEventListener("fault", httpFault);service.send();Hope this helps.

Views

97

Likes

0

Replies

0
Re: Help with HTTPService
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,All you need to do is to set the new URL to the HTTPServiceand invoke the send() method of the HTTPService when the userclicks the button. Please find details on how to invoke aHTTPService in ActionScript below.var service:HTTPService = new HTTPService();service.url = ;service.method = "GET";service.addEventListener("result", httpResult);service.addEventListener("fault", httpFault);service.send();Hope this helps.

Views

97

Likes

0

Replies

0
Re: Newbie to Flex Http Services
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Yes you can do that. Create a servlet/JSP page which willinvoke the Hibernate classes and give the URL to the servlet/JSP tothe HTTPService component.Hope this helps.

Views

36

Likes

0

Replies

0
Re: Webservices with Flex
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,You don't need LCDS/FDS/BlazeDS to consume a web service. Allyou need to do is to use the WebService component.Hope this helps.

Views

50

Likes

0

Replies

0
Re: PHP Dynamic Menubar
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Are you talking about creating menus in Flex ?? How thisrelated to PHP ??

Views

55

Likes

0

Replies

0
Re: Invoke EJBs directly from Flex
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,There is no way you can invoke EJBs from Flex applicationwith out a Java class (POJO or BlazeDS remoting service) in themiddle. Flex is a client side application and will need some serverside script to invoke the EJB.Hope this helps.

Views

75

Likes

0

Replies

0
Re: Push callerid to specific telecaller
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Using BlazeDS you can definitely achieve this. BlazeDS willnot query the records from the database, you will have to write aJava class which will do the same. Once you get the record from thedatabase, you can push the same to a particular client applicationusing Messaging service of BlazeDS. Check out following topics.Remoting in BlazeDSMessaging in BlazeDSMessage filtering in BlazeDSHope this helps.

Views

45

Likes

0

Replies

0
Re: RemoteObject Error handling
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,If you are debugging your Flex application and have a breakpoint in the fault event handler, then you can try checking out theevent.target and then check out the properties of the event.target.Hope this helps.

Views

51

Likes

0

Replies

0
Re: RPC call failure flex to J2EE container
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Firstly you should not be compiling your your Java classeswith Flex project. Java classes have to be in the classes folder ofthe web application, which has BlazeDS/LCDS jar files deployed. Please visit the URL below for details on how to useRemoteObject to invoke methods on Java classes on the server.http://livedocs.adobe.com/flex/3/html/data_access_4.html#202412Hope this helps.

Views

37

Likes

0

Replies

0
Re: Securing 3rd party webservice
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,There are ways to secure destinations. Please visit the URLbelow for details on how to secure destinations.http://livedocs.adobe.com/blazeds/1/blazeds_devguide/services_config_3.htmlHope this helps.

Views

43

Likes

0

Replies

0
Re: How to set up BlazeDS project in FB3?
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,You don't need BlazeDS for accessing web service unless youwant to use the proxy service of BlazeDS, for accessing the webservice. Please check out the URL below for details on how toconfigure FB3 for projects that use server technologies.http://learn.adobe.com/wiki/display/Flex/Creating+Flex+Builder+Projects+that+Use+Server+TechnologiesHope this helps.

Views

41

Likes

0

Replies

0
Re: channel not found for reference 'cf-rtmp' in destination 'artgallerydataservice'
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Can you please make sure "channel-definition" node with id"cf-rtmp" is created under "channels" tag in services-config.xml.If this is available, please try running "clean" command for yourproject.Hope this helps.

Views

71

Likes

0

Replies

1
Re: adding buddies / chat request
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,You can try setting the headers of the message. You can set aheader like "userrequest" and check for this header when themessage is received on the client side and do the necessary stufflike showing the pop up asking for the user to accept or not. Ifthe user accepts you can may be then manage the list of buddies onthe client/server based on your requirement.The catch is to use the headers to differentiate messagetypes.Hope this helps.

Views

46

Likes

0

Replies

0
Re: Error #1096 while doing HTTPRequest (AIR)
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Is your ASP page returning XML ? If yes, please make surethat XML is well formed.Hope this helps.

Views

125

Likes

0

Replies

0
Re: Sending a href link through data services
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,If I am correct, as far as the messaging is concerned it isjust a text which you are passing. If you want the text (Anchor inyour case) to be work as an anchor, then I think you need to handlethat when you are displaying the text.Hope this helps.

Views

34

Likes

0

Replies

0
Re: Now even more confused then B4 regarding Server setup
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,FDS is now LiveCycle Data Services (LCDS). Please find moredetails on LCDS at the URL below. You can also have a look atBlazeDS, which is a free and open source version on LCDS. Pleasefind more details on BlazeDS at the URL below.All said BlazeDS/LCDS is for Java based back ends. If you areusing PHP and need to get the power of Remoting and other you cantry AMFPHP.Regarding servers, you can use Apache Tomcat/JBoss/Jrun4 forJava as the server side technology. If you are using PHP as theserver ...

Views

68

Likes

0

Replies

1
Re: Air working with BlazeDS?
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,You will be doing exactly same you did in Flex based webapplication, when you are developing an AIR application whichcommunicates with BlazeDS. Only change i could see is in the Flex based web application,the tokens in the services-config.xml like {server.root} and{server.port} are substituted either at run time based on the URLyou use to access the application. Now in AIR application thesemight have to be modified to have the hard coded URL to the webserver you are trying to access.Hope this...

Views

70

Likes

0

Replies

0
Re: set dynamic path at runtime
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,You meant compile time right? Embed is the tag which willembed the resources in the SWF at compile time. I don't think what ever you are trying to do is possiblebecause "+" is an operator and is executed during run time, whereas the Embed is a meta tag which is executed at compile time.Just my thought 🙂Hope this helps.

Views

43

Likes

0

Replies

0
Re: RemoteObject
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,I am sorry I could not understand your question. What exactlyis this custom filter? Please explain this, so that we can checkout if we have a solution ..Thanks.

Views

55

Likes

0

Replies

0
Re: Extending remoteobject
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,From top of my mind, did you extendmx.rpc.remoting.mxml.RemoteObject or mx.rpc.remoting.RemoteObjectTry extending the mx.rpc.remoting.mxml.RemoteObject.Hope this helps.

Views

62

Likes

0

Replies

1
Re: Flex data services
Avatar

SujitG

SujitG
- Adobe LiveCycle
HI,Yes, exactly you can use any sever supported by LCDS. jrunand tomcat are among the list of supported servers.Can you please explain "Is it compulsory to use java classesthere in live cycle data services ES 2.5.1."Hope this helps.

Views

172

Likes

0

Replies

1
Re: returning data which can access AS function
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,You can definitely create Flex controls during run time. Allyou have to do is to instantiate the component and add it tocontainer. I created a very simple sample code which adds aTextArea at runtime. Please find the sample code attached.Hope this helps.Code: import mx.controls.TextArea; private function addTextArea():void { var txt:TextArea = new TextArea(); txt.text = "Hi this is added at run time"; this.addChild(txt); }

Views

48

Likes

0

Replies

0
Re: Getting Channel.Connect.Failed
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Can you please try tracing the FaultEvent.fault.rootCauseobject and see if there is any error message. Usually exceptionsthrown from the server is available in this rootCause object.Hope this helps.

Views

187

Likes

0

Replies

0
Re: error occasional - faultCode: Channel.Call.Failed
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Can you please try tracing the FaultEvent.fault.rootCauseobject and see if there is any error message. Usually exceptionsthrown from the server is available in this rootCause object.Hope this helps.

Views

46

Likes

0

Replies

0
Re: Configuring BlazeDS compilation in FB
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Please visit the URL below for details on how to map yourFlex project to your BlazeDS folder. Once you mapped it, compilingyour Flex project will access the services-config.xml and compileyour Flex project.http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-flex/Hope this helps.

Views

85

Likes

0

Replies

0
Re: Flext in portal.. flex-portal.jar ??
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,GenericFlexPortlet.class can be found in flex-portal.jarwhich will be in resources folder under LCDS installation folder.Hope this helps.

Views

62

Likes

0

Replies

0
Re: BlazeDS and Flex Data Types
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,List will be converted into ArrayCollection in Flex. You willhave to say event.result as ArrayCollection in your result handler.Please visit the URL below for more details on AS3 and Java objectstype mappings.http://livedocs.adobe.com/flex/3/html/data_access_4.html#202412http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-flex/Hope this helps.

Views

59

Likes

0

Replies

0
Re: Upgrade from BlazeDS to LifeCycle DS
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Yes, this should be straight forward. All configuration forRemoting, Messaging and Proxy destinations are same in both BlazeDSand LCDS. Hope this helps.

Views

52

Likes

0

Replies

0
Re: How to access data in different server with flex3 remoteobject
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,You should be able to achieve this by changing the end pointURL of the channel you are using in the services-config.xml. Theend point URL should point to the server where your CF is deployed.Hope this helps.

Views

25

Likes

0

Replies

0
Re: Question for LCDS Express 2.6?
Avatar

SujitG

SujitG
- Adobe LiveCycle
Hi,Please find answer to your question at the URL below. Expandthe "what happened to LiveCycle Data Services Express" nodehttp://www.adobe.com/products/livecycle/dataservices/faq.htmlHope this helps.

Views

74

Likes

0

Replies

2