on 05-11-2007 6:59 PM
Hi everyone
I am trying to consume SAP webservcie form .net application by adding to web reference. when i try to build to create a proxy it is gicing errors.
" An object reference is required for the nonstatic field, method, or property 'localhost.Bapiret2.System.get'An object reference is required for the non static field, method or property 'local.bapiret2.System.get'"
"String does not have definition for XML"
these are tow error but sadly been repeated for 28 times (quite a long list of errors)
ps: guess not so important when i tried to add web reference it never asked me SAP WAS credentials.
can help will be appreciated
cheers
ram
Hi Ram,
this is a bug in SAP and our development is working on a correction.
The problem is that the SAP structure contains a field with the name "System".
Therefore VS gets confused with the coding that is generated because "System" is already used .NET internally.
As a workaround you can regenerate the WSDL such that the variables are generated in uppercase rather than case sensitive.
Best regards,
André
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.