Crossdomain.xml issue - Accessing SAP from adobe FLEX
Hi All,
We are in the process of trying to integrate 4 SAP bapis exposed as Web services from adobe flex.
When we do so we are getting a "security error accessing URL"
The URL of our flex application is:
http://10.10.0.48:8081/water0305/iden.html
The WSDL of the web service is:
http://10.10.0.66:8001/sap/bc/srt/rfc/sap/ZKK_BAPI_EQMT_DETAIL?sap-client=800&wsdl=1.1
We looked at various forums and we found that adding a crossdomain.xml file to the root directory
(at the destination server) will resolve the issue.
I did implement all those steps on the R/3 side to add a crossdomain.xml to an ABAP WAS.
crossdomain.xml on WAS
however i still get those errors(security error accessing URL).
Below is the code i use to access the SAP web service
<mx:WebService
id="EqmtDetailWS" showBusyCursor="true" fault="Alert.show(event.fault.faultString)" >
<mx:operation name="EqmtDetail" resultFormat="e4x" result="getEquip_result(event);" fault="getFault(event);">
<mx:request>
<Equipment></Equipment>
</mx:request>
</mx:operation>
</mx:WebService>
We are displaying the SAP info on a map service provided by esri so we included the load operation here.
<-Loading the wsdl->
private
function onExtentChange(event:ExtentEvent):void {
EqmtDetailWS.wsdl=
"http://10.10.0.66:8001/sap/bc/srt/rfc/sap/ZKK_BAPI_EQMT_DETAIL?sap-client=800&wsdl=1.1&sap-user=******&sap-password=****&sap-language=EN&~transaction=iw51";
EqmtDetailWS.loadWSDL();
<Displaying the info from SAP>
private function getEquip_result(event:ResultEvent):void {
equip_desc = event.result.Equitext.Equidescr;
txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Equi. Desc. : " + event.result.Equitext.Equidescr + "\n";
var material:String=event.result.Equimaster.Material;
SAPIDAliasEquipDesc =event.result.Equitext.Equidescr;
material=material.substring(14,18);
txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Material : " + material + "\n";
txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Serial No : " + event.result.Equimaster.Serialno + "\n";
var costcntr:String=event.result.Equilocation.Costcenter;
costcntr=costcntr.substring(7,10);
txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Cost Center : " + costcntr + "\n";
CustomerID = event.result.Equisales.Customer;
This is how we load the policy file.
Security.loadPolicyFile(
http://10.10.0.66:8001/sap/bc/bsp/sap/zroot/crossdomain.xml);
This works fine when we run it from the IDE but throws up an error when we deploy it on the server
So are we missing something ?
Is there anything else to be done to overcome the security issue ?
Thanks in advance.
Regards,
Karthik.
Hi Rich,
I followed the steps in your video when our system was R/3 4.7 (WAS 6.20) and the test worked fine, i.e. accessing the crossdomain by typing http://server:port/crossdomain.xml.
I followed the same steps with our new version (we're undergoing an upgrade) but I kept getting the error message:
"BSP Exception: the BSP URL /crossdomain.xml Does Not Contain Any Application Entries". Then I saw Ivan post suggesting implementing OSS Note 1260386. I applied the Note but I got the same error message.
Then I ran function ICFBUFFER_INIT to make sure the buffer is cleared, cleared the cache in the browser and still got the same error message.
Our system is ERP 6.0, NetWeaver 7.0, level 17 (BASIS Component is SAPKB70017).
Please help. Thank you.
Achille.
Similar Messages
-
Hi, how can I access SAP from my mac OS X?
I used to work on an IBM with Internet Explorer 7 and had no issues with accessing my company's SAP portals but I can't access SAP from my mac web browser (Safari). Any clues??
Thankshttp://www.orchestrateam.com/blogs/sap-business-one-mac-details
you can run bootcamp and run windows from that.
or a VM (parallels and vmware fusion). -
Hi Friends,
I've a requiremnet to create SO where data will be provided in JAVA screens. Is there any way to access SAP from java as we can do this through VB using API methods.
Regards,
Anupamsee these links
[link1|http://www.sapdevelopment.co.uk/java/jco/jcohome.htm]
[link2|http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_cid417095,00.html]
[link3|http://www.experts-exchange.com/Database/Software/ERP/SAP_ERP/Q_20693539.html]
Regards,
SAPient -
SAP WebDynpro + Adobe Flex/Flash = Enterprise UI 2.0
Hi Frens...
I am Working as Consultant-SAP.I am creating static Forms using Adobelive Cycle Designer and SAP.
How Adobe Flex is useful to create Forms?
Is it usefull for me if i learn Adobeflex?
How will be the future with ADOBE FLEX?
I have seen the article SAP WebDynpro + Adobe Flex/Flash = Enterprise UI 2.0.
Working as ABAPer shall i shift to Adobe Flex?
Please Suggest me.
Regards
Bhuvana> I am Working as Consultant-SAP.I am creating static Forms using Adobelive
> Cycle Designer and SAP.
>
> How Adobe Flex is useful to create Forms?
Yes very.
> Is it usefull for me if i learn Adobeflex?
Several of us are turning to Flex for eLearning and we are finding it to be
a great tool.
> How will be the future with ADOBE FLEX?
I think Adobe are commiting heavily to Flex - Flex plays on any machine with
the latest Flash player , so that includes PC, Mac and Linux. AIR plays on
PC and Mac today, with a Linux version under development right now. In the
future (Open Screen Project) versions of Flex and AIR should play on mobile
devices too.
>
> I have seen the article SAP WebDynpro + Adobe Flex/Flash = Enterprise UI
> 2.0.
> Working as ABAPer shall i shift to Adobe Flex?
I don't really know what would be good or bad for your needs. Take a look at
some of the sample Flex and AIR apps on Adobe.com and see if you think the
features demonstrated are applicable to your needs.
Steve
http://twitter.com/Stevehoward999
Adobe Community Expert: eLearning, Mobile and Devices
European eLearning Summit - EeLS
Adobe-sponsored eLearning conference.
http://www.elearningsummit.eu -
Error Accessing internet from the flex application.
Hi
I am getting the following error while runningm my flex
application deployed on the OC4J server. The error did not come
when I was running the application directly from the flex builder.
However , after deploying it on the application server my
flex application cannot access the internet and in turn
throws this error. Does this have anything to do with the
'crossdomain.xml' file, which most probably does not exist on my
server. If that is the case, please can somone let me know as to
where exactly do I put the 'crossdomain' file.
[RPC Fault faultString="Security error accessing url"
faultCode="Channel.Security.Error" faultDetail="Destination:
DefaultHTTP"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/securityErrorHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
TIA
~ShishirThis file goes in the"root of the web server". Now tis is not
very helpful so here are some examples:
IIS default:
C:\Inetpub\wwwroot
Flex 1.5 "integrated Jrun" default installation
C:\Program Files\Macromedia\Flex\jrun4\servers\default
Tomcat:
C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps
If in doubt, put one everywhere until it works, then take
them out until it breaks.
Use the universal permission until you get it working:
<allow-access-from domain="*" to-ports="*" secure="true"
/>
Tracy -
How to Call report from Adobe Flex App.
Hello. We are trying to create a reporting solution for our Adobe Flex Applications. We use java and postgre. We also have Crystal Reports 2008 and run a lot of reports locally on end users machines. We have some reports we would like to call from flex and have execute in java and send a PDF back to the end user. So:
1. Is it possible to do this with Crystal for Eclipse?
2. If yes can we send values from flex to the filter fields in the report?
3. Do we then connect the report diereclty to postrgre to get the data?
RIght now I have a report running in eclipse connecting to postgre. Just trying to see if we are going down the right path. THanks.You can integrate your reports with operational workflows by embedding Adobe Flex
(SWF) applications into your reports. Using Adobe Flex Builder, you can
create any business-user UI that accesses report data and also integrates
with external web services. Data in your report can be passed to the Flex
application via Flashvars, making it easy to create flexible UI even when you
don't have web-services access to your data. The Flex applications can do
tasks like database write-back and can invoke operational workflows directly
within Crystal Reports.
Thanks,
Tej -
SAP and Adobe (Flex)
Hello ,
I would like to know how to start working with SAP BW and Adobe ( Flex).
Is needed that Java Engine to be installed for the server? Is there a document how to link the 2 worlds (SAP , Adobe - Flex) ?
I would like to know what resources are needed (license, hardware, software, settings) for this connection to work.
The final purpose would be to try testing is a SAP BW query content could be transferred to some Adobe Flex form / layout / etc, in order for the report to look nicer, to be more user friendly , etc .
Any help / link/ advice would be appreciated !
Thank you in advance ,
A.Hi Ariana,
Hope these below links will provides some idea for you:
http://www.adobe.com/kr/products/flex/whitepapers/pdf/sap_flex.pdf
http://www.sugmena-event.com/sponsors/Flex%20Interface%20with%20BI%20Queries%20using%20Web%20Template.pdf
Regards,
RajK -
Hi all,
I use BAPI with web service to update several line items (e.g. of a PO) from a table in Adobe forms to SAP. I expect that all the occurrences of the line items to be transferred to the func mod. via the defined table interface, but only the last line got transferred and the others seem to be overwritten. I have tried adobe fixed and dynamic tables but that did not change the outcome (In another application, I'm able to display all line items from func. mod. to Adobe form). Question : What do I need to do to have ALL the line items transferred from Adobe form to the func. mod. ?
Components used : Designer 7, SAP ECC 6 level 9 .
Please, provide help with concrete and proven information only.
Best regards,
NancyHi Vaibhav,
Thanks for the reply. I use table and not structure but somehow all the records did not get transferred. So far i've been able to get the data to and from SAP without web dynpro and hope to be able to get this scenario to work as well.
Regards,
Nancy -
How to call a SAP service from adobe flex
Hi experts,
I need to call a webservice create from SAP BAPI my URL is: http://xxxxxxxxx:8000/sap/bc/srt/wsdl/bndg_DD90E166ACE1B1F18AD8001B789FF0AD/wsdl11/allinone/ws_policy/document?sap-client=200, with this URL I can test the webservice from WsNavigator.
The operation is ZimrfcVerifOtUbica and the input structure is:
ZimrfcVerifOtUbica
> PiNumeroAlmacen (input parameter)
> PiOTransporte (input parameter)
The output structure is:
ZimrfcVerifOtUbicaResponse
>PoMessage (output parameter)
I've created a view with two inputfield (one to PiNumeroAlmacen, one to PiOTransporte), one button and one label (to put the result value).
but I don't know how to call the WS, I tried with this code:
<mx:WebService id="ZCCONVERTERService"
wsdl="http://xxxxxxxxx:8000/sap/bc/srt/wsdl/bndg_DD90E166ACE1B1F18AD8001B789FF0AD/wsdl11/allinone/ws_policy/document?sap-client=200;" useProxy="false" >
<mx:operation name="ZimrfcVerifOtUbica" resultFormat="e4x">
<mx:request >
<PiNumeroAlmacen>AGR</PiNumeroAlmacen>
<PiOTransporte>01000</PiOTransporte>
</mx:request>
</mx:operation >
</mx:WebService>
and I get this error: [RPC Fault faultString="Could not load WSDL" faultCode="Server.NoServicesInWSDL" faultDetail="No <wsdl:service> elements found in WSDL at ."].
I tried with actionscript and runtime library but I get this error: java.lang.Exception: Unsupported element in WSDL file: UnknownExtensibilityElement
I tried put in Data--> Import Web Service and I put the URL and I get Unable to load the WSDL. Specify another URI.
Other thing is for this webservice I've created a logic destination, and this webservice is used in a webdynpro aplication and works correctly. But now I need to use the same webservice in flex.
Could you help me to call to this webservice?
Thanks in advance.
JoseI have could do it, but now I'm trying to do the same with a SAP standard service.
Any idea?
Regards,
Jose -
Editable issues in sap interactive adobe form
Hi Experts,
we are using AdobeLiveCycle designer to create the pdf form out of sap. After creating the form to interact with sap.
When we execute the program automatically pdf will download the particular folder. In that pdf form is not an editable mode at the time. And it will change the editable mode on next day.
so, please suggest the solution to close the issues.
The following error message occurs when opening this form in Reader and attached screenshot also.
"This document enabled extended features in adobe reader the document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document "
Regards,
Satheeshkumar.MHello Satheesh
Is this issue resolved ?
Also mark this Discussion with a Correct Answer and Helpful Answer where appropriate.
See http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why
Even if you discovered the solution without any outside contributions, it helps others to understand what the solution turned out to be
Regards
Sandy -
Issue accessing workbook from user menu.
Hi,
We are facing an issue in opening the workbook from the User menu.
Workbook is working fine if we open it directly from BEx Analyzer but its not opening the workbook report when we click it from the user menu link.
This issue started coming when we upgraded the microsoft excel from 2003 to 2007.
Any information related to it would be helpful.
Regards,
Neha MaheshwariNeha,
We have had several issues similar running SAP BW 7.0 with BEx 3.5 workbooks after upgrading to Excel 2007. There are several SAP Notes concerning various Excel 2007 related errors. Most of these seem to be bundled in the just-released SAP BEx 3.5 Add-On Patch 7 for SAPGUI 710, so my advice would be to download this patch if you have not done so already.
Hope this helps...
Bob -
Issue accessing MSN from Safari
All of a sudden I can't access MSN via Safari on my iPad. Updated to ios 8 but the issue started before I updated.
Neha,
We have had several issues similar running SAP BW 7.0 with BEx 3.5 workbooks after upgrading to Excel 2007. There are several SAP Notes concerning various Excel 2007 related errors. Most of these seem to be bundled in the just-released SAP BEx 3.5 Add-On Patch 7 for SAPGUI 710, so my advice would be to download this patch if you have not done so already.
Hope this helps...
Bob -
Hello, gents!
We have two AD forests and external 2-way trust between them. About month ago I was able to reach share on fileserver from localdomain.com to remotedomai.com without any issues. Now when I am trying to do it I have an error
"\\servername\share is not available.You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
there are currently no logon server available to service the logon request".
I validated trusts - everything validating fine.
In the event log of remote server, I am trying to access I found this error EventID 4625 from Microsoft Windows Security:
An account failed to log on.
Subject:
Security ID: NULL SID
Account Name: -
Account Domain: -
Logon ID: 0x0
Logon Type: 3
Account For Which Logon Failed:
Security ID: NULL SID
Account Name: artem
Account Domain: localdomain
Failure Information:
Failure Reason: An Error occured during Logon.
Status: 0xc000005e
Sub Status: 0x0
Process Information:
Caller Process ID: 0x0
Caller Process Name: -
Network Information:
Workstation Name: ANOMDC1
Source Network Address: 172.20.0.10
Source Port: 53693
Detailed Authentication Information:
Logon Process: NtLmSsp
Authentication Package: NTLM
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon request fails. It is generated on the computer where access was attempted.
The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on the system requested the logon.
The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
What would be the proper steps to troubleshoot it?See what is the status/substatus and see which number correspod to your system
Status and Sub Status Codes
Description (not checked against "Failure Reason:")
0xC0000064
user name does not exist
0xC000006A
user name is correct but the password is wrong
0xC0000234
user is currently locked out
0xC0000072
account is currently disabled
0xC000006F
user tried to logon outside his day of week or time of day restrictions
0xC0000070
workstation restriction
0xC0000193
account expiration
0xC0000071
expired password
0xC0000133
clocks between DC and other computer too far out of sync
0xC0000224
user is required to change password at next logon
0xC0000225
evidently a bug in Windows and not a risk
0xc000015b
The user has not been granted the requested logon type (aka logon right) at this machine
Regards
Milos -
Problems calling context-sensitive AIRHelp from Adobe Flex App
Hi everyone...
I´m having problems calling context-sesitive AIRHelp from Flex.
I can launch the help from flex using the following code (flex), but allways starts on the default topic.
private function invocarAirHelp(tema:String):void {
var appID:String = "pc1";
var pubID:String = "8C47FDE4638CAF7F210634E52A5F8318D893A57C.1";
var mgr:ProductManager = new ProductManager("airappinstaller");
mgr.launch("-launch " + appID + " " + pubID);
the launch method can recive parameters after the publisherID, but i dont know the parameters that i should give to the method to start the AIRHelp on an specific topic.
I tryed using the parameters as the call was on the command line, ex:
mgr.launch("-launch " + appID + " " + pubID + " -csh mapnumber 12");
but i can get any results... with those parameters the help application doesn´t even start
Anyone have an idea to make this works?
Thanks in advance, SabinHi Sabin,
The only supported way to launch AIR applications from the browser is the air "browser API": http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html#1035834
The browser API uses ProductManager internally and exposes higher-level browser API so that we change the implementation if necessary someday. The browser API will stay the same, even if the interactions through ProductManager (or something else) change.
The browser API (air.swf) has other features that make it the preferred way to launch apps. For instance, it provides accurate information about which platforms support AIR, and can therefore manage install of new apps and of the runtime itself.
Also, if the application is not installed then Browser API will return Error to the flex application, but that does not happen in case of ProductManager.
That said, you can probably use "--" to separate arguments intended for airappinstaller from arguments that should be passed through to the app itself.
mgr.launch("-launch " + appID + " " + pubID + " -- -csh mapnumber 12");
-Praful Jain -
Send Data back to SAP from Adobe Interactive Form
Hello friends,
I created a Adobe Interactive form using transaction SFP.
This form have a comment field.
My requirement is user enter comments in this filed and click on Submit.
It needs to call a BAPI and save data in SAP table.
thankz in Advane
regards,
Sumit MalhotraHi,
Create an WebService for the BAPI and in the Adobe Form create a New Data Connection of Type "WSDL", while creating the New Data Connection it asks for the Path so get the URL Path of the WebService created for the BAPI and assign it to the New Data Connection and specify the Binding for the respective fields under the "Import/Export Binding" in Binding tab of Object Pallette.
Thanks and Regards
Pradeep Goli
Maybe you are looking for
-
Image not printing in Layout Editor
I am using BI Publisher 11.1.1.6. I tried inserting an image in Layout Editor to display company logo. Followed the steps below. 1. Click on Image icon in Layout editor. 2. Select 'Field' Radio button, in the image URL: selected the field LOGO which
-
Time not shown properly in Day/Week view
The time intervals in Day/Week view are replaced by "[Day-of-Week] AM/PM" and time in event info panel is replaced by the date. Does anyone know of a way to fix this so that it shows the time properly?
-
Copy the content of a sheet in excel and paste it in a new sheet.
How can I copy the content of the first sheet in excel and paste it in a newly created sheet. Both sheets have specific names (not sheet1 and sheet2). Attachments: Repeat_Report_monday.vi 85 KB
-
I'm not sure if someone's posted this before so sorry if this is a repeat! I'm also not terribly computer-savvy so be patient- I'm trying to be descriptive though I've not got a clue what I'm talking about! My whole family has Dell laptops but I'm th
-
How do I rename events in Photos?
Once I upload photos to my device on the iPad 2 with the camera connection kit, it gives me events with names like 2012-01-06 . I would like to know a simple way to change the name of the event from the iPad, because I don't have a computer I could s