Detect redirect from webservice

Hi. I've got a Flex application which is connecting to data
via .net webservices. On our server we have an authentication
method which times out after an inactivity period and any further
requests are redirected to a login page. Unfortunately then, when
we make a webservice call, it just fails in the background and
gives us an io error or something. I've looked in the fail event
for something that might possible allow us to trap this error
specifically but can't find anything. I suspect that the browser
may be doing the redirect and then handing the result to the flash
player. Any ideas?
Thanks, Alan.

up, uP, UP!

Similar Messages

  • SolMan 7.1 SPS 11 - deactivate redirect from HTTP to HTTPS

    Hi Gurus,
    I am currently experiencing the case, that I can't call HTTP pages anymore.
    Before I made the check described under SOLMAN_SETUP -> System Preparation -> 2. Check Installation -> Manual Activities -> Check Secure Web Browser Comm. (HTTPS) I was able to call SOLMAN_SETUP with HTTP and SSO worked (starting the Browser by calling transaction SOLMAN_SETUP in GUI).
    After I have executed the check, I have changed nothing but to execute the check and make sure there is a working HTTPS service.
    Now I am experiencing the case that if I start transaction SOLMAN_SETUP I get a browser call HTTPS. If I change the protocol and the port to HTTP it jumps directly to HTTPS. This behavior makes me think that some configurations steps have activated a force redirect from HTTP to HTTPS.
    This specially gives me some headache because all other (satellite)-systems are not configured to use secured communication and the certificates are not rolled out.
    Currently I can't afford the need to roll out certificates all over the landscape.
    To buy me some more time:
    How can I check if my feeling about the redirect is correct?
    If there is a redirect, how can I disable this so that I can work with HTTP-URLs?
    I appreciate your help.
    Kind regards,
    Niklas Theis

    Hi Niklas,
    Perhaps this note can give You a little hint how to reverse to the HTTP setting again:
    1716999 - Enable HTTPS for Solution Manager web service communications
    Also check and adjust if necessary the setting for the webservice  “wd_sise_main_app”: Change the setting to “Switch to HTTP”.
    In addtion to that You also might look into:
    - the ACL file; if any block against HTTP has been setup
    Regards,
    Kurt

  • I get redirected to unwanted web sites during searches from the browser ONLY, never from the toolbar. Is this the same malware problem as discribed for redirects from BOTH the browser and the toolbar?

    I get redirected to unwanted web sites during searches from the browser ONLY, never from the toolbar. Is this the same malware problem as discribed for redirects from BOTH the browser and the toolbar?
    == This happened ==
    Every time Firefox opened
    == was happening with Internet Explorer, continues with Firefox

    Did you do a malware check?
    Do a malware check with a few malware scan programs.
    You need to use all programs because each detects different malware.
    Make sure that you update each program to get the latest version of the database.
    http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    http://www.superantispyware.com/ - SuperAntispyware
    http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]
    (the MozillaZine KB is currently down, so you may need to try again later)

  • How to redirect from list edit form to another page using jquery in sharepoint 2013

    hi friends i have been trying to find a way to redirect from list edit form to another page using javascript and jquery
    i found lot of codes online but non of them are working for me.
    what i need is i have to save the data in the form and after that it has to redirect to another page. it has to get the url from hyperlink field of the item.
    please help me in this regards

    Not sure if you have gone through below links:
    http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPRedirectWithID
    http://blogs.askcts.com/2013/02/18/using-spservices-and-jquery-to-perform-a-redirect-from-a-sharepoint-list-newform-to-editform/
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • How to pass on variables while redirecting from BSP to HTML  page.

    Hi all,
    I have two BSP pages - BSP1, BSP2.  When I click a submit button on BSP1, it should call BSP2 wherein BSP2 will work silently behind the scenes and redirect some variable values through hidden form fields to BSP1 back. 
    User will not see BSP2 in fact.  He just deals with BSP1, but when he clicks the submit button on BSP1, it silently calls BSP2, and then BSP2 will process something behind the scenes and sends back values through hidden form fields to BSP1 by means of redirection. After redirection from BSP2 to BSP1, I am not getting the hidden fields in BSP1.  From the BSP1, I am trying to get the hidden fields of BSP1 using:
    Here is how my code in BSP2 (redirecting to BSP1) looks like:
    <b>BSP2 : Layout:</b>
    <input type="hidden" name="hf1" value="vicky">
    <b>BSP2 : OnInitialization:</b>
      response->redirect( url_BSP1 ).
      navigation->response_complete( ).
    But when I am doing this, the hidden form fields from BSP2 are not being passed to BSP1 back.
    I am trying to get the form values <b>in BSP1</b> as below:
    <b>BSP1 : Layout:</b>
       <%
       data:  hfield type string.
       hfield = request->get_form_field('hf1').
       %>
    I even tried the above code in onRequest, and onInitialization sections.  But I am getting nothing.
    Please give me some ideas on how to deal with the redirection and get the hidden values out of that.
    Thanks in advance.
    Cheers,
    Vicky.

    Hi,
    There are different ways to do it, but let's pick this one. It closes the popup. If you need additional things to be done, you can make a form with all hidden fields, submit that form, do the same close and do whatever you need in the inputprocessing
    <html>
      <head>
    <title>title</title>
          <script language="javascript">
              function init() {
              <%if count eq 1.%>
                  opener.document.form.F<%=field%>.value = '<%=value.%>';
              close();
             <%else.%>
          <%endif.%>
          </script>
      </head>
      <body onLoad="init();">
    </body>
    </html>

  • How to update the Sent Idoc Status based on the Response From Webservice

    Hi All,
    I have to develop Idoc--SOAP Sync Process Scenario Using BPM .
    I have configured every thing using BPM and mapped
    MATMAS----SOAP Request
    SOAP Resp----STATUS.SYSTAT01
    In R/3  the Main Idoc Number(MATMAS) Status needs to be update , but it is creating the new Idoc with STATUS.SYSTAT01.
    I have used STATUS.SYSTAT01 Idoc to Update the status of the Original idoc based on the Response that is coming from webservice .
    I was posted the same thread a days ago and there Bhavesh suggested me some sugessions.
    How can we make the status of the Idoc based on some response Text
    iam unable to follow OR not able to clear my self on this.
    Please suggest me or give some over view kind of thing on this
    Regards

    Hi Suman,
    It is clearly mentioned in SAP help that "SAP Intermediate Documents (IDOCS) are EDI like documents that are asynchronous in nature."
    So Your Scenario is Asynch(receive) - Synch(WS call) -Transformation (Multimapping)- Asynch(Send to R/3).
    now go in this way:
    you can develop all the message Interfaces  of  Abstract catagory (not manditory )
    MI_AA_MATMAS   -> Abstract Asynchronous message    interface for your Matmas IDOC
    MI_AS_SOAP_ReqandResp  -> Abstarct Syncronous MI for SOAP request and response.
    MI_AA_STATUS ->Abstract Asyncronous MI for Status Idoc
    MI_AA_SOAP_Req ->  Abstarct Asyncronous MI for SOAP request .
    MI_AA_SOAP_Res ->  Abstarct Asyncronous MI for SOAP response .
    Thats all in Message interface.
    your first reciever :
    (This will receive the message asynchronously from R/3)
    create a conatainer varaiable (say preceive) and assign it message interface MI_AA_MATMAS
    Now in thw Propert TAB of this step: give this message name.
    Step2: Synchronous call :
    create container Variable psoaprequest and psoapresponse  give abstract message interface MI_AA_SOAP_Req and MI_AA_SOAP_Req  resp.
    Now in thw Propert TAB of this step:
    Synchronous Interface : MI_AS_SOAP_ReqandResp
    Request Message : psoaprequest
    Response Message: psoapresponse
    Transformation Step :
    Here you will specify Interface Mapping that will conatain Multimapping between Synch Response - MATMAs and STATUS
    Let's name it as IM_ResandMatmasToStatus
    create a container variable as pstatus and assign it abstract interface MI_AA_STATUS.
    In Property pan of this step :
    Interface mapping :IM_ResandMatmasToStatus
    Source Message :psoapresponse
                                preceive
    (IT will ask you for two source messages as IM selected in this transformation has 2 source messages)
    Target Message :pstatus
    Send step:
    Select a message as pstatus.
    thats all in IR.
    If have doubt in ID just let me know.
    Thanks
    Sunil Singh

  • Upon startup Firefox says "Proxy is refusing connections." When I select "Auto-Detect Proxy" from Advanced settings and solve problem, changes are not saved and upon next startup I must select again...!

    Firefox 4 was working fine. Then one day, when I started up Firefox, it says "Proxy is refusing connections." I solved this by selecting "Auto-Detect Proxy" from Advanced network settings, but my changes are not saved and upon every start-up I must select it again! (I even completely removed my webroot antivirus protection, as it as hindering many proxy related programs, but this seems to not be the source of the problem)

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    If you do not need to use a proxy to connect to internet then select "No Proxy"
    See "Firefox connection settings":
    * https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved

  • How get java Object from webservice

    Hai
    i gave ArrayList<bean> , i can't get this ArrayList<bean> from webservice. How can i get ? via for each or iterator or any ?????
    Note: i iterated  but only one element was come from bean property  using next() of iterator .
    I need all property. any one please help.
    thanks
    Mr...Javan

    Try to return an Array instead of an ArrayList?
    Have a look at http://forums.sun.com/thread.jspa?forumID=331&threadID=5289022.

  • How to create HTTP 301 redirect from UCM 7.5.2

    Is it possible to send a HTTP response with a permanent redirect from a UCM/Stellent website? We're using version 7.5.2 with iDoc script.
    We can use the iDoc function setHttpHeader() to send the Location HTTP header, but how to send the HTTP response code 301, to signal the permanent redirect to the browser?

    Hi Rob,
    If you are using IIS there is a config variable that allows you do this. First create a virtual directory in IIS point to <install dir>\Inetpub\wwwroot directory.
    and then do the below steps
    a.     Login to Content Server
    b.     Click on Administration Admin Server
    c.     Click on Content Server instance name(button)
    d.     Click on General Configuration
    e.     Update SSWebFilterIgnoreList configuration variable
    f.     SSWebFilterIgnoreList=virtualDirectory There should not be any spaces
    g.     Click on save
    h.     Restart Content Server
    Let me if this is what you are looking for.
    regards,
    deepak

  • Auto-detect/redirect script for JDK 1.6?

    I work for a nonprofit organization and am in need of an auto-detect/redirect script. In order to hear the audio on specific pages, the computer needs to have JDK 1.6 installed on their computer. Is there a script I can insert in these pages so that if their computer does not have JDK1.6 installed, it will automatically give them a message that JDK 1.6 needs to be installed as well as a link to download it, if they want to hear the audio? If they do have JDK 1.6, there is an automatic redirect to go directly to the page they clicked to see and hear.
    Thanks in advance for your time and consideration.
    Rick Brown
    HistoryBuff.com

    When using -target it is best to also set the bootclasspath to include the JAR files of the release you are targetting. The compiler has found the new method taking an int in the newer JAR file and so compiled for that. If it was looking at the old class it wouldn't have found the (int) version so it would have generated the (double) version.

  • Getting URL redirects from Google's "I'm Feeling Lucky" Search

    Hello all! I'm working on my final project for my intermediate programming class but I've hit a bit of a snag. This project is a "do whatever interests you, as long as it incoporates what we've learned this semester" type of project. (My personal favorite type of programming project!) I have a significant amount of code already complete, but here's my problem:
    To put it simply, my program:
    1) Takes a list of movie names
    2) Gets the movie poster from Wikipedia
    3) Saves the poster images to a folder
    4) Creates an HTML file, so I can see a visual representation of every movie on the list (btw, how do you like my idea?).
    I'm using (what I think to be) a very clever system of searching with Google's "I'm Feeling Lucky" search (using detailed search terms such as "air+force+one+movie+wikipedia" that will, more than likely, always take me to the right page (if it exists))...
    Basically, my getPic(String url) method is now throwing an exception when I try to search the page that Google redirects me to, and I'm guessing it might be because the code is trying to search the "I'm Feeling Lucky" redirect page, instead of the page it is supposed to redirect to.
    I get the following error:
    10000 BC
    A connection to http://www.google.com/search?btnI=1&q=10000+bc+movie+wiki could not be established.
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.google.com/search?btnI=1&q=10000+bc+movie+wiki
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at GetWikiPiki.getPic(GetWikiPiki.java:44)
         at MovieList.makeMovieList(MovieList.java:109)
         at MakeMovieList.main(MakeMovieList.java:13)(Etc, with all the movies giving the same exception.)
    If my guess is correct, could someone please inform me on how to either:
    a) Follow the redirection from Google to the Wikipedia page or
    b) Obtain the URL which the Google search will redirect me to.
    Preferably b, so I can program it not to need to recreate each movie search every time the program runs.
    Or if you have another idea of what it could be, please feel free to make suggestions.
    Thanks a lot,
    Derek

    When I tried printing the source of, for example, http://www.google.com/search?btnI=1&q=10000+bc+movie+wiki it gave me the source code to the Wikipedia 10,000 BC page with no errors at all.
    Does this mean that it could be something wrong in my code and not Google?
    Here is the code I'm using in the particular section that throws an exception:
          * Gets the image address of a movie poster from Wikipedia via
          * parsing the passed-in URL.
          * @param url The website address (URL) of a Wikipedia article containing a movie poster.
          * @return The first occurrence, in "picture_name.jpg" format, of an
          * image whose address contains "http://" and ".jpg".
    public String getPic(String url) {
              try {
                   URL connection = new URL(url);
                   InputStream in = connection.openStream();
                   Scanner console = new Scanner(in);
                   while(console.hasNext()) {
                        String temp = console.next();
                        if(temp.contains("http://") && temp.contains(".jpg")) {
                             String temp2 = temp.replace("src", "").replace("=", "").replace("\"", "");
                             return temp2;
              catch(IOException e) {
              System.out.println("A connection to " + url + " could not be established.");
              e.printStackTrace();
              return null;
         }{code}
    Edited by: NovellTerminator on Apr 8, 2009 2:36 AM
    Edited by: NovellTerminator on Apr 8, 2009 2:40 AM (Included JavaDoc)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • ( Can't detect panicbuf from physical memory list Program terminated

    Has anyone seen this error when attempting to install Solaris 8 on a Sparc 10. I receive this error when I attempt to ( ok boot cdrom (enter) )
    ( Can't detect panicbuf from physical memory list) Program terminated
    I think I am having a problem with my physical memory.
    Any ideas would be appreciated.
    Thanks,

    I'm banging my head because I can't find a solution to make my arch-install detect an audio CD
    I assume that you mean the optical drive. I don't see a /dev/sr0 in /dev
    Does it show up with lsblk or parted -l?
    Looks like it's a LiteOn drive.
    You can play an audio CD.
    mplayer cdda://
    mpv cdda://track[−endtrack][:speed][/device] −−cdrom−device=PATH
    An audio CD doesn't have a mountable file system on it.

  • Yahoo mail redirects my email page to another trap page that asks me to upgrade. Is there an extension I can use to redirect from that site?

    I would like to know if there's an extension, or if I need to write a script so that Firefox will stop a redirect to a trap yahoo page, that yahoo causes when I try to access my yahoo mail account. Yahoo redirects from my email page every time I try to access it. I can force my way back to email if I highlight the following from the address bar and delete it: /neo/trap?dm=cl&ncrumb=IvdoOqzobdy&.rand=1254591153
    That address qualification appears when I try to access "mail.yahoo.com"
    If there is no extension I can use, can you explain what I should use to write a script? And where I can research to learn how to write it.
    If you could point me in the right direction I would really appreciate it.

    ok, you could use the greasemonkey extension & this userscript: http://userscripts.org/scripts/show/113518 (i haven't tested it myself, but judging from the description it may apply to your case)

  • How to make a redirect without auto-redirect from the portlet "edit" mode?

    How to make a redirect without auto-redirect from the portlet "edit" mode?
    I use some sofisticated customizing with server-side validation of the form data. I want to redirect to the page of the portlet "show" mode and to the "edit" mode depending on the validation results. How can I do it?

    Heay.....this worked for me.
    I am able to change the mode programatically from edit to show.
    HttpPortletRendererUtil.handleEditAction(portletRenderRequest,"OK");
    I removed Apply , OK and Cancel buttons and applied my own Submit and Back button in Personalize mode and then change the mode to show on click of Back button using the above mentioned statement.
    Thanks
    ~Neeraj Sidhaye
    Try_Catch_Finally @ Y !
    ExtremePortal @ Gmail&#12288;&#65316;&#65359;&#65364;&#12288;&#65315;&#65359;&#65357;

  • Response from webservice needs to send as Mail content

    Hello,
    i have to configure a scenario as given below
               IDOC --> JDBC --> WebService and response from WebService to SMTPmail receiver.
    now i got strucked at Webservice response. after i got the response from WebService(SOAP), i need to send the both Request and response to Mail Receiver. So Please let me know how to capture request and response both to my SMTPmail adapter(as content or attachment).let me know the steps to proceed for SMTPmail Receiver
    Regards,SARAN

    Hi Raj,
    Thanks for teh reply.
    i have already configured teh above mentioned scenario.but i am not able to get Request and response.
    Could you pelase provide teh steps how to configure BPM in this scenario..(as ia m not handson with BPM)
    Reagrds,Saran

Maybe you are looking for

  • Wiki directories not being created for groups

    I am trying to get the wiki service working for a few groups on my 10.5 server and not having much luck with it. I've enabled the wiki and blog services in Workgroup Manager for three of the groups on my server, but only one of them seems to have the

  • Has this ever been done before?

    Main report with numberous subreports but most of the subreports are using very similar or the same parameter prompts. How to combine all these prompts into just 4 parameters.. of the numerous prompts 4 were identified as the same. any suggestions?

  • ITunes not localized

    Last year, I got this message: This version of iTunes has not been correctly localized for this language. Please run the English version. So I got frustrated and quit and just kept iTunes 7.whatever. But now that I have an iPhone, I really need to qu

  • How can I get involved with teaching SAP BI at a University

    I have been working on SAP BI for about 8 years and have good ideas on where it can add value to companies. How can I go about teaching it at a university?

  • Update firmware now TC has steady amber light + not seen in airport utility

    Earlier this evening my imac flashed up the firmware update for my time capsule (500GB) which i just did without thinking twice. Firmware downloaded and TC restarted but now only has steady amber light. I launched airport utility but my tc is not rec