Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Flex3+BlazeDS+Java

phani_bhyri
Level 1
Level 1
Hi



I am using Flex3 with flash player 9.0.28 and BlazeDS for
Remoting and Java at the server side code. I was able to access my
java classes using Remoting but suddenly I am getting error today
and I am unable to fix it. I captured the exact problem by using
Flex debugging



Note: I am able to do file uploading the same application in
the same server using FileReference but for remoting the error is
NetConnection.failed.





Please find the error description below:



[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 404: url: '
http://localhost:8180/reclassification/messagebroker/amf'"

at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\...

at
mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]

at
mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]

at
mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1399]

at
mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:935]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at
mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\Channel.as:997]

at
mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\PollingChannel.as:354]

at
mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\AMFChannel.as:369]





thanks in advance..



phani.
1 Reply
panks_y2k
Level 1
Level 1
Please try adding services-config.xml to the flex compiler as
an arguement. Add the following in the compiler arguements (for
eg):



-locale en_US -services
C:\cat_pardasp_dev\eqweb\adminTool\3.3.1\src\WEB-INF\flex\services-config.xml
-context-root /eqweb/adminTool/webapp/