Showing server side error in Flex

Hi all..
I have a RPC call which consists of a staging process which
throws custom error messages at different stages. I want to show
these error messages at the flex side. How this is possible? i
tried using event.fault.faultString... but it doesn't gave my error
message which i gave out at the server. Please help me out in this
issue. am kinda stuck.
Thanks In Advance

Hi Vyshak,
Let your RPC method return a string that is you error message
if the method returns void before -- an empty string means
everthing is okay. If the RPC method returns an object before, you
can add a field called errText or something to the returning
object.
Jeffrey

Similar Messages

  • I am not able to synchronize my iCloud mail in mailbox but gmail, yahoo, hotmail all works well. Upon I add iCloud it is showing server missing / error in server.

    I am not able to synchronize my iCloud mail in mailbox but gmail, yahoo, hotmail all works well. Upon I add iCloud it is showing server missing / error in server.

    Hello vijaymanoj,
    Thank you for the details of the issue you are experiencing with your iCloud email account.  I recommend reviewing the sections titled "If you can't send mail in OS X Mail" and "If you can't receive mail in OS X Mail" in the following article:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/ts4002
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • "RABAX" occurs on server side error while testing asynchoronous web service

    I got error while testing asynchronous web service in WS navigator. I have created asynchronouse web service using RFC. Then I configured it in SOAMANAGER. When I tested it, got error "RABAX occurs on server side". Also I got dump in ST22. It is 'UNCHAUGHT_EXCEPTION - CX_SOAP_SEQ_SCD_ERROR'.
    I have tested for synchronous web service it works fine.  I found a difference in both web service WSDL file for below parameters value -
    commit
    blocking
    transaction
    wsrm
    I tried different way .. but no solution .. Plz suggest if someone have any idea.....Its very helpfull....

    your problem:
    Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
    Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar
    Configuration: <code-source> in /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml
    It happens when server is custom installed, try to reinstall it as full version and problem should disappear otherwise your need another full installation to retrieve and replace orabpel.jar file from (or maybe more)

  • OIM 11g R2 -AD Provisioning -Connector Server side Error

    Hi,
    Following error is thrown on the connector server side when we attempt to provision an AD resource:
    11/15/2012 7:28:50 PM <VERBOSE>: Class-> ActiveDirectoryConnector, Method -> TranslateObjectClass, Message -> Returning the object class: ObjectClass: __ACCOUNT__ and exiting the method
    11/15/2012 7:28:50 PM <INFORMATION>: Class-> ActiveDirectoryConnector, Method -> Create, Message -> Committing the changes and creating the directory entry.
    11/15/2012 7:28:50 PM <ERROR>: Class-> ActiveDirectoryConnector Method -> Create, Message -> Encountered Excetion: Access is denied.
    11/15/2012 7:28:50 PM <ERROR>: Class-> ActiveDirectoryConnector Method -> Create, Message -> Stack Trace: at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.SetInfo()
         at System.DirectoryServices.DirectoryEntry.CommitChanges()
         at Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector.Create(ObjectClass oclass, ICollection`1 attributes, OperationOptions options) in c:\ADE\aime_oimcp\idc\bundles\dotnet\ActiveDirectory\ActiveDirectoryConnector\ActiveDirectoryConnector.cs:line 256
         ConnectorServer.exe Error: 0 : Org.IdentityConnectors.Framework.Common.Exceptions.ConnectorException: Access is denied.
         at Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector.Create(ObjectClass oclass, ICollection`1 attributes, OperationOptions options) in c:\ADE\aime_oimcp\idc\bundles\dotnet\ActiveDirectory\ActiveDirectoryConnector\ActiveDirectoryConnector.cs:line 368
         at Org.IdentityConnectors.Framework.Impl.Api.Local.Operations.CreateImpl.Create(ObjectClass oclass, ICollection`1 attributes, OperationOptions options) in c:\ADE\aime_icf\icf\framework\dotnet\FrameworkInternal\ApiLocalOperations.cs:line 388
         at Org.IdentityConnectors.Framework.Impl.Api.Local.Operations.ConnectorAPIOperationRunnerProxy.Invoke(Object proxy, MethodInfo method, Object[] args) in c:\ADE\aime_icf\icf\framework\dotnet\FrameworkInternal\ApiLocalOperations.cs:line 244
         at ___proxy1.Create(ObjectClass , ICollection`1 , OperationOptions )
         at Org.IdentityConnectors.Framework.Impl.Server.ConnectionProcessor.ProcessOperationRequest(OperationRequest request) in c:\ADE\aime_icf\icf\framework\dotnet\FrameworkInternal\Server.cs:line 609
    Am i missing any connector side configurations here?
    Thanks

    please perform these tests,
    1- check if the reconciliation is working with the same user provided in the connector configurations?
    2- check if the user reconciled can be updated modified through the IDM Admin console?
    after this
    check that you are providing the proper OU for the user to be provisioned?
    check the the Resource History and see where it is failing maybe some required information is missing.
    have you applied the patch 14190610 for AD connector?

  • Server-side error including webservice

    Hi,
    I'm struggling with the webservice functionality on the
    server-side.
    At the top of my main.asc-file I have this line:
    load("webservices/WebServices.asc");
    That puts the following in my administration console:
    "WebServices Loaded successfully."
    However, when someone connects to the media server and it
    tries to initialize and use this webservice using this code:
    MyService = new WebService("uri.to.wsdl.file");
    I get the following error in the administration console:
    Sending error message: C:\Program Files\Adobe\Flash Media
    Server 3\scriptlib\webservices\XMLSchema.asc: line 110:
    ReferenceError: document is not defined
    Failed to execute method (XML.onData).
    I've tried googling it and that gave this result, but the
    solution suggested here didn't work:
    Link
    to other forum
    This is not caused by the webservice itself, since other
    flash and .Net applications can use it without any problems.
    Everything also works just fine when I run everything off my local
    workstation, but as soon as I put the stuff on the server the error
    message appears (and, yes, I've changed all references to the
    webservice to be the one on the server instead of the local
    workstation ;))
    What is causing this? Why do I get an error from Adobe's own
    code?

    Sorry... I take back what I said about it not being the
    webservice. It seemed it was the webservice after all... but not in
    the way you'd think.
    It seems that the webservice handling on server-side AS can't
    handle webmethods that return complex types. I had two methods that
    returned DataTable-objects (.Net-objects). As soon as I removed
    those the webservice calls worked just the way they should again.
    All the webmethods in the webservice now only return primitive
    types.
    This still seems like a bug in Adobe's webservice classes,
    though. A consumer of a webservice should be able to handle complex
    types.

  • Problem with scanning - printer display shows "Server connection error"

    My printer has been working great and I have had no problems with scanning.  But two days ago, all of a succen I rec'd message "server connection error".  I tried to send to email as well as computer.  Got the same message.  As usual, I don't recall any action on my part that could have caused this problem.    The copying and printing functions work fine. Detailed advice to someone technically challenged will be much appreciated.  Thank you.

    Ran
    into a problem with connecting to the DB on the SQL server from the IPAM server.  The Dba and I checked the target SQL instance was enabled TCP and listening on a valid TCP port.  SQL server was set to use port 1443 for incoming connections. 
    IPAM was set by default to use 1433. 
    Also used
    netstat-n to identify issue and verified 1443 on SQL server was
    being used.  Made the correction under the IPAM provisioning wizard and connected to the database.  Fixed. 
    Important note I was able to connect to the database with a .udlfile
    without any issues
    Also note that 2012 R2 IPAM only supports 2012 SQL Enterprise.  Why?

  • Server side error checking

    How do I check for alpha numeric charcters on the server side. Page is JSP.
    I have a string username and want to check to ensure that all characters are alphanumeric

    if you are using Java 1.4, you can use regular expressions. Conditions and terms apply. Consult your local API docs for details.

  • WHere i can see the Server side Errors in WAS

    Hi,
    I'm creating a java application.where i wrote Jsp,Servlet,Sessionbeans.I'm getting runtime Exception.Like in Weblogic/Tomcat, In WAS where I can see the console so that I can see the Error messages.
    Or will it create any Log file If so Where it will be created.Plz Suggest me how can we view the error message or log message.
    THanx

    Hi Lakshmi,
    depends on the version you are on.
    EP5: See /thread/23766 [original link is broken]
    EP6SP2: See /thread/25694 [original link is broken]
    EP6 NW04: See /thread/19070 [original link is broken]
    Best regards
    Detlev

  • Problem decrypting the encryptedKey at server side

    Hi,
    Just a bit of background about my environment and problem: I am using JBoss 4.2.3 and JBoss metro for my web services. I am trying to test my web service with security using SOAtest6.2. I also have a servlet based client for my web service. I have enfored WS-Security policy using WSIT. Now when i use servlet based client everything works perfectly ok, however when i use SOAtest6.2 using the same keystore and truststore (which i have used for servlet based client) it doesn't seem to be working. I am getting the following error at server side:
    ERROR [com.sun.xml.wss.logging.impl.opt.crypto] WSS1913: Key used to decrypt EncryptedKey cannot be null
    ERROR [com.sun.xml.wss.logging.impl.opt.crypto] WSS1927: Error occured while decrypting EncryptedKey
    I don't know where things are going wrong here.
    Not sure what other information i should provide at the moment, however i will provide any information as and when required.
    Thanks

    Are there any exceptions thrown??
    And where are you trying to run your application?

  • Side by Side error on Windows Server 2008 R2 SP1

    Hello!
    I want to install SAP 4.7 Ex2 on windows Server 2008 R2 Sp1. I installed java 1.4.2.24 and oracle 11g before.
    Now i tried to install the 4.7 system on the server. But in step "create or reregister sap services" i get an error.
    The sap log shows me this error:
    FSL-06002 Error 14001: The application could not be started, the Side by Side configuration is invalid
    In Windows error log i got this message.
    Fehler beim Generieren des Aktivierungskontextes fu00FCr "C:\usr
    sap\DN2\sys\exe\run\sapstartsrv.exe. Die abhu00E4ngige Assemblierung
    "Microsoft.VC80.MFC,processorArchitecture="AMD64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
    konnte nicht gefunden werden. Verwenden Sie fu00FCr eine detaillierte Diagnose das Programm "sxstrace.exe
    Error Code: 33
    It installed vcredist 2005/ 2005 SP1. An i installed .NetFX3.5 (with versions 2.0-3.5) and .NetFx 4.0. The Error ist still exists.
    Yesterday i installed windows Server new, but i got the same error again.
    I don`t know what to do now, please help me.
    Kind regards
    Sebastian

    > Fehler beim Generieren des Aktivierungskontextes fu00FCr "C:\usr
    >  sap\DN2\sys\exe\run\sapstartsrv.exe. Die abhu00E4ngige Assemblierung
    >  "Microsoft.VC80.MFC,processorArchitecture="AMD64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
    >  konnte nicht gefunden werden. Verwenden Sie fu00FCr eine detaillierte Diagnose das Programm "sxstrace.exe
    And just as information:
    German Windows servers are not supported, you should install a US English version.
    Markus

  • Logging in flex at server side

    How can we something similar to log4j utility in flex ?
    I need to log errors at server side in flex.

    This may seem an odd question but it actually has it's applications... are you asking about "local" client logging for development purposes (if you can't or don't want to use the console w/trace() for some reason, small screen resolution etc.), or persistent logging to a server or database?  You can also log to a server with Flex remoting via RemoteObject which is better than httpservice in my biased opinion.

  • Error while saving a workflow via sharepoint designer: Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.

    While saving a workflow using SharePoint designer on a SharePoint site, I get the following error: 
    Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.
    Steps to recreate error:
    Login to the WFE server hosting IIS and workflow manager, open SharePoint Designer 2013 and login to a SharePoint site.
    Access the list using SharePoint Designer 2013, in the workflow section, click new workflow. 
    In the new workflow dialog, enter workflow details, click save (see screenshot below).
    Error message is displayed as below:
    After restarting SharePoint Designer, the saved workflow is not seen in the site/workflows or list/workflow section.
    Workaround
    When the above steps are repeated while accessing the site via SPD from any other box besides the WFE/Workflow manager host server, the error is not encountered and its possible to save/publish workflows.
    Notes
    Workflow Manager 1.0 is installed.
    The site has been registered with Workflow manager using Register-SPWorkflowService
    cmdlet.
    Any clue on why is this happening?

    Hi Vivek,
    Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
    <user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
    <user profile>\appdata\local\microsoft\websitecache\<sitename>
    http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Error getting the server-side naming service functionality

    Hi all,
    we are currently setting up the CTS+ activity based transport scenario. Everything seems to be working fine, however, we have to import each transport twice...
    Before I go into detail in the error we get I will first describe our landscape. All the configuration we did was done in debate with SAP.
    We use the SAP Solution manager (ehp1 SP 4) as the CTS+ server as recommended by SAP and have an NWDI system of which we only use the components DTR and CBS (since CMS is not used anymore in the activity based transport). We have defined three logical ports/RFCs. CTSCONFIG points to the NWDI system. CTSDEPLOY is running on the java stack of the solution manager and is only used for portal content (=epa) transports. CTSDEPLOY_DI is pointing to the NWDI system and is used for all NWDI (=dip) changes. The NWDI is running ehp1 SP3.
    In STMS I defined all the non-abap systems (and configured them to use CTSDEPLOY_DI) and created the following transport route:
    upload system (IMP) -> DEV -> ACC -> QAS -> PRD
    I first attached the used dependencies in a transport request (SAP_BUILDT, EP_BUILDT, etc) these imported just fine. Then I did the SCA files which contain our custom code. I extracted these from the assemble step on our current NWDI system which will be removed as soon as we switch to the new CTS+ environment.
    When we import the transport into the runtime systems then we see the DTR and CBS be filled sucesfully for this specific system. However, the transport request itself always fails with errorcode 12 and the error is:
    Error during export service registration: Error getting the server-side naming service functionality during getInitialContext opera
    tion. com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    Error in execution of Web services CTSDEPLOY_DI , exception is cx_cts_file_import_failed
    File import canceled
    When we then reimport the same transport it will go the second time fine. This is no problem during the setup but will not be workable when we go live ofcourse. Is there anyone who had this issue before as well and have a solution for it?
    Kind Regards,
    Nico van der Linden...

    Hello Nico,
    I would need the java trace files to get more info on this issue, but you can start troubleshooting this error with these notes:
    #1172252: CTS+, 'attach file': Troubleshooting Guide;
    #1003674: Enhancement for non-ABAP systems in CTS;
    #1155884: CTS+, configuration 'close coupling': Troubleshooting guide;
    Pay special attention to parameter  NON_ABAP_WBO_CLIENT, whether it's correctly set on your CTS+ system(s).
    Note #1003674 is a must for any CTS+ systems to work properly, as well as having an updated version of the transport programs (tp and R3trans).
    Lastly, note #1155884 goes through some JCoException exceptions that commonly take place during CTS+ transports. But again, you need to check the underlying trace files to find the root cause of your issue.
    I hope this information helps.
    Best regards,
    Tomas Black

  • Opening any report in SPM shows Server Error

    Hi Experts,
    We have recently upgraded SPM from 2.0 to 3.0 SP3, where when we click any report a small pop-up on the right corner shows "Server Error".
    We have taken the http watch trace and it shows as
    404 - for URL - http://<systemhostname>:<port>/sap/poa/sbc/ps/SPM/psres/0050568E3EE31EE093E92146BB8AEBF6/payload
    500(Internal Server Error) - for URL - 
    http://<systemhostname>:<port>/epm/opm/bidata/SPM/dataSources/0ASA_MP01_Q1002/report?rows=100&cell_limit=200000

    Hi Preetha Balan,
    Sorry for resurrecting this old thread.
    Just wondering, if you can share to me what Update Level or Pacthes that you applied to your system to get rid of that error? I have the same scenario here and does not seem to find a fi.
    If you dont mind can share below two things with me:
    1. Whats the current levels / pacthes for all compnents of your SPM system? (Both java and ABAP).
    2. Can share the OSS ticket ID? i would like my SAP support person to refer to you ticket as well.
    Thanks for you time and help!

  • In server side i got this below error.

    Hi all,
    its very urgent.... plzzz help me.
    I developed one oaf page and these files move to server side i got below error.
    *[appldev@wnsfinapp webui]$ javac ProjectInfoMainCO.java*
    Note: ProjectInfoMainCO.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    plz its very urgent.....
    thanks
    Seshu.

    Seshu,
    You are using one or more depreciated API in the java file either compile the java code in Jdeveloper or compile on server by overriding -Depreciated.
    Regards,
    Gyan
    gyanoracleapps.blogspot.com

Maybe you are looking for