Click here to Skip to main content
15,941,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using VS 2010 pro sp1. I've created a silverlight 4 application and have a problem with the 'add service reference' in solution explorer.
I'm trying to add a reference to a remote web service hosted on a Sun Glassfish enterprise server v2.1.
The tool displays the details of the web service and shows all the methods available.
After I click 'Go' the process completes but reports warnings
Custom tool warning: The following Policy Assertions were not Imported:

there are about 8 of these as well as the following warning

Endpoint 'ServiceDataPort' at address 'http://<remote web address>/ServiceDataService' is not compatible with Silverlight 4. Skipping...

Also the ServiceReferences.ClientConfig file is created in the project but is not populated.

I've also used the SlSvcUtil tool to attempt to do the same manually, but it reports the same errors.

What am I doing wrong?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900