Https in  Httpservice doesn't return response to the caller.

Hi,
      I am accessing my aplication through  https and i am using http service  to get the data from my application server.
Actually the httpservice request is going to the server and repsonse is writen to the caller. But the response is not returning to the flex end..
I have added the below line in my client end.
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader("Expires", 0); //prevents caching at the proxy server
and i am accessing the  server from the same domain , so i don't need to load  security policy file also.
But my flex end  is not getting reponse from the Application server .But the same thing is working  while accessing from HTTP
Regards,
Thiru

Are you getting an error?  Have you added a listener for the error event of the httpservice call?  If the reply is sent out of the server, it should get back to flex so either a result or an error should be available.
I use https for all my httpservice calls, so there is nothing 'wrong' with the httpservice using https.  All the problems I have had with https have been getting the call to go to the server (didn't like the certificate, wrong domain, etc).
One of the great debugging tools for any httpservice call is to just enter the call url (and any name/value pairs) into the browser address bar, and see if it works there.  If it doesn't work in the browser, it won't work in flex, since flex/flash depends on the underlying browser to make/handle the http/https calls to the server.
Mark

Similar Messages

  • Please help: DataInputStream doesn't return response for remote device

    Hi all,
    Please advise what is my mistake.
    I am about to send a command to and get respond from my embedded kit (Arduino Wiznet Wifi Kit)
    I can send command and get respond through a Telnet.
    But i can only send command but not getting respond if i am about to write a java program to do the same thing with socket programming.
    Below is my code, please advise for my mistake.
    Many thanks!
    public static void startTCPCommunication(String ip) throws UnknownHostException, IOException{
         InetAddress thoseIp = InetAddress.getByName(ip);
         // IO streams
         DataOutputStream toServer;
         DataInputStream fromServer;
         String entered=""; // Declare & initialize a String to hold input.
         Scanner input=new Scanner(System.in); // Decl. & init. a Scanner.
         try {
              System.out.println("Socket created");
              Socket socket = new Socket(ip, 5000);
              // Create an input stream to receive data from the server
              fromServer = new DataInputStream(socket.getInputStream());
              // Create an output stream to send data to the server
              toServer = new DataOutputStream(socket.getOutputStream());
              while(true){
                   System.out.println("Please enter : ");
                   entered=input.nextLine(); // Get what the user types.
                   // Then say something trollish and use their name.
                   System.out.println("You have entered : " + entered + "!");
                   // Send the command to the server
                   toServer.writeUTF(entered);
                   System.out.println("Done with Send");
    // Get the response from server
                   String response = fromServer.readUTF();
                   System.out.println("Retruned : " + response);
         catch (IOException ex) {
         System.out.println("Unable to create socket.");
    The returned result only reaches System.out.println("Done with Send");
    The function stucked and not going to loop for second time.
    Please advise how can i modify my code and pin point my mistake please.
    Thanks a lot!

                       // Send the command to the server
                       toServer.writeUTF(entered);
                       System.out.println("Done with Send");
    // Get the response from server
                       String response = fromServer.readUTF();
                       System.out.println("Retruned : " + response);Check the Javadoc. writeUTF() doesn't send anything a Telnet server will understand, and a Telnet doesn't send anything that readUTF() will understand. They only understand each other. Use write(), and append a newline.

  • Point cloud clip doesn't return anything in the result table

    Hi experts,
    I am wondering why my point cloud clipping function does not return anything into the result table.
    The boundaries of my point cloud are:
    min long 316,500
    max long 316,643.21
    min lat 234,000
    max lat 234,105.38
    min elevation -4.79
    max elevation 30.87
    For the ind_dimquery I have tried different geometry types, like 3003 and 3008, usually with the elem_info_array (1,1007,3)
    like in the following example:
    SQL> declare
    2 inp sdo_pc;
    3 begin
    4 select pc into inp from base109 where rownum=1;
    5 insert into restst
    6 select * from table(sdo_pc_pkg.clip_pc(
    7 inp,
    8 sdo_geometry(3003, 29903, null,
    9 mdsys.sdo_elem_info_array(1,1007,3),
    10 mdsys.sdo_ordinate_array(316510, 234080, -3, 316550, 234100, 2)),
    11 null, null, null, null));
    12 end;
    13 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.20
    SQL> select count(*) from restst;
    COUNT(*)
    0
    What am I doing wrong? This should be a query window within the right area and I know that at least one point lies within this defined window.
    Any help is greatly appreciated!!!!!
    Cheers,
    F.

    yes exactly, I have tried all of this already.
    For a further example, there is a point in:
    POINTS(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    R G B I POINT_ID
    SDO_GEOMETRY(3001, 29903, SDO_POINT_TYPE(316503.49, 234089.46, 3.32), NULL, NULL
    71 91 78 70 55
    so theoretically, I'd feel that at the VERY LEAST this point should be in the 3008geometry and 1007 elem array for the coordinates for xmin, y min, zmin, xmax, ymax, zmax for
    316500, 234080, 2, 316510, 234100, 5
    but...nothing. Nothing in the result table.
    For full query:
    SQL> declare
    2 inp sdo_pc;
    3 begin
    4 select pc into inp from base109 where rownum=1;
    5 insert into restst
    6 select * from table(sdo_pc_pkg.clip_pc(
    7 inp,
    8 sdo_geometry(3008, 29903, null,
    9 mdsys.sdo_elem_info_array(1,1007,3),
    10 mdsys.sdo_ordinate_array(316500, 234080, 2, 316510, 234100, 5)),
    11 null, null, null, null));
    12 end;
    13 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.13
    SQL> select count(*) from restst;
    COUNT(*)
    0

  • Can I export a PDF in InDesign Server and return it to the calling client?

    Using Java/CORBA between a client machine and InDesign Server, I would like to:
    1. Make a remote call to InDesign server  to create a document, passing IDML as a parameter on the call
    2. Make another remote call to InDesign server to export a PDF, returning the PDF on the call return.
    Is this possible? I notice that the doExport method does not return a PDF to the calling client. Instead, it saves the PDF on the server. I don't see any apis which would allow me to do the above.
    The use case here is a web application which need to "preview" an image. The image consists of a template and some variable data which is sent to an InDesign server for composition and is returned as an image.
    Thanks for any help.

    I fail to see the issue. You have added crop marks, have you not? For all intents and purposes those are marks that are supposed to be visible and printable for cutting in the real world. If you don't want them, don't use them. Acrobat can generate them on the fly for printing, anyway.
    Mylenium

  • Apple doesn't take responsability for the 3G upgrades. I can't work with it

    I updated my iPhone 3G like most of the people having an iPhone 3G, but now it runs very very slowly. I use it at work, but now it's impossible. I called Apple, and the said me it was out of guarantee. Nothing to do. So they "broke" my phone and I cannot go back. Is this legal? When they launched the upgrade it was 3G compatible, but it isn't. I am really disapointed with Apple.

    I tried everything to get my iPhone 3G up to speed. First the double hard reset, the the system restore, then the restore as new device. These all made the iPhone work better for a short while and then it would start to slow down again.
    Finally I went to Settings, General, Home Button Spotlight Search and unchecked all selections except Contacts, Applications, and Music.
    My IPhone works great agin.
    IPhone 3G   iOS 4   None  

  • Using InetAddress.getHostName() method doesn't return DNS of the machine.

    Hi,
    I have the following simple code:
    String sIP = "SOME_IP";
    InetAddress inet = InetAddress.getByName(sIP);
    sRemoteTerminalID = inet.getHostName();
    The problem is that the output I get for the 'getHostName' method is the same as the IP, while in the DNS, I have an actual name for the machine & not an IP; this happens in one of our clients environements.
    I tried also to use the 'InetAddress.getAllByName' method and analyzing all its output, but got the same results.
    - Is anyone familiar with this issue?
    - Is the 'getHostName' method requires some setting in the underlying environement so using the DNS system is actually allowed?
    I'll appreciate any hint on this.
    Thanks,
    Asaf.

    Below is the code
    I didn't see any bugs
    import java.util.*;
    //Part 1 using the  Random class print out an ArrayList of 10 random numbers
    // - use an iterator object
    public class TryArrayList
       public static void main(String[] args)
       ArrayList myNumberList = new ArrayList();
       Random intRandom = new Random();
       for (int j = 0; j < 11; j++) {
         myNumberList.add(Integer.toString(intRandom.nextInt(10)));
       System.out.println("The random values in the ArrayList are: ");
       Iterator it = myNumberList.iterator();
       while (it.hasNext()) {
         System.out.println(it.next());
         System.out.println();
         //Part 2
         //Use the Collections sort() to order the elements
         Collections.sort(myNumberList);
          System.out.println("The ordered values in the ArrayList are: ");
          Iterator i = myNumberList.iterator();
          while(i.hasNext())
             System.out.println(i.next());
          System.out.println();
          //Part 3
    //Use the Collections reverse() to reverse order the elements
    Collections.reverse(myNumberList);
    System.out.println("The reverse ordered values in the ArrayList are: ");
      Iterator iter = myNumberList.iterator();
      while(iter.hasNext())
         System.out.println(iter.next());
            System.out.println();
            //Part 5 print out the maximum and minimum values
            System.out.println("The maximum value in the ArrayList is: ");
            System.out.println( Collections.max( myNumberList));
            System.out.println();
           System.out.println("The minimum value in the ArrayList is: ");
           System.out.println( Collections.min( myNumberList));
           System.out.println();
           System.out.println("The frequency of the value 5 was");
         System.out.println ( Collections.frequency(myNumberList, (Integer)5));
    } //end of main()
    } //end of class

  • Response to the caller in OSB

    Hi ,
    I have a requirement that the response has to be passed to the requestor upon insertion of the request into a JMS queue.I have defined both the schemas and I am able to insert into the JMS queue.But I am not able to send the response back to the requestor upon insertion.Is there any way that we can achieve this with the route node in the proxy service?
    Cheers
    Sridhar
    Edited by: asbharadwaj on Jan 6, 2011 1:20 AM

    If you want to expose a WSDL based web-service then follow below steps -
    1. Create a WSDL using JDev/OEPE
    2. Upload it in OSB configuration
    3. Create a WSDL based proxy service
    4. In message flow of proxy service, use Replace action to replace the content of $body with desired response XML
    5. Test it using OSB test console
    You may refer developer guide for implementation -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/toc.htm
    Regards,
    Anuj

  • Wait for method that doesn't return

    Hi,
    I have a static method consisting of a few lines of code that create a response to the caller of the method.
    My problem is that the method doesn't always use the same amount of time to execute. I don't ever want to keep the caller of the method waiting for more than a specified amount of time e.g. 30 seconds. If it hasn't returned after that I want to abort and return controll to the caller.
    What's the best way to solve that problem?
    I've been thinking about starting a Thread in the method and execute the code there. That way, if the Thread hasn't finished executing after 30 sec I can kill it and return controll to the caller. But I'm not sure how that will work since the method is static. I have little experiense working with threads and no experiense working with threads in a static method.
    There are no static class variables involved. Two arguments are passed to the method, one URL and one String and it returns a String.
    Any id�as or suggestions?
    Kind regards,
    Mattias

    The method run in Worker looks like this:
    public void run() {
      try {
          HttpURLConnection connection = HTTPSclient.getConnection(url, authorization);
          // Other configuration
          connection.setRequestMethod( "GET" );
          connection.setRequestProperty( "Content-Type", "text/xml" );
          connection.setUseCaches( false );
          //Get the response from the server and write it to a String
          BufferedReader br = new BufferedReader( new InputStreamReader( connection.getInputStream() ) );
          String tempLine;
          String str = "";
          while( ( tempLine = br.readLine() ) != null ) {
            str += tempLine + "\n";
          result = URLDecoder.decode( str, "UTF-8" );
        } catch (IOException e) {
            System.err.println("caught");
            exception = e;
    }The static method getConnection looks like this:
    HttpsURLConnection getConnection(URL url, String authorization) throws IOException  {
      // first ensure that at the very least a secure protocol has been specified.
      HttpsURLConnection connection;
      String protocol = url.getProtocol();
      if (!"https".equals(protocol)) {
        throw new IOException("The URL for the server must use the HTTPS protocol.");
      // This HostnameVerifier is used to bypass SSL verification.
      HostnameVerifier hv = new HostnameVerifier() {
        public boolean verify(String urlHostName, SSLSession session) {
          return true;
      HttpsURLConnection.setDefaultHostnameVerifier(hv);
      // Configure our connection to use the basic authentication details provided by the user
      connection = (HttpsURLConnection) url.openConnection();
      // Configure our connection to use the basic authentication details provided by the user
      if(authorization != null) {
        String auth = (new BASE64Encoder()).encode(authorization.getBytes());     
        connection.setRequestProperty("Authorization", "Basic ".concat(String.valueOf(auth)));
      return connection;
    }And it is this call that blocks:
    BufferedReader br = new BufferedReader( new InputStreamReader( connection.getInputStream() ) );There is ( as far as I can see ) no support for setting timeouts in HttpsURLConnection or its super class URLConnection. In version 1.5 this support seem to exist but unfortunately I'm still forced to use version 1.4.2 :(
    Any suggestions on how to break this block on connection.getInputSTream()?

  • Conferring with multiple possible Transferees without returning to the Caller

    I was asked a question by the receptionist today that I thought would have a simple answer but for the life of me I couldn't work it out or find it documented anywhere I looked.
    We have a BE6K system with a 8961 handset at reception and 8945s around the office.
    When a call comes to reception the receptionist typically does an attended transfer to one of the extensions but in the situation that the first potential tranferee doesn't wish to take the call she would like to be able to place a call to a different extension and confer with a different potential transferee before completing the transfer.  Ideally she would like to do this without involving the original caller.
    At the moment she simply resumes the call with the original caller and immediately starts a second transfer.  This means the caller drops out of MoH briefly - she would like to avoid that.
    Is it possible to try multiple potential transferee without going back to the original caller?

    Dieter,
    The only thing I can think of would be for the receptionist to setup a conference as follows:
    1 - Caller calls in requesting to speak to person A.
    2 - The receptionist places the Caller on hold and begins a new call to person A.
    3 - Person A doesn't want to speak to the Caller and the receptionist hangs up with Person A.
    4 - The receptionist starts a new call to Person B.
    5 - Person B would like to talk to the Caller so the receptions  puts Person B on hold and un-holds the Caller and informs them that  Person B would speak with he\she.
    6 - The receptionist pushes the "Join" softkey and selects both  calls using the "Select" softkey and then pushes the "Join" softkey to  make the call into a conference.
    7 - The receptionist can then either say to the Caller and Person  B that they're now connected or simply hangs up to exit the call.
    HTH
    Regards,
    Yosh

  • PhaseListener doesn't return image

    Hi Experts,
    I have a JackRabbit content repository in my web application which contains some of the images that need to be rendered.
    In order to do this I decided to map a URL pattern to a PhaseListener, which will on receiving such a request load the image and return it with the HTTP response.
    In other words, if the URL is http://domain.com/images?path=name.jpg the PhaseListener will intercept that and return an image from the JackRabbit content repository. My problem is, even though everything seems fine, I keep on receiving a 404 error. My code is as follow:
    public class ImagePhaseListener implement PhaseListener {
      public PhaseId getPhaseId() {
        return PhaseId.RESTORE_VIEW;
      public void beforePhase(PhaseEvent event) {
        // Nothing to do
      public void afterPhase(PhaseEvent event) {
        FacesContext facesContext = event.getFacesContext();
        String viewID = facesContext.getViewRoot().getViewId();
        if (viewID.startsWith("/image/") {
          serveResource(facesContext);
      private void serveResource(FacesContext facesContext) {
        Map<String, String> requestMap = facesContext.getExternalContext().getRequestParameterMap();
        String path = requestMap.get("path");
        // Get the stream from JackRabbit - this works fine
        InputStream imageStream = getImageStream(path);
        // Write the response - this doesn't throw any exception, but doesn't seem to work either
        HttpServletResponse servletResponse = (HttpServletResponse)facesContext.getExternalContext().getResponse();
        servletResponse.setContentType("image/jpeg");
        try {
          int streamLength = imageStream.available();
          servletResponse.setContentLength(streamLength);
          while (streamLength > 0) {
             servletResponse.getOutputStream().write(imageStream.read());
             --streamLength;
           servletResponse.getOutputStream().flush();           
         catch (IOException exception) {
           // Log error
         finally {
           try {
             servletResponse.getOutputStream().close();
             imageStream.close();
          catch (IOException exception) {
            // Log error
        facesContext.responseComplete();
    // More code ...
    }I used my debugger to step through this and everything works fine - no exceptions nothing. The inputstream is loaded correctly and contains the correct number of bytes. Here is my HTTP headers:
    GET /Resources/images?path=test.jpg HTTP/1.1
    Host: localhost:8080
    User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.3) Gecko/2008111716 Gentoo Firefox/3.0.3
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-gb,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    HTTP/1.x 404 Not Found
    X-Powered-By: Servlet/2.5, JSF/1.2
    Server: Sun Java System Application Server 9.1_02
    Content-Type: text/html
    Content-Length: 1028
    Date: Wed, 26 Nov 2008 14:25:32 GMTI have no idea why this won't work - any and all help is appreciated.
    Btw, what's the best way to write from an InputStream to the Response's OutputStream?
    Thank you,
    Ristretto

    Thanks IoboEsa and BalusC,
    BalusC - the reason I tried to get this to work with a JSF PhaseListener is because this would give me easy access to a managed bean containing the user information. I see in your article you recommend passing an ID attribute encrypted by MD5 for authentication, but if this information can be obtained from a JSF bean so much the better, don't you think? I guess I'll try the servlet approach and just construct the FacesContext manually
    Thanks,
    Ristretto

  • Xhtml call to servlet not returning response, not calling servlet

    I have xhtml in a web app making a call to a servlet but the response from the servlet is not displaying. The original xhtml displays after the submit button is pressed. I tried different alternatives for the servlet response, but I get the same result each time. I added logging to the servlet, but it looks like the servlet is not being called at all.
    xhtml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ejstreegrid="https://unfccc.int/nais/ejstreegrid"
    xmlns:grid="http://java.sun.com/jsf/composite/gridcomp"
    xmlns:nais="http://java.sun.com/jsf/composite/naiscomp">
    <body>
    <ui:composition template="/templateForm.xhtml">
    <ui:define name="title">Some title</ui:define>
    <ui:param name="currentPage" value="somepage.xhtml" />
    <ui:define name="body">
    name to be added<br/><br/>
    <form action="someServlet" method="post">
    <input type="text" name="someName" />
    <input type="submit" />
    </form>
    </ui:define>
    </ui:composition>
    </body>
    </html>servlet in web app being called:
    package netgui.servlet;
    import java.io.IOException;
    import java.util.Enumeration;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class someServlet extends HttpServlet {
    private static final long serialVersionUID = 1L;
    public someServlet() {
    super();
    protected void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException   {
    processRequest(request, response);
    protected void doPost(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException {
    processRequest(request, response);
    private void processRequest(HttpServletRequest request,
    HttpServletResponse response) throws IOException {
    try {
    response.getWriter().write("some response");
    } catch (Exception e) {
    logger.error(e.getMessage());
    e.printStackTrace();
    response.getWriter().println("Error: " + e.getMessage());
    I also have a menu.xhtml that is calling the xhtml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <body>
    <script type="text/javascript">
    $(document).ready(function() {
    $("#btn").click(function() {
    $("#upload").click();
    return false;
    </script>  
    <ui:composition>
    <div id="navigation_bar">
    <ul id="topbarleft">
    <c:choose>                 
    <c:when test="${currentPage=='somepage.xhtml'}">
    <li><b>Some Page display</b></li>
    </c:when>
    <c:otherwise>
    <li><h:outputLink value="somepage.jsf">
    <h:outputText value="some page" />
    </h:outputLink></li>
    </c:otherwise>
    </c:choose>
    </ul>
    </div>
    </ui:composition>
    </body>
    </html>Is there some special format for submitting a form to a servlet from xhtml? Any ideas what could be wrong?
    Edited by: Atlas77 on Apr 16, 2012 6:53 AM
    Edited by: Atlas77 on Apr 16, 2012 6:54 AM
    Edited by: Atlas77 on Apr 16, 2012 6:56 AM
    Edited by: Atlas77 on Apr 16, 2012 7:27 AM

    You have a template. That template doesn't have for example a h:form of its own in which the body content is placed right? Nested forms don't work.
    Also for the next time, use \ tags to post code; that makes it actually readable. As you can see, the forum is now trying to interpret some special characters for formatting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Cannot send XML request message - TREX doesn't return FQDN

    Hello all,
    is there any way to configure TREX, so that it always returns it's FQDN?
    I get the following error message from our SAP XECO (Shop) Java System.
    Full Message Text
    Object with category com.sap.isa.catalog.trex.TrexCatalogServerEngine could not be instantiated. Reason: cannot send XML request to http://saptx3:30305/TREX; reason: saptx3 (Errorcode 7262)
    The problem is, that TREX doesn't return it's FQDN.
    The TREX service as such is correctly configured in TREX Service "nameserver.address", "tcpip://hostname.domain:30301".
    I added the line
    SAPGLOBALHOST=saptx3.domain
    to the sapprofile.ini file. This didn't do the trick, unfortunately.
    Thanks a lot for your advice !
    Best Rgs,
    Thorsten

    HI Thorsten,
    Please ensure that your setting match that of note: 1479923 -  TREX: Queue server missing in KM TREX Monitor
    and also please check the following:
    Also do you have any proxy or firwall between TREX and the portal?
    It can to be that the problem is related to the proxy configuration in
    the Portal. Could you please check if you specified proxy in the
    System Administration -> System Configuration ->Service Configuration->
    Applications (Content Catalog) -> com.sap.portal.ivs.httpservice ->
    Services -> Proxy
    If a proxy server is entered there, you have to enter the TREX host in
    the http - bypass Proxy Servers.
    many thanks
    Orla.

  • XI doesn't return an xml file

    Hi,
    I've made a scenario using XI 3.0. I use a file adapter with an inbound synchronous interface to send a xml file to XI. XI consumes a function from CRM using a RFC adapter and an outbound synchronous interface. I've setted "Best Effort" as quality of service too.
    The xml file arrives correctly to CRM and CRM returns the BAPI result to XI correctly too. The problem is XI doesn't return the xml file which it should, that's to say, the xml file sent by XI isn't in the specified target directory (using an inbound synchronous interface and a XI adapter).
    Could someone explain me what happens?
    Thanks in advance,
    Samantha.

    Hi Samantha,
    bad news: File Adapter is always asynchronous, cant get any response. And if you use an interface to send data it is an outbound interface.
    To realize your business logic you must use BPM like
    file (outbound asynchronous) -> BP (abstract asynchronous)
    BP (abstract synchronous) <-> CRM (inbound synchronous)
    BP (abstract asynchronous) -> file (inbound asynchronous)
    Regards,
    Udo

  • Facing problem for inserting the  RFC return response in JDBC

    Hi
    Can any one  share views for resulting my problem,
    This is my scenrio(JDBC>RFC>JDBC) logic follows like this:
    Design:
    1. MT--X(request from JDBC(A))
    2. MT--Y(Response to JDBC(A))
    3. Defined Outbound Sync MI(Z) and given request as 'X' and response as 'Y'
    4. Imported BAPI--B
    5. Done MM between X and B-->request mapping(Zmap1)
    6. Done MM between B.Response and Y--->response mapping(Zmap2)
    7. Defined the IM between Z and B
        a. Zmap1 given as request
        3. Zmap2 given as response
    And according to that i have confgured CCs,SA,RA,RD,ID. 
    It seems to be working fine..request map posting data properly in BAPI and also getting response as payload only, but it is not updating in JDBC column, which i mapped as response!it seems to be everry thing is ok..but i dint understand why it is not updating the return response in JDBC side?
    Note: Here i'm not using BPM, without BPM i made synchronous.
    In SxMB_MONI ..i'm getting response as E or S based on rfc return structure.
    Regards
    Rambarki

    Hi,
    I think there is a mistake in your messaage type to insert into JDBC. The format should be,
    <MT>
      <statement>
         <test action="insert">
              <table> </table>
         </test>
         <access>
              <row1>  </row1>
              <row2>  </row2>
         </access>
      </statement>
    </MT>
    Your action is an attribute of <test>.
    Likewise in your case, you Message should be something like,
    <root>
         <statement>
              <Invoice action="insert">
              <table> nameoftable <table>
              <access>
                   <f1> </f1>
                   <f2>     </f2>
              </access>
         </statement>
    </root>
    Check out these links on the various options avaiable for the JDBC adapetr and how the action attribute can be used,
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Also, check this simple file to jdbc blog for your reference on JDBS adapter,
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Hope this clarifies and solves a part of your problem,
    Regards,
    Bhavesh

  • Disco Report doesn't return data for a responsibilty

    Hi Guys,
    We have a report, we have shared with XXX Tax Manager. When we login through XXX Tax Manager, it doesn`t return data. But when we do similer with XXX Payables Manager, report runs fine and return data?
    Can any one help me on this.
    Note: Both Responsibility have access to the Business Area.
    Thanks,
    Nick

    Please find the below query:
    SELECT /*+ NOREWRITE */
    o101613.expense_account_num AS e264170,
    o271954.description AS e271961, o271954.po_number AS e272013,
    o271954.project AS e272033, o271954.task AS e272035,
    o271954.expenditure_type AS e272036, o272183.amount AS e275461,
    (o272183.gl_date) AS e275566, (o272183.invoice_date) AS e275578,
    o272183.invoice_id AS e275580, o275448.invoice_id AS e275581,
    o272183.invoice_number AS e275584,
    o272183.self_assessed_flag AS e275674,
    o272183.ship_to_location_code AS e275681, o272183.state AS e275685,
    o272183.tax_amount AS e275695,
    o272183.tax_jurisdiction_code AS e275698,
    o272183.tax_rate AS e275700, o272183.vendor_name AS e275720,
    o272183.vendor_number AS e275723, (o278494.gl_date) AS e278500,
    o278494.liability_account AS e278501
    FROM apfg_ap_invoices o101612,
    apfg_ap_invoice_distributions o101613,
    apps.ap_invoice_lines_v o271954,
    (SELECT ap.invoice_id, aps.vendor_name, aps.segment1 vendor_number,
    ap.invoice_num invoice_number, ap.invoice_date, ap.gl_date,
    apl.amount amount, zxl.tax_amt tax_amount,
    zxr.percentage_rate tax_rate, zxl.tax_jurisdiction_code,
    apl.ship_to_location_code, zxl.self_assessed_flag,
    hzg.geography_element2_code state, apl.line_number
    FROM ap.ap_suppliers aps,
    ap.ap_invoices_all ap,
    zx.zx_lines zxl,
    apps.ap_invoice_lines_v apl,
    zx.zx_rates_b zxr,
    zx.zx_jurisdictions_tl zxj,
    zx.zx_jurisdictions_b zxb,
    ar.hz_geographies hzg
    WHERE aps.vendor_id = ap.vendor_id
    AND ap.invoice_id = zxl.trx_id
    AND zxl.trx_id = apl.invoice_id
    AND zxl.trx_line_number = apl.line_number
    AND zxl.entity_code = 'AP_INVOICES'
    AND zxl.event_class_code = 'STANDARD INVOICES'
    AND zxl.self_assessed_flag = 'Y'
    --AND zxr.tax_rate_code         = zxl.tax_rate_code
    AND zxr.tax_rate_id = zxl.tax_rate_id
    AND zxj.tax_jurisdiction_id = zxl.tax_jurisdiction_id
    AND zxb.tax_jurisdiction_id = zxj.tax_jurisdiction_id
    AND zxb.zone_geography_id = hzg.geography_id
    AND zxl.tax_amt <> 0
    AND apl.line_type_lookup_code IN
    ('ITEM', 'FREIGHT', 'MISCELLANEOUS')
    AND apl.line_source IN
    ('HEADER MATCH',
    'MANUAL LINE ENTRY',
    'IMPORTED',
    'CHRG ITEM MATCH'
    AND ap.cancelled_date IS NULL
    ORDER BY aps.vendor_name, ap.invoice_num) o272183,
    apps.ap_invoices_v o275448,
    (SELECT xte.source_id_int_1 invoice_id, gcc.code_combination_id,
    xte.transaction_number, xal.accounting_date gl_date,
    gcc.segment1
    || '.'
    || gcc.segment2
    || '.'
    || gcc.segment3
    || '.'
    || segment4
    || '.'
    || segment5
    || '.'
    || segment6
    || '.'
    || segment7 liability_account
    FROM xla.xla_transaction_entities xte,
    xla.xla_ae_headers xah,
    xla.xla_ae_lines xal,
    gl.gl_code_combinations gcc
    WHERE 1 = 1
    AND xte.entity_id = xah.entity_id
    AND xte.application_id = xah.application_id
    AND xah.ae_header_id = xal.ae_header_id
    AND xal.accounting_class_code = 'SELF_ASSESSED_TAX_LIAB'
    AND xal.code_combination_id = gcc.code_combination_id) o278494
    WHERE ( (o101612.invoice_id = o101613.invoice_id(+))
    AND ( o101613.invoice_id = o271954.invoice_id
    AND o101613.invoice_line_number = o271954.line_number
    AND ( o272183.invoice_id = o271954.invoice_id
    AND o272183.line_number = o271954.line_number
    AND (o272183.invoice_id = o275448.invoice_id)
    AND (o278494.invoice_id = o275448.invoice_id)
    AND (o101613.dist_line_type_code IN
    ('ITEM', 'FREIGHT', 'MISCELLANEOUS'')')
    AND (o101612.invoice_number = :"Invoice Number ")
    AND ((o272183.gl_date) <= :"Ending GL DATE")
    AND ((o272183.gl_date) >= :"Beginning GL DATE")
    ORDER BY o271954.project ASC, o272183.invoice_number ASC;
    It does not contain any security profiles, only contains view that might be not returning data.
    thanks

Maybe you are looking for

  • Slideshow -- Ken Burns effect

    IPhoto slideshows not only has the ability to dissolve between photos, but includes the Ken Burns effect. While the ability to use transitions like dissolve in a slideshow is supported in Aperture, I have not found a way to float the photo to the lef

  • Default current date in the variable

    Hi Friends,                  I have developed an Ageing Query. Now the requirement is, as soon as the query is executed, by default the variable should have the current date. I have the restricted Keyfigures as 0-10, 11-25 etc in the Column. Can some

  • Large brick house - looking to extend wi-fi coverage

    Hello, My home is all brick single floor construction which means that it is next to impossible using apple's star configuration and the present Airport technology to set the system up to cover the entire house.  Even with multiple AEBS and AX units

  • How to find which disk is faulty in a degraded RAID5 array? Then fix?

    (I already posted a question in an old RAID thread, but I was told people who know the answers don't read old threads... And I checked the Sticky.) My 4-disk RAID5 array (the K8N "PC1" machine) suddenly degraded today, and one disk is marked as fault

  • CS6 photoshop type tool maximally buggy

    Greetings all, I have a new system - Mini, with wacom Intuos3 (old wacom set up) - with up to date Font Suitcase (fusion? can't recall the exact name - i'm at home now!) I have upgraded from CS3 to CS6, apparently a no-no. BECAUSE: when I open a CS3