Hi, i tried to implement the demo using the demo video and the getting starting document.
First remark, the video is just fine and you can reproduce what was shown.
But the "flashbuilder_sap_gettingstarted.pdf" docuement is wrong, there is an inconsistency. At the begining the docuement talks about the DEMO_FLIGHT (which is the one used in the video) but after that the screenshots show a serviceREPORTING. This is inconsistent. Hopefully the video of course is correct.
Anyway this is not the question but i think Adobe should correct this document.
When i implemented the demo and run the application, i allways have a #2032 error.
After a few search and the use of a http sniffing apllication, i found that the called URL was:
http://gw.esworkplace.sap.com/sap/opu/sdata/sap/DEMO_FLIGHT/z_demo_fli ghtCollection?sap-client=800
The answer is 401 Bad request.
When i launch this URL directly in the browser, i've got the following response:
BC_IBF/001Errors occurred
Where is the problem?
Does it come from the Flex application which laucnh a wrong URL or from the SAP NetWeaver Gateway?
Any help will be very nice. ![]()
PS: Just to finish the generic user GW@ESW is locked in the SAP Netweaver gateway server, so you can't connect anymore to this server with this user.
In place registrer to the SAP SDN website and request for your user to be added to this Gateway server following the procedure and it will be OK.
Hi fxlevy,
I have implemented the demo a month ago and it was working properly.
I guess the Z_Demo_flightCollection is not working properly now or it mite be deactivated in the server, because even i am unable to fetch the data now using this.
Well, what you can do here is once you connect to the Demo Gateway server through the Adobe Flash Builder you can see all the services. You can test each of the service and check which operation is actually responding to your query. (I have tried with the service BANK last week and it was connecting).
Hope you find this info useful.
Regards
Pradeep
Thanks for the answer Pradeep, i have integrated the DEMO_BANK service aand tried to call the "selectZ_demo_bankCollection" with the same result (error #2032) on any browser: Safari, Chrome and Firefox on Mac. Perhaps it's because of the Flash Builder 4.5.1 on Mac. have you tested it on a Mac?
Kind regards
Francois-Xavier LEVY
Hi fxlevy,
I have only tested it on the Windows machine.
But now when i try to login to the SAP Netweaver gateway demo system using the id and pswd given in the below URL, i am unable to login, mite be the user id is locked (as the demo system logon page says "logon not possible as too many failed attempts ").
So in this case even the server should not connect in the Adobe Flash Builder.
http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/1051f6d9-e87 a-2e10-d188-e2786c7878b1
Were you able to connect to the demo server in the Adobe Flash Builder and able to see all the services used in the server?
Regards
Pradeep
Hi Pradeep, as i wrote in ma first post:
"PS: Just to finish, the generic user GW@ESW is locked in the SAP Netweaver gateway server, so you can't connect anymore to this server with this user. In place registrer to the SAP SDN website and request for your user to be added to this Gateway server following the procedure and it will be OK."
To get a user on SDN, follow this link.
https://www.sdn.sap.com/irj/scn/register?redirect=%2Firj%2Fsdn
To get your SDN user added to Gateway server, follow this link:
http://www.sdn.sap.com/irj/sdn/soareg
The generic user is locked, you can't login anymore using it. But if you have a SDN login (delivered fro free on the SDN website or a "S" or "C" as a SAP cutomer or SAP partner, you can request to have this user referenced in SAP Gateway Server Demo (gw.esworplace.sap.com) and use it instead of the generic user.
If you could try using your personal user on a flex project on windows and tell me if it works, it would be great.
Regards
fxlevy
That may be the problem, it was not thoroughly tested on Mac.
Try, creating a new project, generate the service classes for Z_Demo_flightCollection, in the new project and then copy the service classes over those in your old project (that stopped working). There is a known problem in DCD where generated code can fall out-of-sync. We believe we have fixed this in a new release.
Hi, i have install a windows 7 on vmware fusion on my Mac.
Then i installed Flash Builder 4.5.1 and NetWeaver plugin.
A Flex application calling de DEMO_FLIGHT services don"t work but the DEMO_BABK works just fine!
This same application developped directly on Flash Builder Mac 4.5.1 stil don't work.
So the problem is both on SAP NetWeaver Gateway Server ofr the DEMO_FLIGHT service and on Mac for Flash Builder. I used my own "S" user and not the demo user but it's not not very important because for those demos, the user is not used at runtime but only at design time for the Gateway configuration and service selction.
I will compare the launched URL on the both platform and see where differences are.
Keep in touch. ![]()
Regards
FXL
I was wrong about the DEMO_BANK on Flash Builder MAC. It works fine also.
But the DEMO_FLIGHT still doesn't work.
So, in conclusion, the DEMO_BANK services is the best solution to test Flash Builder 4.5 with the SAP Netweaver plugin and gw.esworkplace.sap.com on both platform Mac & Windows.
FXL
If I get the url directly to the web browser let say:
http://gw.esworkplace.sap.com/sap/opu/sdata/sap/DEMO_FLIGHT/z_demo_fli ghtCollection?sap-client=800
the response is
<error><code>BC_IBF/001</code><message xml:lang="en">Errors occurred</message></error>
what is this error?
The error reported by IoErrorhanlder in Flex is
Error #2032: Stream Error. URL: http://gw.esworkplace.sap.com/sap/opu/sdata/sap/DEMO_FLIGHT/z_demo_fli ghtCollection?sap-client=800
http://gw.esworkplace.sap.com/sap/opu/sdata/sap/DEMO_FLIGHT/z_demo_fli ghtCollection?sap-client=800
Cannot test with SAP and Flex ![]()
Hi JosePenaV, the error was thrown by the SAP system.
Tenically it means, that, on the corresponding client 001, the Internet Business Framework (IBF) which is part of the Basis Component (BC) returned an error.
Anyway, this is not really interesting because you don't have any authorization on the SAP NetWeaver Gateway system to correct the problem.
What you can do is to implement the solution using another service. I used the "DEMO_BANK" and it worked just fine.
See my post, http://forums.adobe.com/thread/931869?tstart=0 for more information.
But at the end, if you really want to manage your solution you should install your own SAP NetWeaver Gateway system, which is available on the SAP Developer Network comminity site at this url: http://www.sdn.sap.com/irj/sdn/gateway
North America
Europe, Middle East and Africa
Asia Pacific