Hi Sowmay,
You can use in you flex code like
<s:ChannelSet id="channelSet">
<s:AMFChannel id="amfChannel"
url="{server.name}:{server.port}/{context.root}/messagebroker/amf" />
</s:ChannelSet>
<s:RemoteObject id="myService"
destination="userService"
channelSet="{channelSet}"
result="onResult(event)"
fault="onFault(event)"/>
Ragards,
Jaydeep Tank
On 3 August 2011 10:24, abdullrahimm <[email protected]> wrote:
> Hi,
> Pass the endpoint URL in flashvar, and then inside our application
> when ever we make the remote call, we need to assign flashvar url into our
> remote object url properties..
>
> thanks
>
>
> On Fri, Jul 29, 2011 at 6:27 PM, PRAVEEN CHOWDARY RAMINENI <
> [email protected]> wrote:
>
>> hi sowmya,
>> 1. there is way u can give by declaring channel in flexside and to the
>> channel u can give endpoint dynamically.
>> 2. while creating Newproject, there u will have options to select
>> application server type.
>> if u select application server type to J2ee then u will have rootfolder,
>> rootUrl and context root.
>> u have to give those three fields.
>>
>> --
>> *With Regards,
>> PRAVEEN. RAMINENI
>> **http://praveenramineni.webs.com/* <http://praveenramineni.webs.com/>
>>
>>
>>
>>
>> On Thu, Jul 28, 2011 at 12:53 PM, sowmya <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> Am using BlazeDS for interacting with the backend classes..
>>>
>>> I am using services-config.xml for RemoteObject and giving the
>>> endpoint url..
>>>
>>> For every path am changing the endpoint url..so i dont want to change
>>> it everytime if the url is different..
>>>
>>> Is there any way to give the endpoint URL dynamically with out
>>> touching the services-config.xml file
>>>
>>> Pls help me.Its little bit urgent.
>>>
>>> Thanks in advance
>>> Sowmya
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Flex India Community" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex_india?hl=en.
>>>
>>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.