Click here to Skip to main content
13,348,874 members (80,097 online)
Rate this:
Please Sign up or sign in to vote.
See more: (untagged)

We have BAL library and a web service. we need to pass object to service instead of passing paramaeters. So, we have created a class library for entities and added that class .dll to BAL and web service. But we are getting error, when we are passing object from BAL to webservice.

The error is best overload match of method.

Hope I will find solution from you.

Posted 11-Sep-12 19:47pm
Zoltán Zörgő 12-Sep-12 1:20am
Would yo be so nice, to post some relevant code also?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

hello ,

in this case , you have to add the dll of BAL to your service project also..

first add the reference of BAL's DLL to your web service and then try to pass object of BAL to service.
Member 9191375 12-Sep-12 1:36am
But we are adding reference of webservice to BAL.
Is it right adding the webservice reference to BAL?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180111.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100