Click here to Skip to main content
12,070,030 members (28,859 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: (untagged)
Hi,

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.

Regards,
Sravani.
Posted 11-Sep-12 19:47pm
Comments
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
 
good
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.
  Permalink  
Comments
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 | Mobile
Web02 | 2.8.160208.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2016
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