WebService Consuming Message Error: ConnectException: Connection timed out:

Hi experts,
I'm using NWDS to consume an external WebSevice and after create an iView on EP6.
First I created a Deployable WebService and deployed it on the server, so I created a Java Application to call this WS using the following code:
<i>public class JQSRedirect extends HttpServlet {
     protected void doGet(
          HttpServletRequest request,
          HttpServletResponse response)
          throws ServletException, IOException {
          PrintWriter pw = response.getWriter();
          try{
               String applicationID = "XXXX";
               String passwordID = "XXXXX";
               String userID = "XXXXXX";
               String redirectURL = "http://XXXXXXX/preportal.aspx?token={";
               String token = "";
               InitialContext in = new InitialContext();
               NJQSService nJQSService = (NJQSService)in.lookup("wsclients/proxies/sap.com/jqsWebService/ng.com.xxxx.jqsWebServiceProxy");
          NJQSServiceSoap njqsPort = nJQSService.getLogicalPort();
               GetTokenN getTokenN = new GetTokenN();
+token = njqsPort.getTokenN(userID, applicationID, passwordID);
               pw.write("token: " + token);
          catch(Exception e) {
               pw.write(e.toString());
               e.printStackTrace();
     protected void doPost(
          HttpServletRequest request,
          HttpServletResponse response)
          throws ServletException, IOException {
          //TODO : Implement
}</i>
When I'm testing , the system display the follow message: <b>java.rmi.RemoteException: Service call exception; nested exception is: java.net.ConnectException: Connection timed out: connect</b>
How to correct this error?
Regards,
Armando

Hi,
I found a reason for the previous error, I setted up the firewall rules and it works, but now we have another error message:
java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (405) Method Not Allowed. The requested URL was:"http://193.122.30.8/XXXXXXXX/NJQS/njqsservice.wsdl"
I made some researchs on the SDN and another sites of Internet that suggests a proxy configuration, but I don't have proxy on my server.
Any Idea that can help me?
Regards,
Armando

Similar Messages

  • When trying to connect to Airplay speakers I get error message "The  network connection timed out" although some sort of connection is made as the speaker is turned on.  Same thing with Apple TV.  Is the distance from my speaker/ TV the problem?

    When trying to connect from iTunes to Airplay speakers I get error message “The  network connection timed out” although some sort of connection is made as the speaker is turned on.  Same thing with Apple TV.  Is the distance between my PC and the speaker or the AppleTV the problem?

    Hi whitwick,
    If you are having issues with your network connection when attempting to use AirPlay, you may want to use the steps in this article to troubleshoot -
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS5209
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Upgrading to iso 5 and receiving error message "the network connection timed out" and won't complete the update.  How do I fix to complete the upgrade?

    Upgrading to iso 5 and received an error message "the network connection timed out" and fails to complete the upgrade.  How do I complete the upgrade?

    Try a manual install, as outlined in the link below.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • Cannot update to latest software. error message states internet connection timed out

    Does anyone have a similar problem? I cannot update to the latest software for my I Phone 4. The error message says, internet connection timed out. Which is obviously has not. It also says check your internet settings. I am not sure what that means. I have windows 7.

    If the disabling the firewall doesnt help, then also try disabling your anti-virus, this was what was causing me an issue.
    Although make sure you re-enable both your firewall and anti-virus after the update completes.

  • Javax.xml.soap.SOAPException: Message send failed: Connection timed out

    Hi,
    where can i adjust the timeout for:
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect
    The webservice needs 5min to return a message....
    I found a duplicate of this on thread:
    error initiating a test instance
    But no answer
    Message was edited by:
    HEWizard

    I found http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/events.htm#BABGGADB
    Setting Timeouts for Synchronous Processes
    For synchronous processes that connect to a remote database, you must increase the syncMaxWaitTime timeout property in the SOA_Oracle_Home\bpel\domains\default\config\domain.xml file:
    <property id="syncMaxWaitTime">
    <name>Delivery result receiver maximum wait time</name>
    <value>60000000</value>
    <comment>
    <![CDATA[The maximum time the process result receiver will wait for a
    result before returning.  Results from asynchronous BPEL processes are
    retrieved synchronously via a receiver that will wait for a result from the
    container.
            <p/>
            The default value is 60 seconds.]]>
    </comment>
    </property>
    But this changes nothing...
    Is this value ignored?

  • SOAPException: Message send failed: Connection timed out

    Hi! How to solve "javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect" in a page jspx using ADF Webservices Data Controls ? I'm using JDeveloper 11.1.1.2 .
    Edited by: reginaldo oliveira on 16/09/2010 11:29

    Vishal, I'm taking up this question. I can't to use HTTP Analyser because one of the parameters of my web service is a datasource of weblogic domain, and I know that an error occurs when I have an application in weblogic domain of JDeveloper 11.1.1.2 trying obtain connection pool from other weblogic domain. In fact, I need a way to set proxy and port if I use web service through a web service proxy and/or web service data control of ADF. Using web service proxy, in my class PortClient I have defined a method this way:
        public static void definirProxy(){
            String enderecoProxy = null;
            String porta = null;
            try{
                enderecoProxy = "190.0.1.236";
                porta = "80";
                System.setProperty("http.proxyHost", enderecoProxy);
                System.setProperty("http.proxyPort", porta);
                System.setProperty("http.nonProxyHosts", "localhost, 127.0.0.1");
            }catch( MissingResourceException mre ){
                mre.printStackTrace();
        }this don't work, but I do it because I have read this page:
    http://download.oracle.com/javase/1.5.0/docs/guide/net/proxies.html
    Do you have an idea? And how to set proxy and port when we using ADF Data Controls of web services?

  • Trying to update idad software. Keep getting message that network connection timed out. Don't have a network.

    Trying to update idad software. Keep getting message that network connection timed out. Don't have a network.

    guyfromplantation wrote:Don't have a network.
    That would be problem number 1.  The device MUST be connected to the Internet to download software updates.
    I am guessing you are trying to download an iOS update, common causes for the error you mentions are Anti-Virus or Firewall software on the computer preventing files from downloading.
    If this doesn't address your issue, try rewording your issue so that we can better understand the problem you are having.

  • I keep trying to update but  Keep getting message that network connection timed out. What shall I do, I do not know how to disconect my firewall

    Trying to update ipad2 software. Keep getting message that network connection timed out. Don't know how to cancel the firewall

    Im getting the same thing...

  • Upgrade to itunes 7.6 now error "network connection timed out"

    Upgrade to itunes 7.6 now error "network connection timed out" when i try to connect to itunes store and podcast

    I did a manual install of itunes 7.6 (it refused to install through the automatic update) and now I get the same problem - itunes store won't connect.

  • ITunes error message:  The Network Connection Timed Out???

    New 30GB and Nano for Christmas. Per the instructions, I downloaded the Itunes update, 7.0.2. Since then, we can't get on Itunes store. Apple support said the site was too busy. I've downloaded it on my work computer and laptop and the store opens, but not on our home desktop. I am trying not to have to resort to exporting hundereds of music files. Anybody overcome this one?
    Gateway, Intel Pent. 4   Windows XP   2.40GHz, 512 RAM

    i get the same message connection timed out, but instead i cannot download songs i can purchase them but they wont download please someone overcome this one i am being billed for these purchases and i need to know how to download them without error 3259 SOMEONE is there a number or email? because everyone is having this same problem please someone find a solution!!

  • Trying to update iPhone from 4.3.1 to 4.3.3 on my iMAc but keep getting error message saying, "Network Connections Timing Out". What is the problem?

    iPhone update to 4.3.3 failed and gave me the error message, " update failed due to network connections timing out". I am using a cable modem with ethernet. iPhone is a 4G currently running 4.3.1. What is the solution?

    i believe it is a result of a weak connection. maybe try it at someone else's place?

  • Upgrading to 4.2 iphone and ipad error "network connection timed out"

    When trying to upgrade both ipad and iphone to 4.2 the download runs then stops with error message "network connection timed out" and says try again later. I have downloaded movies that take over an hour so I know it is not just time. I have trying turning off firewall and virus as well as empting cache and still no results. really believe it has something to do with windows 7 settings. any ideas?

    I was having the same problem and after several weeks of technical support they basically gave-up and suggested I try installing Kaspersky KIS 2012 (not yet released, but available on their ftp download site as a "current version"). 
    Anyway, I installed it and now I can update my iOS on my iPhone and iPad.  Voilla!  However, Kaspersky claim that this is not a common problem.  Yeah, right! 
    If you want to upgrade to KIS v12 (2012) or KAV v12 (2012), then here is how:
    1) Download v12 (2012) from the ftp site here:
    ftp://ftp2.kasperskyftp.com/consumer-products/Current_Versions/KIS2012/
    2) Disconnect from Internet (doh!)
    3) Stop Kaspersky (right click on the "K" in the tool tray and select "Exit")
    4) Uninstall Kaspersky from the Control Panel (Programs / Add-Delete Programs)
    5) Reboot after uninstalling old version
    6) After rebooting, install KIS/KAV v12 (2012)
    7) When it prompts for install key, re-connect to the Internet and enter the key code (usually on the back of the envelope the original installation disk is in).  The key code for earlier versions should work (at least it did for code with KIS 2010, two versions earlier).
    8) Reboot when done
    Finally, if this works for you (or anyone else), please post here, since Kaspersky seems to think it is very rare case that it worked for me... ha! 

  • Itunes error: network connection timed out

    Every time I try and log into my Itunes account I get an error message saying We could not complete your Itunes Store request. The network connection has timed out. How can I fix it?
    Edit: My virus scanner is Avg and I use ad-aware 2007 for spyware. I can't find a feature with either one that would block i tunes. Also, it's an allowed application with windows firewall.
    Message was edited by: touch84

    Ive been having this problem for over 24 hours now. Bad bit is that I had restored my iphone just before this so ive been stuck without a mobile phone since then.
    Symptoms:
    Iphone appears in itunes but when the iphone tries to get onto the store to finish re-activation the connection hangs and then i get the error "we could not complete your itunes store request. the network connection timed out".
    I can browse the itunes music store + podcast store and i can download podcasts.
    Safari is working perfectly.
    Anything anyone can suggest would be a big help. I presume it it apple's server's fault.

  • Error "500 Connection timed out" when starting a Web Interface

    Hello,
    when starting a Web Interface
    (either from preview in Web Interface Builder or directly via transaction BPS_WIF0),
    after around 2 minutes I get the following Error Message: "500 Connection timed out"
    (in Detail, it says "Connection to partner timed out").
    If I use a less complex web interface, this error does not come up.
    What can I do to avoid this?
    Thank you in advance,
    Stephan

    Hello Stephan,
    if a basic web interface is fast enough, this is normally a confirmation, that the problem does not depend on network performance. We do this test always as an initial test to exclude network issues before we analyze BPS.
    So it looks like you do have BPS performance issues. What I can tell you is that multiple variable selectors decrease performance. If this is not you problem I would recommend to check how-to-paper "performance".
    It could be related to HTTP-services as well, you will find SAP notes about this topics in OSS.
    regards
    Eckhard Lewin

  • Error: Network Connection Timed Out

    I am beyond ****** off at the moment. My iTunes was working perfectly until two weeks ago, and now it insists my Network Connection Timed Out when I try to access the store or update podcasts.
    It can't be my internet connection, because as you can see, I'm able to access the internet. For some reason it's this specific copy of iTunes (7.5), because the iT7 downstairs works perfectly. Of course, since Apple are so fecking stingy, I can't add a few files from there without wiping everything off my iPod.
    So here's the run-down:
    I'm using a Dell Inspiron 8600, Windows XP, browsing with Firefox and attempting to load the latest podcasts onto my iPod Shuffle. I don't give a toss about downloading songs, I just want to update my podcasts without having to search the net for the source file.
    I ran the Network Diagnostics and it insists the Conneciton to iTunes failed, suggesting I adjust my cable (i don't have one - it's wireless) or flush my dns settings (which i've done several times).
    I found a thread on these forums from March and tried every solution:
    - uninstalling and reinstalling itunes... doesn't work.
    - opening Internet Explorer 7, then opening iTunes... doesn't work.
    - searching for a host file and removing the phobos apple line... doesn't work. The phobos line wasn't there
    - using itunes 7... doesn't work.
    - flushing my dns... doesn't work.
    - turning off my firewall.... doesn't work.
    - avoiding clashes with mcafee or zone alarm... doesn't work, cos i don't use those
    I think it's appalling that I've tried all this, and i'm still no closer to knowing what the problem is, and that Apple failed to respond to any of the other people's problems in the earlier thread. And that i spent about ten minutes signing up to this fecking forum just to ask for help. Surely support should be readily available to anyone!
    Can anybody help me? In the other thread, people found alternative sites for buying music, but has anyone got an alternative, ipod-compatible podcasting program?

    I have this same problem. Here's what I can add to this discussion - iTunes accessed the iTunes store a day or two ago. I have a home network and can access the internet from all of the networked PCs. I can access the iTunes store from all of the networked PCs using Internet Explorer. I can access the iTunes store from my laptop iTunes. I can not access the iTunes store from my workstation PC. I get the same "network connection timed out" message. I downloaded and installed a new (same version) of iTunes on the workstation PC. both the laptop and the workstation are running the same OS (Windows XP SP2), both are Dell computers, both are accessing the internet via a wired connection to the same switch and the same router. All other internet connections work fine.
    What's different? In the last couple of days my Workstation lost access to a network printer. I worked with HP for over an hour to re-establish network connection to that printer with no success. I have access to the same networked printer from my laptop.
    The IP address for the network printer is identical to what it was when it was installed - HP suggests looking for a change to the IP address. I made no changes to the workstation PC, the home network or the router, ISP, or internet connection.
    But, it seems to me that the loss of access to the HP networked printer and the inability of iTunes to access the iTunes store are related.
    I also called Apple and attempted to get technical support. I own 4 iPods with 104 Gbs of storage on them, I own 1900 CDs and iTunes has 36.5 days of music loaded into it.
    I purchased Apple Care on all of the iPods - it's expired and they never warned me. They want to charge me $29 to fix this problem - even though I no longer can purchase music via the iTunes Store, so I need to pay $29 in order to gain access to the iTunes store to spend more money with Apple?! Not a smart business decision. I own a few other PC based music programs and more than willing to transfer all of it out of iTunes and into one of the other products. I'll sell all the iPods on eBay and purchase other MP3 players if I must.
    But, I suspect the problem is (1) Apple doesn't have a documented answer to this problem, (2) the level 1 techs that answer the support phone are clueless - they just e-mailed me the same article from the Apple website that I told them I read and does not apply to my problem, and obviously does not resolve my problem. (3) Apple is not setup to resolve this type of problem with their level 1 support, and they can't escalate the problem without charging us.
    I'll try again on Monday, may even purchase Apple Care first and then use that. The Apple Care Tech Support is typically better than the free level 1 call in support.
    Suggestions, comments, etc. are all appreciated.
    nlc
    <SCRIPT language=JavaScript>
    <!--
    var SymRealOnLoad;
    var SymRealOnUnload;
    function SymOnUnload()
    window.open = SymWinOpen;
    if(SymRealOnUnload != null)
    SymRealOnUnload();
    function SymOnLoad()
    if(SymRealOnLoad != null)
    SymRealOnLoad();
    window.open = SymRealWinOpen;
    SymRealOnUnload = window.onunload;
    window.onunload = SymOnUnload;
    SymRealOnLoad = window.onload;
    window.onload = SymOnLoad;
    //-->
    </SCRIPT>

Maybe you are looking for

  • SRSS 4.2 NumLock xset No Longer Working

    Dear All, I have been using SRSS 4.1 with a custom kiosk which uses 'xset led 1' to turn number-lock on for each new session. On upgrading to SRSS 4.2 (or rather installing 4.2 fresh) this no longer works. Does anybody know if this is a bug with SRSS

  • Help! my ipod keeps pausing itself.

    everytime i play a song my ipod just randomly pauses. even when i have the hold button activated the thing still pauses itself. i won't even touch the dial, and it just pauses. what do i do????

  • I cannot attached my file in mail

    Hi I have been trying to sent attached file by using mail. but it cant be done? Any help

  • Netbeans IDE and IDM 8

    Since BPE is deprecated in IDM 8, we need to use Netbeans IDE. I installed Netbeans 6 and IDM 8 but they are not compatible. Does anyone have any luck using it or know if they are working on updating the IDE plugin?

  • Catalyst 500 series

    hi,    i have a question regarding cisco 500 series switches and it is that if we want to shut down this switch remotely then is it possible or it has to be done manually by going to the switch location and disconnecting the power supply because i do