on 01-16-2010 6:17 PM
All, I have used the ESE to add a web reference to a VS 2008 portal component project. The reference shows up, but I cannot find the namespace generated to be able to call it in the code. Any help is appreciated? Also, the web reference URL property is blank in the generated web reference.
Thanks --Matt
Hey Rima -- since I am using a web reference instead of a service reference, will including the web.config file make a difference? Do you have any idea why generating it as a "web reference" would not work? The proxy class still does not show up. The web service is a service defnition created from a sap-supplied BAPI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
Sorry for the confusion. Including "web.config" file in the project should solve the issue of adding web reference to SAP Portal Application project.
When "Add SAP Enterprise Service" ESE wizard fails to add a reference to the project it writes error messages to Event Viewer under node SAP. Check if you have any error messages there.
Regards,
Rima
Hello Rima, I am using a web reference instead of a service reference, since this is being used in a PDK application. Any other ideas? The hidden web.config file shows up after I click "Show All Files".
Thanks --Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rima -- I click show all files and the proxy classes do not show up -- they should show up in a Reference.cs class that is a child node of the Reference.map file -- but when I use the ESE tool, the Reference.map file does not have any child nodes and therefore, no generated proxy class, and no namespace. Please help! Thanks --Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
Web reference url is empty by design. It's purpose is to prevent from a user the ability to "Update Web Reference" via Visual Studio context menu. "Add SAP Enterprise Service" dialog performs wsdl converting from RPC style to Document style in order to make it work in Visual Studio .NET environment. This convertion doesn't exist in regular "Update Web Reference" process therefore it will not wotk for SAP Enterprise Service reference.
Regarding namespace, navigate to Solution Manager window and click "Show All Files" toolbar button. Now you could see the generated C# proxy code and it should contain the namespace.
Regards,
Rima
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.