• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

Issue while accessing cross domain web service

Hi ,
I am keep getting this error,

 This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details.

I need to set up default port number say "1918"

Kind regards,
Pooja
0
poojasureshkumar
Asked:
poojasureshkumar
1 Solution
 
Imran Javed ZiaCommented:
Hi,

you have to add crossdomainpolcy.xml and clientaccesspolicy.xml files to the root of the web site
please follow the link for more details:
http://franssenden.wordpress.com/2009/04/08/silverlight-client-access-policy-solves-crossdomain-issue/
http://timheuer.com/blog/archive/2008/04/06/silverlight-cross-domain-policy-file-snippet-intellisense.aspx

Thanks
0
 
poojasureshkumarAuthor Commented:
hi,
I need some more time . Sorry for the inconvenience.

Kind regards,
Pooja
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now