Client server null response for some requests!

Hi, I have a client server application. When run on my local machine it runs fine. However when is put on the unix server some requests come back with null responses. I have logging implemented and the response in the logs is fine but it doesnt get sent back to the client. There is no timeout set either! any ideas?

If you get an empty reponse (note that you cannot get a null response) then your server is probably encountering an error that is subsequently being caught before any response is written. Check your server code for "catch" staments that throw away the exception.
If the server does not suffer this problem then your client does.
matfud

Similar Messages

  • PO 7.4: NW BPM: HTTP Error response for SOAP request or invalid content-type.HTTP 200 OK

    Hi Experts
    I am trying to call NW BPM scenario(File to BPM) from PI, and using below adapter config.
    I am getting below error.
    Failed to call the endpoint: Error in call over HTTP: HTTP 200 OK
    SOAP: Call failed: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Any idea how to fix this issue?
    Thanks,
    Sandeep Maurya.

    Hi Sandeep,
    Test the URL from your browser and check the proxy settings as well.
    Refer the below links
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT
    SOAP: Call failed: java.io.IOException: Failed to get the input stream from socket: java.net.SocketException: Connection…
    Regards
    Bhargava Krishna

  • SOAP Receiver Error: HTTP Error response for SOAP Request

    Hi gurus,
    I'm facing a weird error in File --> PI 7.31 java only --> soap receiver proxy.
    The other interfaces runs well. just one get the the following error:
    Exception caught by adapter framework: java.io.IOException: Error receiving or parsing request message: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.
    I check the payload and test in the inbound proxy. on error.
    Any hints?
    Thanks a lot!
    regards
    Christine

    Hello Christine,
    I faced the same issue,
    You can use the beans below to overcome the error.
    And charset should be utf-8

  • MDNSResponder: ERROR: Only name server claiming responsibility for ...

    What can I do to correct this? It shows up on the log at every startup.
    Nov 28 07:35:11 G5 mDNSResponder: ERROR: Only name server claiming responsibility for "tony [g5.local].ttp4daemon.tcp.488313864452477." is "."!
    Nov 28 07:35:11 G5 mDNSResponder: ERROR: unknown result in regservice_callback: -65538

    I've not seen something like that before, but next time you get that, can you dump the mDNSResponder memory with:
    killall -INFO mDNSResponder
    The output will go into the system.log and/or the console.log
    That will help us figure out the source. Does the name: Yoshikis-Pad mean anything to you at all?

  • WS Deployed on Oracle App. Server, Response issue for some requests

    I have a WebService deployed on Oracle Application Server and it's an HTTPS connection. I am facing a small issue and can't figure out
    what's going on. For each request there's a response to let know the requester that data is processed successfully or any error. The caller of the Web Service makes a call and sends in an xml data. It's processed on my end and then a return type is an Element that holds the response data. Once in a while the caller does not get a response back even though on my end I don't see any errors and the data is processed successfully.
    Here is the signature of the function:
    public Element parseData(Element data) throws RemoteException; And I can't figure out why a caller does not receive a response back for some of the requests. Any ideas what might be wrong or how to debug this issue. Is there any place I can look to see for each request is a response going back. I don't know if it's related Network or App. Server and where to start to debug this.
    Any help is appreciated.
    Thanks

    Hi there.
    If the consumer of your service is a .NET client, it will silently ignore any response that is not formated as advertize in the WSDL and will return an empty object to the caller. As you are trying to use raw XML Element, it seams to be a potential explaination.
    If you can turn off SSL in your test environment, you may want to run a TCP sniffer tool, on the host where your server is running. You can setup a filter on the IP @ of the consumer or the TCP port of the service comsumed. I'll recommend you look at ethereal as it's a cross platform utility.
    Hope it helps.
    Eric

  • Web Service Response issue for some Requests

    I have a WebService deployed on Oracle Application Server and it's an HTTPS connection. I am facing a small issue and can't figure out
    what's going on. For each request there's a response returned. Sometimes the comsumer does not get the response back even though the request
    is successfully processed and response generated but some how it never makes it to the consumer.
    Here is the signature of the function:
    public Element parseData(Element data) throws RemoteException;
    --------------------------------------------------------------------------------And I can't figure out why a consumer does not receive a response back for some of the requests. Any ideas what might be wrong or how to
    debug this issue. Is there any place I can look to see for each request is a response going back. I don't know if it's related Network or
    App. Server and where to start to debug this. As looking at the logs of my Web Service I do see all the requests being processed and response
    being generated but some how it never makes it to the consumer. It normally takes arround 5 to 10 seconds to process each request and most
    of time multiple requests may be being processed.
    Any help is appreciated.
    Thanks

    Hi there.
    If the consumer of your service is a .NET client, it will silently ignore any response that is not formated as advertize in the WSDL and will return an empty object to the caller. As you are trying to use raw XML Element, it seams to be a potential explaination.
    If you can turn off SSL in your test environment, you may want to run a TCP sniffer tool, on the host where your server is running. You can setup a filter on the IP @ of the consumer or the TCP port of the service comsumed. I'll recommend you look at ethereal as it's a cross platform utility.
    Hope it helps.
    Eric

  • HttpURLConnection returns overlaping responses for concurrent requests

    Hi,
    we are facing an issue in making HttpURLConnection requests. Our servlet has to make HttpURLConnection to another server (Both request and response body to be passed is xml, that is the contract with server which we are firing requests to). User can fire 2 concurrent requests one after another with out waiting for first request to be completed. When two requests are fired, two threads are executing the below block of code with no time. And the problem is first response is empty second response contains data for both responses
               URL url = new URL(urlStr);
                HttpURLConnection c = (HttpURLConnection) (url.openConnection());
                c.setRequestMethod("POST");
                c.setRequestProperty("Content-Type", "text/xml; charset=\"utf-8\"");
                c.setDoOutput(true);
                out = new BufferedOutputStream(c.getOutputStream());
                out.write(requestData.getBytes("UTF-8"));
                out.close();
                String inputLine = null;
                StringBuffer sBuffer = new StringBuffer();          
                in2 = new BufferedReader(new InputStreamReader(c.getInputStream(), "UTF-8"));
                while ((inputLine = in2.readLine()) != null) {
                    sBuffer.append(inputLine);
                    sBuffer.append("\n");
                String responseXML = sBuffer.toString();and the above code is in separate static class. we tried using third party implementations for HttpURLConnection instead of sun implementation. NO LUCK.
    Any help in resolving this issue would be of great help
    Thanks,
    JKChaitanya

    JKChaitanya wrote:
    "in2" is also local variable to the method, only "requestData" comes from servlet's doPost method, all other variables are local to the method in which HttpURLConnection code is availableIt seems to me that the implication is that the server you are chaining to is not thread safe and can only handle one request at a time. This means that you will have to process the requests sequentially. Two obvious approaches - use synchronisation or use a request queue. To test the hypothesis it would be very easy to use synchronisation on your servlet class object. Note - you cannot reliably synchronise on the servlet instance since your server may be configured to use more than one instance.

  • Client handler is invoking for every request.

    Hi EveryOne
    i am new to JAXWS welogic.
    i have a web consumer/client, while sending the request from client the handler is invoking for every request. I could not able to restrict.
    i would like to intialize only once and need to use that instance like (init() method initialization). How to resolve this issue.
    can anyone come across a solution for JAX-WS in general? Please throw your thoughts here.
    Any help in this regard would be appreciated.
    Thanks & Regards
    Suresh

    Two common reasons for this are:
    (1) Problem with the system clock: date, time, or time zone differs substantially from the rest of the internet
    (2) Firefox not set up to work with your security software that filters your web traffic
    In order to filter secure traffic, your security software needs to present "fake" certificates to Firefox so it can be the "man in the middle" and see everything sent to and from the site. Firefox distrusts the fake certificates until instructed otherwise.
    Do you use any software with that kind of feature? On Windows, products with that feature include avast! 2015, Bitdefender, ESET, and Kaspersky.
    A less common problem is malware performing a "man in the middle" attack.

  • Sending Multiple response for a request

    Hi,
    I have a HTML form and have used a post method to send the details in the form to my web service. Inside my web service, I perform a validation with the data received and send back a error message if the data received is not proper.
    Suppose if the data is proper, I am querying a database and after all the processing is done,I am invoking a URL.
    I just want to know a couple of things.
    1.) In case the input data to my web service is fine, can I send back a response saying that the data receieved is proper and then continue with the other processing like querying the DB for the same request? I need to do the actual process also and then invoke a url in the end.
    2.) If not, in case the input data is proper and after all the processing is done, can I inovke the url by using sendRedirect func of the response object and also finally return the status for that particular request?
    Eg: public String FuncA(){
    //Some processing with input data
    try{
    servletResponse.sendRedirect(URL);
    return "Successfull"
    Will the above one work? Like am invoking a URl using redirect and then finally am returning a message back. Will both the things together work? Both the url to which it is returned as well as the url given in the redirectmethod() is different.
    Please provide some inputs.
    Thanks in advance.

    Hi,
    I am using REST webservice. Also, currently there is no session being maintained or any request object. Currently, the input to the webservice will be obtained as a string value. After some processing with the input, I have to invoke the URl as well return a message to the one that calls this webservice.

  • When making a phone call on my Samsung Galaxy s5, I need to use letters for some requests.  How is that done?

    When I made a recent phone call on my Samsung Galaxy s5, I was ask to enter a password, but my password includes a letter.  How to I change the keyboard to use a letter also?

        Good evening Litespeed! Let's get those letters on your calls pronto! When a password is requested and you need to enter a letter, simply select the number corresponding to the letter you want to enter. Keep us posted.
    AntonioC_VZW
    Follow us on Twitter at www.twitter.com/VZWSupport

  • Design Pattern for multithreaded client server program

    I asked this question in another post, but with other stuff, so I'll distill this one.
    I am creating a multi-threaded client server program (just for learning - a chat program at this point). I built the server and client in swing, and I'm wondering what the best design pattern is for this setup. Right now all the swing stuff is in the MyServer class. In that class I have a loop accepting client connections to the serverSocket and creating a new MyServerThread (threaded client connection).
    The problem is that all the work of creating input streams, interacting with the server, all that stuff is done in the MyServerThread class, but I want that text to be written up to the Swing objects - which is in the MyServer class. So right now in the MyServerThread class I pass the MyServer object into it, but I'm not sure if that is really the most robust thing to do. Does anybody have any suggestions as to how this should be done. If somebody has an article they'd like to point to I'll check it out too. But if it's just the run-of-the-mill multithreaded client-server article, I've read alot and most don't specifically address my question.

    Thanks for the reply Kaj, and I think I'll keep my design for now, since it's just quick and dirty. I've read the MVC concept a while ago and I'll revisit it again when I get more serious. But I have a question, why should I be using a callback interface, why an interface at all? And then make MyServer implement that interface...why not just pass MyServer to the thread object? Or is there something down the line that I did not forsee?

  • Client - server mesage exchange

    hey guys im having trouble with my client/server application.. I can connect the server and client and the server can recieve messages from single clients by using threads but when multiple clients are connected the messages are not "re-transmitted" to them any ideas?!?!? this is the code for my thread:
    import java.lang.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    //import ServerEngine;
    public class ServerThread extends Thread {
              Date today = new Date();
    private ServerEngine serverEngine = null;
    private Socket socket = null;
    public ServerThread(Socket socket) {
    super("ServerThread");
    this.serverEngine = new ServerEngine();
    this.socket = socket;
    System.out.println (today);
    public void run() {
    BufferedReader inStream;
    PrintWriter outStream;
    String request, response = "";
    System.out.println("ServerThread: starting on port " + socket.getLocalPort());
    try {
    inStream = new BufferedReader (new InputStreamReader(socket.getInputStream()));
    outStream = new PrintWriter(socket.getOutputStream(), true);
    request = inStream.readLine();
    while ((request != null) && (response != null)) {
    response = serverEngine.transact(request);
    if (response != null) {
                                  System.out.println(socket.getInetAddress() + " @ " + today + " : " + response);//The clients IP address and the time is recoreded and printed on the Server screen
    outStream.println(response);
    request = inStream.readLine();
    outStream.close(); inStream.close(); socket.close();
    } catch (Exception e) {
    System.out.println("Connection Lost");
    }

    Use code tags when you post code.
    I don't believe you posted enough code.
    Your description is a little vague. A message has a source and a destination. That is true whether the client sends to the server or the server sends to the client. Your description doesn't make it clear what does happen and what you expect to happen after the client sends to the server.

  • How to create two respone for one request

    Hi
    is there any way for us to create two response for one request
    the scenario is as below
    1. user click on update button for particular record in the datatable (
    after its get updated and status get updated = 'UPDATED' it will remove the object from ObjectListDataProvider and clear the tablePhaseListener ).
    2. After it gets updated successfuly , i want to prompt the user with generateExcel function which using response.getOutputStream() using Apache POI.
    How can we combine 1 and 2 together
    Here what i have tried and didnt work
    1. i tried to put the generateExcel function in destroy() method after page is rendered but it gives me Exception
    2. i tried to put the generateExcel function in prerender() method
    but the page will only execute the generateExcel function
    - the data still get updated to the database but it doesnt refresh the page ( i meant the removing object and tablephaseListener.clear() doesnt work )
    3 . i tried to put generateExcel Function after it process the data
    public String updateData()
           //update data
           if(success){
                // prompt user to save excell sheet
            return null;
         }This one also doesnt work and gives the same behaviour as number 2
    The Prompt to save excel sheet still gets popped up
    but the page just doesnt get refreshed
    Thanks
    is anybody know the workaround?

    yea i did set some alert message and clear the table by calling
    provider.removeRow and commitChanges
    it just doesnt reflected in the page that we see
    by actually is already removing the row from the provider
    Thanks

  • Client\server Forms

    Oracle Forms6i in a client\server environment is a great product that still works very well for us. We do not need (or want) a web-based solution. Our system only needs to support our in-house users (about 400 currently).
    I am very disappointed in the direction that Oracle is forcing us to go (web-based) if we want to stay with the Oracle tools that we know well. This isn't so much a request for help, it's more an attempt to communicate to the Oracle Forms manager(s) that going away from client\server is very disappointing to us and looks to be a bad business decision.

    Mark,
    I must appologize, but I though that things are easier to search and find on this forum. I tried for half an hour but wasn't able to spot the main thread ;-(
    The summary of it is that there was a big discussion on this forum after Oracle announced its desupport date for Forms and Reports client/server (sometime in July if I remember well). Along with this desupport date there was a discussion whether or not Oracle Forms supports XP. The initial decision of not supporting XP was reverted and XP now is supported since patch 13.
    For client/server the desupport date is January 1st 2005 for error correction and January 1st 2008 for extended assistance support. Thus Forms6i client/server will be around until end of 2007.
    Most discussions on this forum were about the cost going with moving Forms to the Web, especially keeping in mind that client/server runtime was for free.
    Another issue was the size of the Oracle9iAS installation which is 6GB all in all though Forms users may not use all the Oracle Application Server components.
    Last but not least, many customers didn't feel ready to move their applications to the Web in this period of time, especially those that run character mode applications.
    The installation issue gets fixed with the upcoming Oracle Application Server 10g which has a installation option that only installs the software required to run Forms and Reports.
    The migration is assisted by a Forms Migration Assistant in Forms9i as well as material that we compiled and published on OTN. The WebUtil library finally was developed to close the gap between client/server functionality and teh Web functionality.
    I can't talk about pricing, because this is not in the scope of my professional work, but OTN offered a special upgrade promotion for Forms users when moving their applications to teh Web.
    Client/server as it is in Forms6i will not come back, this is how it seems.
    There have been discussions on this forum if one could simulate client/server using the Forms Web components installed on a local client. Webstart was mentioned as one possible solution as it would allow you to have Forms applications started and run from an icon on the user desktop. Currently there are some investigations in Forms development going into this direction.
    The majority of customers that posted their opinion on the client/server desupport did not like the client/server desupport plan at all.
    The OTN forum postings where brought to Oracle senior management attention by Forms Product Managers monitoring this list.
    The benefit of a Web only version of Forms - and you may disagree - is integration with the J2EE stack Oracle has within Oracle9iAS and OracleAS 10g.
    J2EE is a technology that more and more customers evaluate for future development efforts. Having Forms integrating with J2EE applications(as seamlessly as possible)is the best way to make sure that Forms users can leverage their investment in the Forms technology. Even more, you can extend Forms applications with J2EE or have it communicating with it (the same applies to Reports)
    Many new features that we implemented in Forms6i and Forms9i worked on the Web only (SSO, Enterprise Manager monitoring, client side Java etc).
    Mark, hope that this summary gives you a good idea of what the discussions were about and that we do care of what customers do with Forms.
    Just in case that I missed an argument or presented it too positive (my memory is subjective and not perfect), I am sure that the forum members which already contributed to this posting will add additional comments. Others may join in too.
    Frank

  • Running reports created with Reports 9i in client-server configuration

    I need to have users run reports created with Oracle Reports 9i on workstations without any Oracle products installed on it, (in a client-server configuration as opposed to Web based) . I am looking for a step-by-step approach to accomplish this. I looked through the installation documents in OTN and I did not see one that addressed this.
    BTW, I saw an earlier post in this form which disscussed this,indirectly, for Reports 6i but I don't think these steps will work for 9i rpeorts
    ** Earlier post
    Question:
    I have an application in Oracle 8i, Forms 6i, Reports 6i. Now I want to make executable CD which will be installable in nature. I don't know how to make it or what tools to be used for this . Kindly help me out.
    Answer:
    You can write a .bat file for installation.....
    This file should do following things.
    1. Oracle8 Personal Setup
    Install only Database (no tools)
    2. Oracle Developer200 Setup
    Install only Forms Runtime
    Reports Runtime
    Graphics Runtime
    3. Use imp/exp to put the desired database...
    4. Copy exexutables in some directory and place shortcuts in programs and destkop
    5. Make new file-types in start->setting ->folder options-> file-types
    and specify that in which runtime-application you want to open your executables....
    Thanks in advance,
    Audrey Watson

    hi audrey,
    there is no client/server runtime available for reports9i. what
    you can do is to use the rwclient executable shipped with IDS
    to submit jobs to the reports server.
    there are plans to provide a stand alone thin client in the
    future but this is not available yet.
    regards,
    christian

Maybe you are looking for

  • Remote app no longer sees AppleTV and shares

    I've noticed that the Remote App on my iPhone 4 looks different than it used to, so I guess it's been updated recently. Anyways, now I don't have AirPlay anymore in any video or audio apps. I haven't changed anything in terms of network set up, Apple

  • Itunes installation, uninstallation

    just downloaded the most recent version of itunes, but upon installation i get a box saying "the feature you are trying to use is unavailable. click ok to try again, or enter an alternate path to a folder containing the installation package "itunes.m

  • NSS 324 iSCSI lun error

    I have an iSCSI lun on my NSS 324 device that shows status error while the target it is mapped to shows connected.  The log file shows the following error: [iSCSI] Fail to expand LUN.  I cannot enable the LUN and it is not discoverable by my VMWare. 

  • Kuler extension not working

    As the Kuler website is down for maintenance I'm trying to use the extension. I'm getting the error message "No internet connection detected. Your computer must be online in order to search or access kuler themes". Same for Photoshop, Illustrator and

  • Unable to connect XL Reporter

    Dear All I'm using SAP Business One 2007A with PL 47.My O.S is Windows 2003 server with SP2. I'm facing problem with XL Reporter. When I'm going to connect XL Reporter it give me error as follows. Error! Server communication failed! Cause: Error! Una