on 09-02-2010 9:59 PM
Hello,
I installed the SAP ESE for .NET ( IDE: VS 2008 Professional ) and now I'm trying to connect to the SR; but I just can't get it to work.
I ran some tests using IE 8 which were sucessfull.
Test 1 ( Internet Explorer 8 )
URL: http://sr.esworkplace.sap.com/webdynpro/dispatcher/sap.com/tcesiesperui/Menu
user: sruser
password: eswork123
Basically I enter the above url, then type the credentials when prompted and then I'm able to search for services. So this is fine.
Test 2 ( Internet Explorer 8 )
URL: http://sr.esworkplace.sap.com/webdynpro/dispatcher/sap.com/tcesiesperui/Menu?j_username=sruser&j_password=eswork123
For this test I added, as shown in another thread, to the credentials to the URL ( j_username=sruser&j_password=eswork123 ).
This way I avoid getting prompted to submit those and still works fine as I'm able to search for exposed services.
Test 3 ( SAP ESE for .NET : VS 2008 )
From the VS : Tools : Options : SAP ES Explorer: Services Registry Settings
Task: Service Discovery
Services Registry URL:http://sr.esworkplace.sap.com/webdynpro/dispatcher/sap.com/tcesiesperui/Menu
Type: Basic
User name: sruser
Proxy: Use default proxy server is checked.
Service Discovery Mode: Search
This test attempts to mimic Test 1; but when I execute "Add SAP Enterprise Service" and type the password, which is eswork123, and click next; I get the following message:
Cannot complete the operation. Check the event log for details.
I did check the log but cannot tell what's going wrong. It looks like a "Letter to the Queen" but filled with HTML tags.
I also ran the ES Explorer 1.1 for .NET Verification Tool and everything is fine; I even checked the Windows registry to make sure that the submited values are saved.
Test 4 ( SAP ESE for .NET : VS 2008 )
From the VS : Tools : Options : SAP ES Explorer: Services Registry Settings
Task: Service Discovery
Services Registry URL: http://sr.esworkplace.sap.com/webdynpro/dispatcher/sap.com/tcesiesperui/Menu?j_username=sruser&j_password=eswork123Authentication
Authentication Type: None
User name:
Proxy: Use default proxy server is checked.
Service Discovery Mode: Search
This test attempts to mimic Test 1; but when I execute "Add SAP Enterprise Service" and click next; I also get the following message:
Cannot complete the operation. Check the event log for details.
Event log details (actually only some excerpts):
1) Exception Information
*********************************************
Exception Type: System.InvalidOperationException
Message: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Object[] ReadResponse(System.Web.Services.Protocols.SoapClientMessage, System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services
StackTrace Information
*********************************************
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SAP.ESE.Core.SRWebService.ServicesRegistrySiService.getClassificationSystemsGreaterThanVersion(getClassificationSystemsGreaterThanVersion getClassificationSystemsGreaterThanVersion1)
at SAP.ESE.Core.ServicesRegistryManager.GetAllClassificationsFromSR(Boolean IncludeFlat, BindingList`1& Result)
1) Exception Information
*********************************************
Exception Type: SAP.ESE.Core.FlowInterruptedException
Message: The work flow was interrupted.
Data: System.Collections.ListDictionaryInternal
TargetSite: System.Runtime.Remoting.Messaging.IMessage EndInvokeHelper(System.Runtime.Remoting.Messaging.Message, Boolean)
HelpLink: NULL
Source: mscorlib
StackTrace Information
*********************************************
Server stack trace:
at SAP.ESE.Core.ServicesRegistryManager.GetAllPhysicalSystems(BindingList`1& Result)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at SAP.ESE.Core.ServicesRegistryManager.AsyncGetAllPhysicalSystems.EndInvoke(BindingList`1& Result, IAsyncResult result)
at SAP.ESE.UI.Search.loadAsyncBindings()
Questions:
1. Am is the right URL for this test ?
2. If not, which is the right one and what are the credentials
3. Our IT partner has also provided us a very similar URL (from our own SAP installation) to that which
I've been using in the example. This other URL behaves almost exactly as the one provided by SAP;
and I really don't know anymore if such URL is actually the right one:
our URL: http://myserver.mycompany.com:50000/webdynpro/dispatcher/sap.com/tcesiesperui/Menu
4. Or is this related to some network / firewall issue ?
Thanks in advance !
Best regards
Hi Alejandro,
can you please try to use the following URL in order to connect to the SR ?
http://sr.esworkplace.sap.com/ServicesRegistrySiService/ServicesRegistrySiPort
When you use the ESE you need to connect to the WS exposed by the SR team which is being used by the ESE, and not to the WD UI you have mentioned.
please read the documentation on the SDN / MSFT Visual Studio help after you have installed the ESE.
- http://www.sdn.sap.com/irj/sdn/dotnet?rid=/library/uuid/10cacdca-b0bb-2a10-77be-d600de4658b7
Regards,
Nadav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.