Skip navigation
Currently Being Moderated

RPC Fault faultString="No destination with id <my dest id> is registered with any service."

Aug 29, 2007 9:32 AM

Hi, <br /><br />I would really appreciate an expert's opinion on how to figure out what is wrong with my data service...I'm a newbie so it's probably something obvious! :-)<br /><br />1. I have configured my data-management-config.xml<br />2. It is in the <app root>/WEB-INF/flex directory<br />3. I've got no errors in my mxml file which is going to display a datagrid using my service.<br />4. I'm using hibernate<br />5. My java class is built for this service<br />6. My actionscript class is built for my bridge to java class<br />7. I've got a hibernate.cfg.xml file built<br />8. I've got a hbm.xml for my class.<br />9. My flex app compiles with no error<br />10. Running the app (using Jboss) and executing the data service via a button gives me this:<br /><br />[RPC Fault faultString="No destination with id '<my dest id>' is registered with any service." faultCode="Server.Processing" faultDetail="null"]<br /><br />Can anyone suggest how I would troubleshoot this? <br /><br />Thanks in advance!<br />Laurie
 
Replies
  • Currently Being Moderated
    Aug 29, 2007 11:02 AM   in reply to (Laurie_Hall)
    Did you restart the web application after modifying /WEB-INF/flex/services-config.xml?

    Did you recompile against this updated services-config.xml?
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2007 7:25 AM   in reply to (Laurie_Hall)
    Hi Laurie,

    I have the same problem. Have you solved it? How?

    Thanks,
    Juan
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 17, 2007 9:25 AM   in reply to (Laurie_Hall)
    hi i m trying to use live cycle data services and java as back end but i get these errors when i try to get the data using fill method any idea where i m going wrong actually i m using data service and declare the service in service_config.xml and have the assembler class a service class and a java class to define the object and i get the following error
    [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8088/rajcon/messagebroker/amf'"]
    at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/intern al::dispatchFaultEvent()
    at private::DataListRequestResponder/fault()
    at mx.rpc::AsyncRequest/fault()
    at mx.messaging::ChannelSet/private::faultPendingSends()
    at mx.messaging::ChannelSet/channelFaultHandler()
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE ventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
    at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingCh annel::connectFailed()
    at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::s tatusHandler()
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 3, 2007 2:22 PM   in reply to (Laurie_Hall)
    Hi Laurie,<br /><br />Your original error indicates that a component on the client (apparently your DataService instance) has its destination set to "<my dest id>", but no destination with that id is defined in your config. <br /><br />I'd make sure that in your client code you set the destination for your DataService instance to a valid value. This looks like it could be a copy and paste error.<br /><br />Good luck,<br />Seth
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 3, 2007 2:34 PM   in reply to (Laurie_Hall)
    Rajsihu,

    This part of the error, "Channel.Connect.Failed", indicates that the underlying client channel failed to connect to the server. Specifically, it received a 404 for your endpoint URL: 'http://localhost:8088/rajcon/messagebroker/amf'

    This is generally due to a startup error on the server. If the server is misconfigured it fails fast and the MessageBrokerServlet that bootstraps things throws the exception and the servlet container destroys the servlet. Check your server log (or console) for any startup exceptions. Once your config is correct and the server starts up properly the client should have no problems connecting.

    HTH,
    Seth
     
    |
    Mark as:
  • Currently Being Moderated
    Jan 29, 2008 12:14 PM   in reply to (Laurie_Hall)
    hello guys

    I new to the world of flex and I really need your help

    I'm using Life Cycle Data Service, and for my first data service application I do the following steps

    go to

    File-->
    New-->
    Project-->
    Flex-->
    FlexProject-->
    Flex DataServices [using the option compile application locally in Flex builder]-->
    next-->
    next-->giving name to My Project [e-g TestFDS]
    next-->
    finish

    now when the projected is created it gives me an error "Unexpected attribute 'url' found in 'endpoint' from file: services-config.xml"

    and also it does not compile any thing to bin directory of my project
    please help what I have to do [any configurations] to resolve this problem

    [rko_z@yahoo.co.in]
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 14, 2008 6:08 AM   in reply to (Laurie_Hall)
    there is a hot fix from adobe for the bug 'unexpected url found'..
    get the fix - hotfix 2 from adobe site
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402000
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 4, 2008 12:39 PM   in reply to (Laurie_Hall)
    Has anyone figure out the initial question: "RPC Fault faultString="No destination with id <my dest id> is registered with any service"  I keep getting this error and cannot figure it out.  Please help.
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 14, 2008 12:14 PM   in reply to (Laurie_Hall)
    Does anyone read this forum
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 29, 2008 2:26 AM   in reply to (Laurie_Hall)
    Hi ,

    when i tried to retrieve the data from lcds server through Flex HttpService then i am getting this client.Error.MessageSend error ,can anyone guide me how to resolve this problem.
     
    |
    Mark as:
  • Currently Being Moderated
    14. ,
    Feb 3, 2009 12:16 AM   in reply to (Laurie_Hall)
    My name is Emmanuel, and I've got a big problem.<br />I am getting a "rpc fault" while debugging, apparently my HTTP Request is out of touch, and my codes look like this:<br /><mx:Application<br />...initialize="myService.send()"><br /><mx:Script><br /> <![Data[<br />   import mx.rpc.events.ResultEvent;<br />   import mx.collections.ArrayCollection;<br />   //[Bindable]<br />   //private var myData:ArrayCollection;<br />   private function resultHandler(event:ResultEvent):void{<br />   //myData=result.event.employees.employee;<br />   }<br /> <br />   <mx:HTTPService id="myService"<br />       url="data/employees.xml"<br />       result="resultHandler(event)"/><br />   //<mx:DataGrid dataProvider="{myData}"/><br /></mx.Script><br /></mx:Application><br />and I don't know where to look for. Please help me!
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 13, 2011 6:36 AM   in reply to (rajsidhu)

    did u get answer on this question

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2012 8:21 PM   in reply to (Laurie_Hall)

    It might be a bit late but replying for anyone who lands on this page facing this same problem.

     

    The solution for "No destination with id '<my dest id>' is registered with any service" problem is that you have to make sure your destination definition is added in your:

     

    C:\ColdFusion9\wwwroot\WEB-INF\flex\messaging-config.xml

     

     

    Secondly, If you are deploying it on a ColdFusion Server, then you have to make sure exact same definition is added in Server messaging-config.xml file as well.

     

    This should solve this problem.

     

     

    While we are at it, wanted to point another possible gotcha.

     

    if your Server is using SSL protocol i.e. it has https:// rather than http://, Then within your <destination> definition block in messaging-config.xml, you have to add appropriate secure channels in <channels> section. You can find all available channel definitions in

     

    C:\ColdFusion9\wwwroot\WEB-INF\flex\services-config.xml

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)