problem with microsoft code sample

Y

Yoni

Hello,

I'm trying to create a lookup table with PSI I took the sample on the msdn
website (http://msdn2.microsoft.com/en-us/library/ms486189.aspx)

I copy paste the last code wich is "complete code example"

I added the dll required, and the web service with the name that is used in
this code.

but when i'm compile the class it tell me that
Error 1 The type or namespace name 'WebSvcLookupTable' could not be
found (are you missing a using directive or an assembly reference?)
C:\WORKDIR\Dotnet\CustomFieldUtils.cs 29 13 CustomFieldUtils
it proposed me to do like this 'CustomFieldUtils.WebSvcLookupTable' but
then it tell me that
Error 2 The type name 'WebSvcLookupTable' does not exist in the type
'SomeNamespace.CustomFieldUtils'
C:\WORKDIR\Dotnet\CustomFieldUtils.cs 259 30 CustomFieldUtils

to add the webservice i did like this
http://<servername>/<pwa>/_vti_bin/PSI/LookupTable.asmx

WebSvcLookupTable. Replace <servername>/<pwa> with your servername and PWA
instance name.

What's wrong, i'm working on this during hours and i cannot find what's not
good! Can you help me ?

Thank You

Yoni
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top