Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Ambiguity definition of classes when adding service reference in VS2008


Level 1


   I am trying to invoke LC ES 2.5 API with web service in .net to perform RightsManagement,(this the only one service I am using)

with this address:   http://localhost:8080/soap/services/RightsManagementService?WSDL&lc_version=9.0.1

   I followed the instructions of livedoc to add a webservice reference in my .net project (console application). And I am using VS2008.   Everything goes fine until building the project,  after I import and generate the webservice proxy for LC and try to build the sample code from the livedoc.The VS complier tells me some member classes are defined more than once. As I look through the source code of the generated stub, I found  that indeed some classes are defined twice in the the cs file with exactly the same field, two partial class definition but with same set of members.

The compiler comes with such errors:The member defined more than once

Ambiguity between demo.RMService.BLOB.MTOM and demo.RMService.BLOB.MTOM.

   I googled through the internet and this forum, seems that I am the first one who meets this problem,and I am so much "appreciated" with have such an honor.

Has anybody happened to meet such errors before?

Thank you

0 Replies