views:

230

answers:

1

I have a Silverlight app that is using WCF to connect to some services. The services are running as a windows service and are on a different port, so I have to use a client access policy file. In the WCF services there is a method for getting the client access policy.

[WebGet( ResponseFormat = WebMessageFormat.Xml )]
public Stream GetClientAccessPolicy(){...}

This works fine in IE and Safari, but does not work in FireFox. I can see that the client access policy is requested and returned and FireFox successfully receives it, but Silverlight doesn't actually get the data.

Is there a way to fix this?

I know it is possible to do

WebOperationContext.Current.OutgoingResponse.Content = "application/xml";

but I want to know if it's possible to fix the issue with WebGet.

A: 

I have the exact same problem, have you found a solution ?

Erik Hougaard
I have not. I've been thinking about issuing a ticket with Microsoft about it. There is a work-around, so I don't know if it would go anywhere.
Josh Close
Yeh dont trust Microsoft to care about other products/platforms, they only care about Internet Explorer and Windows.
mP