How to get the crossdomain policy file with xiff/http-bind

Hi,

I have a question regarding the use of security.loadPolicyFile() when xiff client is connecting

to ejabberd with http-bind enabled.

if the jabber server address is http://jabber.foo.com/http-bind and the xiff3 client is connecting to it using

XMPPBOSH connection, does the client explicitly need to call security.loadPolicyFile(“xmlsocket:://jabber.foo.com:80”)?

or

i should make a call such as security.loadPolicyFile(“http://jabber.foo.com:80”)?

thanks in advance.

Sunil