Manish,
faultCode:Client.Error.MessageSend faultString:'Send failed'
faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP:
Failed: url: 'http://localhost:8080/billing/messagebroker/amf''
I have attached my files:
________________________________
From: Manish Jethani <[email protected]>
To: [email protected]
Sent: Saturday, December 27, 2008 4:33:12 PM
Subject: Re: [flexcoders] Center a Popup window
On Sun, Dec 28, 2008 at 2:52 AM, Dan Vega <danv...@gmail. com> wrote:
> This is my example. I am not creating one as it is already available, just
> trying to add it and center it.
>
> _renamedir = new RenameDirectory
> //add modal window
> PopUpManager. addPopUp( _renamedir, this,true) ;
> //center modal window
> PopUpManager. centerPopUp( _renamedir) ;
You don't seem to be using Application. application as the parent?
--
Visit me at manishjethani. com
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service-include file-path="flex/remoting-config.xml" />
<default-channels>
<channel ref="myamf"/>
<channel ref="my-secure-amf"/>
</default-channels>
</services>
<channels>
<channel-definition id="myamf" 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://localhost:8080/billing/messagebroker/amfsecure"
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<!-- <polling-enabled>false</polling-enabled>-->
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>
</channels>
<logging>
<!-- You may also use flex.messaging.log.ServletLogTarget -->
<target class="flex.messaging.log.ConsoleTarget" level="Error">
<properties>
<prefix>[BlazeDS]</prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>true</includeLevel>
<includeCategory>false</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
<pattern>Service.*</pattern>
<pattern>Configuration</pattern>
</filters>
</target>
</logging>
<system>
<manageable>false</manageable>
<redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>{context.root}/WEB-INF/services-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/proxy-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/remoting-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/messaging-config.xml</watch-file>
<touch-file>{context.root}/WEB-INF/web.xml</touch-file>
</redeploy>
</system>
<factories>
<factory id="spring" class="com.billing.customer.flex.client.SpringFactory"/>
</factories>
</services-config><?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/billing-service.xml,
/WEB-INF/billing-servlet.xml
</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>billing</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>MessageBrokerServlet</servlet-name>
<servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
<init-param>
<param-name>services.configuration.file</param-name>
<param-value>/WEB-INF/services-config.xml</param-value>
</init-param>
<load-on-startup>75</load-on-startup>
</servlet>
<!--<servlet>
<servlet-name>billing</servlet-name>
<servlet-class>
com.billing.customer.CustomerDetails
</servlet-class>
</servlet>
-->
<servlet-mapping>
<servlet-name>billing</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping><!--
<servlet-mapping>
<servlet-name>billing</servlet-name>
<url-pattern>/billing</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MessageBrokerServlet</servlet-name>
<url-pattern>/messagebroker/*</url-pattern>
</servlet-mapping>
--></web-app>