In the beginning, I was trying to find any solution for my issue but I didn't find anything.
I am Dynamics NAV Developer so C# is not my "native" language ;)
I have to connect my Win Form Application with Microsoft Dynamics NAV so I want to use Web Reference (SOAP).
This application is created for Smart devices (Windows Mobile 5.0) in Visual Studio 2008.
I added the Web Reference by right-clicking on my solution and selecting "Add Web Reference".
My reference is named as "WS", so In my code (button click function) I try to use this reference i.e. entering WS.Collectors webservice = WS.Collectors();
When I try to compile my project, I have the following error:
Error 1 The type or namespace name 'WS' could not be found (are you missing a using directive or an assembly reference?) (...)
I also tried to enter using WS.Collectors
but it's not working.
How can I use my Web Reference in my C# Code and add some data to it?
Thanks in advance!