Web service question
-
I am using WSE 3.0 to create a TCP web service. Everything was working fine until I referenced some classes from a separate dll. The proxy class generates fine and includes the classes from the separate dll. The problem is when the client calls the webservice with a calls that results in using classes from the separate dll the client throws an exception saying that I am using an object from an unreferenced dll. How to you reference this dll to make the client happy?
-
I am using WSE 3.0 to create a TCP web service. Everything was working fine until I referenced some classes from a separate dll. The proxy class generates fine and includes the classes from the separate dll. The problem is when the client calls the webservice with a calls that results in using classes from the separate dll the client throws an exception saying that I am using an object from an unreferenced dll. How to you reference this dll to make the client happy?
-
Your client is probably receiving the message error from the server. So, I believe the solution is not in changing the client. Try to copy the DLL to the BIN folder in your WebService and see if it works. Charles.
Thanks for your reply. It turns out that the problem was related to two different sets of similar classes. The code was using some objects from one set of classes and some from the other. The generated proxy code was all messed up thus confusing the client. Once we removed the duplicate (proof of concept) set of classes everything worked as expected.