on 05-17-2012 2:37 PM
Hello,
Can someone please Help me, if i dont get this solved soon my boss will scrap SUP altogether and
we will move to some boring alternatives
I am trying to make following small pilot project:
- IPhone Workflow hybrid container app
- must call test bapi BAPI_TEST (BAPI exists and it is returning dummy test string aka "Hello this is SAP")
- user must be provided with login screen where he enters SAP credentials (not sup)
Here is what I have done and later I will explain problem:
1. I created MBO for BAPI, and gave it run time credentials as "username" and "password".
2. I created a new workflow project, and selected client initiated and credential request starting points.
3. the credential request screen is created with username and password. the default edit boxes have cache credential username and password as checked. * so we have 2 starting points, 1 credential request, and other client initiated which goes then into BAPI test call.
After app starts, i enter VALID sap credentials in username and password fields, but afterwards when BAPI is called
i get Login Failed as error description in log. (see detailed log attached). (username and password entered belong to confirmed valid SAP account) Why i can not pass username and password and authorize on SAP? Same BAPI call works OK if i hard code same credentials in the MBO connection properties.
Thank you in advance!
Mihael.
20120417T143240.750|3|logontestLT3:1 -- loading meta data from: C:\Sybase\UnwiredPlatform\Servers\MessagingServer\Data\Mobile Workflow\24_1\workflowclient.xml
20120417T143240.765|3|logontestLT3:1 -- loading meta data for screen: Start_Screen and action: Get Items
20120417T143240.765|4|logontestLT3:1 -- ExecuteRequest->In
20120417T143240.765|3|logontestLT3:1 -- executing operation 'findAll' of type 'search' on mbo 'LT3' in package 'LOGONTEST:1.0'
20120417T143240.765|3|logontestLT3:1 -- using username and password value from device credential cache
20120417T143240.765|3|logontestLT3:1 -- username: TESTMOB
20120417T143240.765|3|logontestLT3:1 -- password: [xxxxxxxx]
20120417T143240.765|4|logontestLT3:1 -- ExecuteJsonRequest->In
20120417T143240.765|4|logontestLT3:1 -- JsonHeader: {"id":"e5d3a237c1aa410693210d612f2c0129","cid":"8#logontestLT3:1","pv":"1","pid":"moca://SIMULATOR-USER1__HWC","ppm":"eyJ1c2VybmFtZSI6IlRFU1RNT0IiLCJwYXNzd29yZCI6IklOSVQwMSJ9","method":"search","pbi":"true","upa":"VEVTVE1PQjpJTklUMDE=","appId":"HWC","mbo":"LT3","app":"logontestLT3:1","pkg":"LOGONTEST:1.0"}
20120417T143240.765|4|logontestLT3:1 -- JsonContent: {"searchId":101,"parameters":{},"namedQuery":"findAll","buildGraph":true}
20120417T143241.031|4|logontestLT3:1 -- ResponseHeader: {"id":"e5d3a237c1aa410693210d612f2c0129","cid":"8#logontestLT3:1","pv":"2","sig":"fd025f5e86444d6db8048b45ab070311","loginFailed":true,"method":"searchFailed","log":[{"level":5,"message":"java.lang.SecurityException: Login Failed: user 'TESTMOB'","operation":"search","requestId":"e5d3a237c1aa410693210d612f2c0129","_op":"C","code":401,"timestamp":"2012-04-17 14:32:40.937","component":"LT3"}],"mbo":"LT3","app":"logontestLT3:1","pkg":"LOGONTEST:1.0"}
20120417T143241.031|4|logontestLT3:1 -- ResponseContent: {}
20120417T143241.031|4|logontestLT3:1 -- ExecuteJsonRequest->Out
20120417T143241.031|4|logontestLT3:1 -- ExecuteRequest->Out
20120417T143241.031|4|logontestLT3:1 -- Data(Out): <XmlWidgetMessage><Header></Header><WidgetScreen>Credential_Request_Screen</WidgetScreen><RequestAction>Get Items</RequestAction><Values /></XmlWidgetMessage>
20120417T143241.031|4|logontestLT3:1 -- ProcessSyncRequest->Out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Mihael
What is the domain of your package? in SCC
Thanks
Dinesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you also post the server log files?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
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.