Send Response to another frame

Hi...
I am an HTML page contains two frames say A and B .
Frame A contains some links that display the output in frame B. [Given the target of frame A as B ] .But some times depends on my request , i want to display the page in the paret frame instaed of frame B .
Is there any way in JSP to redirect to another frame. Plz help....
Thanx in advance
~ Suresh G

[url http://forum.java.sun.com/thread.jspa?threadID=745944&messageID=4274494] This thread  should help.
ram.

Similar Messages

  • Sending response to another BPEL from ESB

    I am passing request from esb to bpel and getting the response from bpel that i want to send to another bpel through esb.
    Everthing is working fine(not showing any error) but the response is not going to second bpel through.

    Now response going from first bpel to second bpel through esb
    i am calling esb from first bpel and i am using same schema in both the esb and first bpel.
    but i am facing below error when i compile my first bpel
    Error:
    [Error ORABPEL-10903]: failed to read wsdl
    [Description]: in "bpel.xml", Global Type declaration/definition of name '{http://www.example.org}SelectLinesOutput' are duplicated at the following locations:
    file:/D:/Vivek/SOA10g/Projects/FLSCommonFramework/FLSMoosicOutbound/bpel/FlsMoosic.xsd [line#: 69]
    http://gildv243:7777/esb/slide/ESB_Projects/FLSCommonFramework_Common_Esb/FlsMoosic.xsd [line#: 68]
    There are at least two of them looking different:
    file:/D:/Vivek/SOA10g/Projects/FLSCommonFramework/FLSMoosicOutbound/bpel/FlsMoosic.xsd [difference starting at line#:73]
    http://gildv243:7777/esb/slide/ESB_Projects/FLSCommonFramework_Common_Esb/FlsMoosic.xsd [difference starting at line#:72]
    Global Type declaration/definition of name '{http://www.example.org}SelectPriceAttsOutput' are duplicated at the following locations:
    file:/D:/Vivek/SOA10g/Projects/FLSCommonFramework/FLSMoosicOutbound/bpel/FlsMoosic.xsd [line#: 95]
    http://gildv243:7777/esb/slide/ESB_Projects/FLSCommonFramework_Common_Esb/FlsMoosic.xsd [line#: 94]
    There are at least two of them looking different:
    file:/D:/Vivek/SOA10g/Projects/FLSCommonFramework/FLSMoosicOutbound/bpel/FlsMoosic.xsd [difference starting at line#:97]
    http://gildv243:7777/esb/slide/ESB_Projects/FLSCommonFramework_Common_Esb/FlsMoosic.xsd [difference starting at line#:96]
    Global Type declaration/definition of name '{http://www.example.org}SelectCreditsOutput' are duplicated at the following locations:
    file:/D:/Vivek/SOA10g/Projects/FLSCommonFramework/FLSMoosicOutbound/bpel/FlsMoosic.xsd [line#: 86]
    http://gildv243:7777/esb/slide/ESB_Projects/FLSCommonFramework_Common_Esb/FlsMoosic.xsd [line#: 85]
    There are at least two of them looking different:
    file:/D:/Vivek/SOA10g/Projects/FLSCommonFramework/FLSMoosicOutbound/bpel/FlsMoosic.xsd [difference starting at line#:90]
    http://gildv243:7777/esb/slide/ESB_Projects/FLSCommonFramework_Common_Esb/FlsMoosic.xsd [difference starting at line#:89]
    Global Type declaration/definition of name '{http://www.example.org}SelectHeadersOutput' are duplicated at the following locations:
    file:/D:/Vivek/SOA10g/Projects/FLSCommonFramework/FLSMoosicOutbound/bpel/FlsMoosic.xsd [line#: 39]
    http://gildv243:7777/esb/slide/ESB_Projects/FLSCommonFramework_Common_Esb/FlsMoosic.xsd [line#: 39]
    There are at least two of them looking different:
    file:/D:/Vivek/SOA10g/Projects/FLSCommonFramework/FLSMoosicOutbound/bpel/FlsMoosic.xsd [difference starting at line#:41]
    http://gildv243:7777/esb/slide/ESB_Projects/FLSCommonFramework_Common_Esb/FlsMoosic.xsd [difference starting at line#:41]
    [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).

  • How to send data to another site, get response, redirect and get new response

    Dear all,
    I've to write a Java EE application that have to become an interface to a payment platform. The protocol require to send a POST string containing some information (including an error and response page) to an external host, get the response and redirect the user to another host using the previous response. When the user ends the transaction the host redirect the user to my error or response page.
    For the moment my user access to my application using glassfish REALM authentication. After that I write the following code:
    public void paymentPrepare() throws UnsupportedEncodingException, IOException {
       String postUrl = "https://test.payment.test/init/http";
       HttpPost postRequest = new HttpPost(postUrl);
       String id = "99999999";
       String password = "99999999";
       String action = "4";
       String amt = "1.00";
       String currencycode = "978";
       String langid = "ENG";
       String responseurl = "http://myhost:8080/EMBOWorkshop/secure/response.xhtml";
       String errorurl = "http://myhost:8080/EMBOWorkshop/secure/error.xhtml";
      trackid = "TRCK0001";
      udf1 = "Descrizione";
       StringEntity postParamsEntity = new StringEntity("id=" + id
       + "&password=" + password
       + "&action=" + action
       + "&amt=" + amt
       + "&currencycode=" + currencycode
       + "&langid=" + langid
       + "&responseurl=" + responseurl
       + "&errorurl" + errorurl
       + "&trackid" + trackid
       + "&udf1" + udf1);
      postParamsEntity.setContentType("application/x-www-form-urlencoded");
      postRequest.setEntity(postParamsEntity);
       DefaultHttpClient httpClient = new DefaultHttpClient();
       // Execute the HTTP POST
       System.out.println("Executing HTTP Post...\n");
       HttpResponse response = httpClient.execute(postRequest);
       // Check the HTTP status of the post.
       if (response.getStatusLine().getStatusCode() != 200 && response.getStatusLine().getStatusCode() != 201) {
       throw new RuntimeException("Failed: HTTP error code: "
       + response.getStatusLine().getStatusCode());
       // Create a reader to read in the HTTP post results.
       BufferedReader br = new BufferedReader(
       new InputStreamReader((response.getEntity().getContent())));
       // Read in all of the post results into a String.
       String output = "";
       Boolean keepGoing = true;
       while (keepGoing) {
       String currentLine = br.readLine();
       if (currentLine ==
    null) {
      keepGoing = false;
       } else {
      output += currentLine;
       System.out.println("Raw string result: \n" + output);
    The previous code works fine. I receive the response. But now I don't know how to continue. How can redirect the user to another site, and when the payment is finished, receive the response? Another question is, the user authenticate himself to access to the application. When the user will redirect to an external site, the glassfish session permits to get the response from the other host without require a new authentication?
    For the moment I don't know how to redirect the user, but I tried to write this method to obtain the last response:
      public void getResponse(HttpServletRequest request, HttpServletResponse response) {
      paymentId = request.getParameter("paymentid");
      result = request.getParameter("result");
      auth = request.getParameter("auth");
       ref = request.getParameter("ref");
      traind = request.getParameter("tranid");
      trackid = request.getParameter("trackid");
      udf1 = request.getParameter("udf1");
      responsecode = request.getParameter("responsecode");
    Is it correct?
    Thanks

    Now I'm able to redirect the user to the other page:
    ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
    externalContext.redirect("http://stackoverflow.com");
    Now the problem is: once the user has finished to pay, the other site redirect the user to my site using one of the two JSF page I prepared for error or response like the following:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                    template="./index.xhtml"
                    xmlns:h="http://java.sun.com/jsf/html"
                    xmlns:f="http://java.sun.com/jsf/core"
                    xmlns:rich="http://richfaces.org/rich"
                    xmlns:a4j="http://richfaces.org/a4j"
                    xmlns="http://www.w3.org/1999/xhtml"
                    xmlns:fn="http://java.sun.com/jsp/jstl/functions"
                    >
        <ui:define name="content">
            <center>
               An error occurred during  transaction
                #{participantBean.auth}<br />
                #{participantBean.responsecode}
            </center>
      </ui:define>
    </ui:composition>
    So, how can I get the GET parameters that the other host sent to me during the redirection?

  • How to put a string from one Frame to another Frame?

    Dear all,
    How can I put a String from one Frame to another Frame?
    When the application started, the Frame 'WindowX' will be displayed. After you press the 'openButton', a whole new Frame (inputFrame) will be shown. In this Frame )(inputFrame) you can write a String in a TextField. After pressing the okButton, this String will be sent to the first Frame 'WindowX'.
    But does anyone know how to realize the sending part?
    I've tested this code on Win98 SE and JDK1.2.2.
    Hope someone can help me. Thanks in advance.
    import java.awt.*;
    import java.awt.event.*;
    public class WindowX extends Frame implements ActionListener, WindowListener
         private Button openButton;
         private TextField resultField;
         public static void main(String [] args)
              WindowX wx = new WindowX();
              wx.setSize(300,100);
              wx.setVisible(true);
         public WindowX()
              setLayout(new FlowLayout());
              openButton=new Button("open");
              add(openButton);
              openButton.addActionListener(this);
              resultField=new TextField(10);
              add(resultField);
              resultField.addActionListener(this);
              addWindowListener(this);     
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==openButton)
                   inputFrame ip=new inputFrame();
                   ip.setSize(200,80);
                   ip.show();
         public void place(String theString) //this doesn't work
              resultField.setText(theString);
         public void windowClosing(WindowEvent event)
              System.exit(0);
         public void windowIconi......
    class inputFrame extends Frame implements ActionListener,WindowListener
         String theString = "";
         Button okButton;
         TextField inputField;
         WindowX myWX=new WindowX();   //??
         public inputFrame()
              setLayout(new FlowLayout());
              inputField=new TextField(10);
              add(inputField);
              inputField.addActionListener(this);
              okButton=new Button("OK");
              add(okButton);
              okButton.addActionListener(this);     
              addWindowListener(this);     
         public static void main(String[] args)
              Frame f = new Frame();
              f.show();
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==okButton)
                   theString=inputField.getText();
                   myWX.place(theString);   //??
                   dispose();
        public void windowClosing(WindowEvent e) {
        dispose();
        public void windowIconi......
    }

    Thanks for your reply!
    But I got an other problem:
    I can't refer to the object (wx) made from the main Frame 'WindowX', because it's initialized in 'public static void main(String [] args)'...
    Hope you can help me again... Thanks!
    import java.awt.*;
    import java.awt.event.*;
    public class WindowX extends Frame implements ActionListener, WindowListener
         private Button openButton;
         private TextField resultField;
         public static void main(String [] args)
              WindowX wx = new WindowX();   //!!
              wx.setSize(300,100);
              wx.setVisible(true);
         public WindowX()
              setLayout(new FlowLayout());
              openButton=new Button("open");
              add(openButton);
              openButton.addActionListener(this);
              resultField=new TextField(10);
              add(resultField);
              resultField.addActionListener(this);
              addWindowListener(this);     
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==openButton)
                   inputFrame ip=new inputFrame(wx);
                   ip.setSize(200,80);
                   ip.show();
         public void place(String theString)
              resultField.setText(theString);
         public void windowClosing(WindowEvent event)
              System.exit(0);
         public void windowIconi....
    class inputFrame extends Frame implements ActionListener,WindowListener
         String theString = "";
         Button okButton;
         TextField inputField;
         WindowX parent;
         public inputFrame(WindowX parent)
              setLayout(new FlowLayout());
              this.parent=parent;
              inputField=new TextField(10);
              add(inputField);
              inputField.addActionListener(this);
              okButton=new Button("OK");
              add(okButton);
              okButton.addActionListener(this);     
              addWindowListener(this);     
         public static void main(String[] args)
              Frame f = new Frame();
              f.show();
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==okButton)
                   theString=inputField.getText();
                   parent.place(theString);
                   dispose();
        public void windowClosing(WindowEvent e) {
        dispose();
        public void windowIconi..........
    }          

  • SENDING MAIL TO ANOTHER SYSTEM IN INTRANET BY USING SMTP

    hi
    i am able to send simple smtp messages within the single localhost but i am not able to send it to another system ,plz help me .i also need to get the reply from that system since i am the server. i am using jsp code.
    i have enclosed the code
    mail.jsp
    <%@ page language="java" import="javax.naming.*,java.io.*,javax.mail.*,
    javax.mail.internet.*,com.sun.mail.smtp.*"%>
    <html>
    <head>
    <title>Mail Send:Defect Tracking System</title>
    </head>
    <body>
    <%
    try{
      Session mailSession = Session.getInstance(System.getProperties());
      Transport transport = new SMTPTransport(mailSession,new URLName("cl301"));
      transport.connect("cl301",25,null,null);
      MimeMessage m = new MimeMessage(mailSession);
      m.setFrom(new InternetAddress(%><%request.getParameter("from")%><%));
      Address[] toAddr = new InternetAddress[] {
                  new InternetAddress(%><%request.getParameter("to")%><%)
      m.setRecipients(javax.mail.Message.RecipientType.TO, toAddr );
      m.setSubject(%><%request.getParameter("subject")%><%);
      m.setSentDate(new java.util.Date());
      m.setContent(%><%request.getParameter("description")%><%, "text/plain");
      transport.sendMessage(m,m.getAllRecipients());
      transport.close();
      out.println("Mail Send!");
    response.sendRedirect("Login.jsp");
    catch(Exception e){
      out.println(e.getMessage());
      e.printStackTrace();
    %>
    </body>
    </html> mailApi.jsp
    <%@ include file="TemplateObj.jsp" %>
    <%@ include file="Common.jsp" %>
    <%!
    %>
    <html>
    <head>
    <title>Mail:Defect Tracking System</title>
    </head>
    <link rel="stylesheet" href="style/stylesheet.css" type="text/css">
    <body>
    <table>
    <tr><td><img src="images/header.gif"</td></tr></table>
    <br>
    <table align="right">
    <tr><td><img src="images/bug_chick.gif"></td></tr></table>
    </p>
    </form>
    </td>
    </tr>
    </table>
    <table border="1" width="50%" cellpadding="0" cellspacing="0">
    <tr>
    <td width="100%">
    <form method="POST" action="mail.jsp">
    <table border="1" width="100%" cellpadding="0" cellspacing="0">
    <h1>Send Bug Mail</h1>
    <tr>
    <td width="50%"><b>To:</b></td>
    <td width="50%"><input type="text" name="to" size="30"></td>
    </tr>
    <tr>
    <td width="50%"><b>From:</b></td>
    <td width="50%"><input type="text" name="from" size="30"></td>
    </tr>
    <tr>
    <td width="50%"><b>Subject:</b></td>
    <td width="50%"><input type="text" name="subject" size="30"></td>
    </tr>
    <tr>
    <td width="50%"><b>Description:</b></td>
    <td width="50%"><textarea name="description" type="text"
    cols="40" rows="15" size=100>
    </textarea>
    </td>
    </tr>
    <tr>
    <td><p><input type="submit" value="Send Mail" name="sendMail"></td>
    </tr>
    </table>
    </body>
    </html>

    do NOT use JSP for anything except presentation of data, NEVER use it for anything else.
    If you need Java code inside a JSP, it shouldn't be a JSP.
    What makes you think you can't send mail to another server?
    What errors are you getting (I can guess, and I have 2 very strong contenders for the title, but I can't be sure)?
    To find out what replies a mailserver can give, read the relevant RFCs. Of course if you close the connection without waiting for (let alone handling) those responses you're never going to see them.

  • How to check whether music has finished playing and go to another frame

    I have a bunch of music samples which are set up to play on
    the click of a button, and at the same time go to another frame in
    the movie clip so it says 'playing', with a stop button that takes
    you back to frame 1. If you don't click stop, though, when the song
    ends, it stays on this second frame, even though there is nothing
    playing anymore, which is a bit confusing for the viewer.
    So I need to tell flash to check whether the song is finished
    playing, and then if it is, go back to frame 1. I have no idea how
    to do this; have basically done it all using tutorial and samples
    and my limited actionscript knowledge, but I can't find this
    particular code, and don't really have any idea how to write it
    from scratch.
    Many thanks!
    Here's my first frame actionscript:
    stop();
    this.createEmptyMovieClip ("mcSoundHolder",
    this.getNextHighestDepth());
    var mySound:Sound = new Sound (mcSoundHolder);
    btn_Song1.onRelease = function():Void {
    stopAllSounds();
    mySound.loadSound("Soaring1-Burlesque.mp3", true);
    gotoAndPlay("Song1");
    btn_Song2.onRelease = function():Void {
    stopAllSounds();
    mySound.loadSound("Soaring2-PopCyclePotpourri.mp3", true);
    gotoAndPlay("Song2");
    btn_Song3.onRelease = function():Void {
    stopAllSounds();
    mySound.loadSound("Soaring3-PopCycle-SongofLight.mp3",
    true);
    gotoAndPlay("Song3");
    and so on...

    I am not sure how Tomcat handles this, but you need to use two-way (mutual authentication) request but not enforce SSL between Tomcat and the client browser. This will make the browser prompt the user for the cert they want to send. Then you'll need to tackle the other part of your problem, getting the correct content displayed depending on whether the user sent a cert or not. I'm even less help there than I was on the first part of your question.
    So, yeah - good luck with that
    Lee

  • Target another frame in a framset from flash navigation

    Target another frame in a frameset with for example
    getUrl (example.html, "rightFrame");
    has Adobe released some solution?
    - Right now we migrate from Flash towards PowerPoint and CSS,
    because
    the lack of answers and interactivity in Flash because of
    Microsofts "security pathes" in IE 6 and 7
    Right now I cant find a simple solution of how to target
    another
    frame from a frame in the same html-doc from a button in a
    flash navigation.
    Am I right or wrong? It looks like everyone avoid this simple
    question?
    - Why?
    And I still appreciate every possible answer that could solve my
    problem and a lot of problem to other
    interactive producer.

    Cant target another frame in the same frameset (2 frames -
    LeftFrame and RightFrame ) in the same html.doc
    This is the code I have applied to the Flash button
    in a frame called navigation in LeftFrame:
    on(release){
    getURL("right.htm", rightFrame);
    For some reason I can't get the page to open in the target
    frame (RightFrame).
    It will only pop up in a new window. (_blank)
    Microsoft has done a some security restriction since februari
    2006.
    The problem is that you cant use flash navigation in the same
    frameset no longer.
    I´ve serched everywhere and it looks like there is no
    simple solution to this problem.
    Adobe suggest that you Work around with Javascript.
    But what´s happend if the user disable JavaScript in the
    WebBrowser?
    Isn´t that obvious - it´s a strategic issue for the
    Interactive webbindustry.
    It´s a crossroad - which way webdesigners/developers,
    markering managers
    e-commerce managers.., want to choose to work along with
    databases, content
    management system and so on.
    If Flash not can provide an easy way of targeting another
    frame in a webbrowser for
    its customers, the customers have to choose a another
    solution - CSS+php or even worse
    - PowerPoint.
    I already migrate to CSS, PHP and PowerPoint because of
    Adobes late response of Microsoft so called
    "..because of security reason".
    At least I hope Adobe is interested of producing a motion
    tutorial of how to solve the problems by
    Javascript or whatever complex and not user friendly
    solution
    they come up with.
    Do you understand now?
    If you can provide a simple code below - please tell me -
    I really appreciate that!!!!!
    Code on flash button in LeftFrame:
    OnPress (I appreciate some bright solution here or som e link
    to how I solve the problem.)

  • Don't send responses to Calendar invites on iPhone

    Quick question. I tried a search and didn't find anything.
    On my old phone (Treo 750) I had the ability to accept, decline or tentatively accept invitations - but the big thing I loved was that I didn't need to send a response to the original sender. I was given the option to edit response, send response, or decline to send response.
    Does anyone know if its possible to take action on a calendar invite, but not to send the response to the meeting owner?

    1) I don't see a way to not send a reply when accepting/declining a calendar invite on the iPhone. Definitely an omission.
    2) I also get calendar invites for entries I set up myself, as if I need to respond to them. Doesn't make sense, can't figure it out.
    UPDATE - when I reply to someone else's invite on my PC, it pushes another invite to my calendar inbox. Why do I need to reply on the iPhone when I already have on my PC???

  • TS2755 I am trying to send photos to another iPhone user, however, every time I try to send it I get a prompt telling me that iMessage has to be enabled.  I go into setting and iMessage is enabled but it will not send the photos in iMessage or otherwise.

    I am trying to send photos to another iPhone user, however, every time I try to send it I get a prompt telling me that iMessage has to be enabled.  I go into setting and iMessage is enabled but it will not send the photos in iMessage or otherwise.

    I have tried to send it to multiple people and keep getting the same response.

  • How can I Copy/paste the pixels within a frame in a video layer to another frame? (It duplicates the whole frame instead.)

    I'm making a handdrawn animation in the timeline using video layers, so each video layer contains the frames for the animation. The method works great..except for this -
    If lasso select a section of one frame and try to paste into another frame, it duplicates the the whole frame and pastes it with an arbitrary long frame duration for some reason (not the same duration as the frame its copied from)....not at all what I'm trying to do. Any work around? I've tried all the variations of 'paste special' to no avail.
    Thanks.

    Images and other object can either be floating or be inline. Yours are floating and will not move with the text. Inline object will move with the text but can't be outside the text layer. It doesn't help if you have created section in the document. Floating images doesn't care. Nor will it help if you create several documents that you want to merge later. Doesn't make any difference.
    My suggestion is that until your text is finished you have the images inline. Then as a last editing you can start make the images floating and move them a little.

  • ADF : How to pass a variable from one frame to another frame ?

    Hi,
    I have an html page divided into 3 frames, all inside a frameset. Each frame are linked to a specific .jsf page (src attribute). When I list a list thanks to a ADF datatable in ONE frame, each row has a "show more" button. When I click this button I succeeded to print row detail inside the same frame thanks to the processScope ADF's native variable. The problem is that I want to display the row detail in another frame, clicking from this current frame. So for this I need to reload the other frame which display the content of the processScope variable.
    For this I use the javascript code :
    => parent.frames['bottomRight'].location.reload()
    Just before refreshing, I put the variable in the processScope of course like it appears in the backing bean :
    FacesContext context = FacesContext.getCurrentInstance();
              CLPRMBuilding building = (CLPRMBuilding)
         context.getApplication().getVariableResolver().resolveVariable(context, "building");
         if (building == null)
         return "error";
         AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
         afContext.getProcessScope().put("buildingDetail", building);
    Next, when the user click on the button "show more" a binding CoreCommandButton component is done. And the accessor's code is executed :
    public void setShowMoreCommandButton(CoreCommandButton showMoreCommandButton) {
              this.showMoreCommandButton = showMoreCommandButton;
              showMoreCommandButton.setOnclick("parent.frames['bottomRight'].location.reload()");
    And so the other frame is reloaded ! But the "buildingDetail" variable seems not to be present in the processScope because in the jsf page displayed by the other frame no content is printed, like if the variable were not initialized. How to do then ? How to pass the buildingDetail variable to the other frame which I need to reload to refresh it's content ?

    elaine_g wrote:
    I am wondering why does (r.a) give an error outside the method? What's the reason it only works when used inside the (b/r.a) maths function? This is illegal syntax:
    class B {
      int b;
      A r = new A();
      r.a;  //syntax error
    }Why? Class definition restricts what you can define within a class to a few things:
    class X {
        Y y = new Y(); //defining a field -- okay
        public X() { //defining a constructor -- okay
        void f() { //defining a method -- okay
    }... and a few other things, but you can't just write "r.a" there. It also makes no sense -- that expression by itself just accesses a field and does nothing with it -- why bother?
    This is also illegal syntax:
    int doB() {
          A r = new A();
          r.a;  // error: not a statement
    }Again, all "r.a" does on its own is access a field and do nothing with it -- a "noop". Since it has no effect, writing this indicates confusion on the part of the coder, so it classified as a syntax error. There is no reason to write that.

  • Sending response back to RFC in UDF

    Hi All,
    I have a Sync scenario from RFC to SOAP. I want to check the line items in RFC request. If there are no line items , then i want to stop the scenario and use UDF to send the constant (Invalid line items based on validations) back to RFC responce by using RFC lookup.
    Is it possible to send response back to RFC in UDF?
    Please suggest me, i want to handle exceptions without BPM.
    Thanks and regards
    Uma

    hi,
    >>Is it possible to send response back to RFC in UDF?
    I don't think such an option exists in standard
    but maybe you can do the check in the RFC much faster instead os checking
    this in XI ?
    Regards,
    Michal Krawczyk

  • Applet navigator to open a page in another frame.

    Hello to the Java gurus out there,
    I was wondering if someone could give me a pointer as to how I can get an applet navigator to open a page in another frame of the web browser?
    Say for example, I have two frames in the main HTML page where one frame contains an Applet navigator, and the other page can be loaded based on where the user clicks on the applet navigator.
    Capturing the mouse click event is all good, but then how do I load a page in another frame ??
    Any help would be much appreciated.
    J. Park

    In your applet class do the following
    getAppletContext().showDocument(new URL("somepage"), "Target");
    See the AppletContext class in http://java.sun.com/j2se/1.3/docs/api/index.html for more information.

  • JDBC Sender Response Message as an XML SQL

    Hi All,
    I have a scenario as follows :
    JDBC Sender <-> XI (synchronous) <-> ABAP Proxy.
    I'm hoping that I can use XML SQL form at the JDBC Sender Response message, so I can update some fields at the database using the response message's data. But actually it's not working. Please advise whether it's applicable or not ? If it's not, is there any other way to do that ?
    Thanks in advance,
    Andy S

    Andy,
    Adding to the discussion here, JDBC sender adapter does not support Synchronous Processing .It supports only Asynch procesing and so, you would need a BPM inorder to update the database again with the ABAP Proxy response.
    You would have a sender jdbc adapter polling over the db and getting the data, --> a receiev step in the BPM receives the data.
    Next a send Synch Step makes the call to the ABAP Proxy and get the response.
    You map this response to a JDBC receiver adapters data format on the basis of the action you need and then use a send step with a receierv JDBC adapter to update the DB.
    Regards,
    Bhavesh

  • XML Incoming Invoices - Send response to Vendor for Failed Messages in XI

    In our system, Vendor are posting XML Invoices to XI using HTTP adapter and then XI is sending invoices to R/3 using IDOC adapter. Is there anyway I can send response message to vendors for the error out invoice messages in XI?
    Please help  me if someone has any information about it.
    Thanks in advance!
    Mrudula Patel

    Mrudula
    There are two types of errors you have take care of. One is technical error and the other application error.
    To sending technical errors like mapping error, you can use fault messages in XI.
    For application errors, you can use ALEAUDIT functionality from the receiver R/3 system, which you can map in to an asynchronous XML message as agreed between you and your vendor.
    It is a good practise to always send acknowledgements (both failure and success) to your vendor so that at the end of the day, the number of invoices matches on both systems (yours and your vendor's).
    Thanks
    KK

Maybe you are looking for

  • HT201385 how can I see a folder in iCloud drive with documents from my computer on my other devices?  Seems like it only works with iApps like Pages etc.

    I have iCloud drive set up on all my apple devices and all is current, but I have a older I put in iCloud drive on my laptop.  How can I get to those documents in that folder on my iPhone and iPad? Is there also a way to grant access like in the good

  • Missing Navigation, Toolbar & Skin

    Hi, I've seen several write-ups regarding this issue, but yet to find a resolution. I have generated FlashHelp using RoboHelp x5 and saved to it a server. Calling it directly from a mapped drive\path on the server brings up the entire system perfectl

  • Adding Printer

    okay. my printer worked for about a month. it is compatible, its an HP PSC 1510 All in one. suddenly it told me i didnt have a printer selected when i tried to print something.. so i went to add it and it told me "an error occurred while trying to ad

  • Dynamic calling of subsequence and wants to stop main sequence

    HI All I want to load a LabVIEW VI through TestS tand dynamically.  For that I am calling a code module in one sequence and calling this sequence in the sequence call in the Main sequence. What I want to do is , when this VI gets launched through cod

  • Copying domain folder

    Just curious....is it possible to copy a domain folder to another machine with a base WLS install (no domain) and have it work in a Windows environment? I assume things like a nodemanager service would have to be installed for the registry need (if n