error while using Remote object


badri can please put code using

the remoting-config.xml code
<?xml version="1.0" encoding="utf-8"?>
<service id="remoting-service"
class="flex.messaging.services.remotingservice">
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.javaadapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="gisdbchart">
<properties>
<source>com.ge.gis.reports.gisdbchart</source>
<scope>application<scope>
</properties>
</destination>
<destination id="gisdbreport">
<properties>
<source>com.ge.gis.reports.gisdbreport</source>
<scope>application<scope>
</properties>
</destination>
</service>

the service-config.xml code
<?xml version="1.0" encoding="utf-8"?>
<services-config>
<services>
<service-include file-path="remoting-config.xml" />
</services>
<security>
<login-command class="flex.messaging.security.tomcatlogincommand" server="tomcat"/>
<security-constraint id="basic-read-access">
<auth-method>basic</auth-method>
<roles>
<role>guests</role>
<role>accountants</role>
<role>employees</role>
<role>managers</role>
</roles>
</security-constraint>
</security>
<channels>
<channel-definition id="my-amf" class="mx.messaging.channels.amfchannel">
<endpoint url=" http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.amfendpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
<channel-definition id="my-secure-amf" class="mx.messaging.channels.secureamfchannel">
<endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.secureamfendpoint"/>
<properties>
<!--https requests on browsers not work when pragma "no-cache" set-->
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>
<channel-definition id="my-polling-amf" class="mx.messaging.channels.amfchannel">
<endpoint url=" http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.amfendpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
</properties>
</channel-definition>
</channels>
<logging>
<target class="flex.messaging.log.consoletarget" level="error">
<properties>
<prefix>[flex] </prefix>
<includedate>false</includedate>
<includetime>false</includetime>
<includelevel>false</includelevel>
<includecategory>false</includecategory>
</properties>
<filters>
<pattern>endpoint.*</pattern>
<pattern>service.*</pattern>
<pattern>configuration</pattern>
</filters>
</target>
</logging>
<system>
<redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>{context.root}/web-inf/flex/services-config.xml</watch-file>
<touch-file>{context.root}/web-inf/web.xml</touch-file>
</redeploy>
</system>
</services-config>

the error

getfaulthandler: [faultevent fault=[rpc fault faultstring="send failed" faultcode="client.error.messagesend" faultdetail="channel.connect.failed error netconnection.call.failed: http: status 503: url: ' http://alpigedv4275.corporate.ge.com/portal/messagebroker/amf'" messageid="06f0e133-07d6-fbce-037c-dd26a718ae9d" type="fault" bubbles=false cancelable=true eventphase=2]

please guide me problem.... urgentttttt




More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62