using classes created by xsd
i have created a customer xsd and then created a class by that xsd.i tried to use it in two projects(A and B) where they use this object to communicate.i added this class to both projects. but when i try to do the communication i call the A.x() which takes the customer object from B, but instead of Customer object it requests A.Customer object it doesn't accept Customer. what might be the problem