SOA 11g: Cross Domain Issue while accessing the service in silverlight
661862Mar 23 2011 — edited Mar 23 2011Hello,
I create a HellWorld BPEL process and deployed it on 11g server.
I was trying to access this WSDL/Service from Microsoft silverlight application, and It's throw below errors.
An error occurred while trying to make a request to URI 'http://soahost-dev.tcs.com:8001/soa-infra/services/default/HelloWorld/helloworld_client_ep'. 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.
{System.Security.SecurityException ---> System.Security.SecurityException: Security error.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)}
In 10g I used to put crossdomain.xml file under OracleAS_HOME. I am not sure where to keep in SOA11g.. pls advise me.
Thanks,
AB
Edited by: AB on Mar 23, 2011 4:45 AM