function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jnegijnegi 

Accessing Salesforce API from a Silverlight application?

I am able to consume Salesforce service in Web Application in .Net environment and also able to make the login call. However, when making the login call in Silverlight application I am getting below error message:

"An error occurred while trying to make a request to URI 'https://test.salesforce.com/services/Soap/c/27.0/0DFE0000000TXcQ'.
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."

Also, went through below link which describe that we need to publish below xml in Salesforce to make it work, any idea?

ClientAccessPolicy.xml
OR
CrossDomain.xml

https://success.salesforce.com/ideaView?id=08730000000h1zbAAA

Kindly let me know if I am missing something?

Thanks,
Jagmohan