Click here to Skip to main content
16,015,218 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i added an online web service to my project i get the error namespace of the webservice already has a definition for the object


any help please

OP's additional information about the error copied from comment below
Error	1	The namespace 'CashUTest.ServiceReference1' already contains a definition for 'cashUDirect'
Posted
Updated 10-Nov-12 23:56pm
v2
Comments
Shanalal Kasim 11-Nov-12 3:22am    
Provide error details
Waleedkassem 11-Nov-12 3:30am    
Error 1 The namespace 'CashUTest.ServiceReference1' already contains a definition for 'cashUDirect'

 
Share this answer
 
Comments
Waleedkassem 11-Nov-12 3:44am    
I have add it but the problem i can build the application because of the already contains a definition for object auto generated code
I have get the xsd file and generate the objects using the xsd.exe tool, then I have replace the soap header by the normal xml header I get it from serializing the object that I get from the xsd tool, here once I get the response I change the header than I deseralized like any other xml file it works
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900