on 04-03-2012 6:15 PM
Folks,
I have a problem trying to set up connection between SUP and netweaver gateway. I defined the security configuration on SUP side with basic authentication, referring to the same URL that provide services for timesheet application (http://<gateway>:<port>/sap/opu/sdata/GBHCM/TIMESHEET). Then I defined application with ID com.sap.meps.timesheetentry and template with the same endpoint URL and above Basic authentication security configuration (http://<gateway>:<port>/sap/opu/sdata/GBHCM/TIMESHEET). Then I created user and assigned to the application.
After I installed SAP Timesheet application on iPad, provided SUP server parameters and all credentials, I still cannot activate application, and judging by symptoms, the reason is because SUP does not talk with Netweaver Gateway. I came to this conclusion after running SM20 - when I try to get to the service via browser, I see at least some activity in the log file, but when trying iPad app, nothing is seen there. I also know that iPad connects to SUP successfully - device is registered with SUP.
So, there must be something that is not configured correctly on SUP side. But the big question is - what could it be? As far as I know, there are 3 pieces that can be wrong:
My problem is that being new to SUP I do not know how to trace the source of error. I tried looking at SUP logfiles, but could not see any activity there that would explain failure to activate, except the same one I see on iPad trace file:
Message = ERROR :: 6400:Error: 6400 Message: Data in the stream was invalid or truncated. Source: moReqResp.cpp 209./Location:-[LiteSUPMessagingClientConnListener onConnectionStateChanged:connectionType:error:errorMsg:] + 114
On SUP, similar message is seen log file residing in C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\logs\MOLogMobileObjects:
20120403T093235.843|2|Event Type: ERROR__Error Code: 6400__Error Detail: Data in the stream was invalid or truncated.__Source: moReqResp.cpp 209.__|saptime2|AD91803B48EFA168BCF4EE9A29AA34D98A7DF3D5__COM.SAP.MEPS.TIMESHEETENTRY
So, I have two questions:
1. Is there anything in my setup that is obviously wrong?
2. What tools/log files can I use/look into on SUP/Netweaver gateway side to diagnose communication issues?
You can check the connectivity between SUP and the GW from the connections area. When you registered the application it will have created a connection.
go to Domains -> <your domain> -> Connections
Select the connection and go to properties.
Once in properties click "ping".
I'd expect, if you've got connectivity, to get a message along the line of "Endpoint result: Unauthorized" which means you've made connection and got a 404. Proces the network connectivity between SUP and GW. When running for real if you're "Basic" security configuration is using HTTP Authenticator it will take care of the 404.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark/Alexei,
I have registered CustFinFactSheet app in the applications area.
However, I am unable to see any automatic connection created for the same.
Find attached the screenshots of my Application and Connection areas.
I am trying to figure out the error "Cannot cfonnect to server" I am getting on the Android device.
Please help me if I am missing something.
Also, any idea what should be value entered for the field "Company ID" in the server configuration screen on the device?
Thanks.
Regards,
Ram.
Hi Fibeesh,
Alexei issue is resolved and his application end to end is working with Gateway through SUP and the root cause for him is compatibility issue. His client application was using SUP 2.1.2 client SDK and that is not compatible with SUP 2.1 server installation. He upgraded server to 2.1.1 or above and things started working for him.
Please check whether it is the similar case with you. Otherwise you can describe the issue in detail so that I can try and help you.
@Ram: You can verify this from your side as well if this is relevant for you.
Best Regards,
Manne.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.