Unable to access a Remote Object

Avatar

Avatar

Anand_Wipro

Avatar

Anand_Wipro

Anand_Wipro

18-03-2008

Hello Everyone,

As mentioned in the subject, i'm unable to hit my Remote
Object from the Flex UI. The Remote Object is available in a Web
project having been properly configured in the remoting-config.xml
, deployed in an EAR and run on Websphere Application Server.
Inspite of the Remote Object being available, i get the following
error. Any suggestions from you is welcome.





[ERROR] [Message.General] Exception when invoking service:
remoting-service

with message: Flex Message
(flex.messaging.messages.RemotingMessage)

operation = isUserEntitledApps

clientId = D9D6D48E-1A08-B6B0-3667-C13971ABC986

destination = changeClientServiceImpl

messageId = D195446B-CC94-C8A6-918A-83D30A88EAB8

timestamp = 1204802504890

timeToLive = 1204802504890

body = null

hdr(DSId) = D9D42196-E50F-3CE0-4C23-8248C64C6FC9

hdr(DSEndpoint) = my-secure-amf

exception: flex.messaging.MessageException: Cannot create
class of type
'com.ssc.myss.globalnav.changeclient.ro.ChangeClientRO'. Type
'com.ssc.myss.globalnav.changeclient.ro.ChangeClientRO' not found.











View Entire Topic

Avatar

Avatar

riesvantwisk

Avatar

riesvantwisk

riesvantwisk

18-03-2008

it looks like that the backend cannot find your class. Did
you put the generated jar file in your lib directory??

Also, check your remoting-config.xml file if you did setup
your destination properly, specially your source. And check if your
services-config.xml file has a include for remoting-config.xml.



I made a blaze-ds (blaze-ds with remoting and messeging with
ant as the build tool) example which can be downloaded here:
http://www.vantwisk.nl/riesvantwisk/entry/adobe_flex_and_blaze_ds



Ries