Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 1196 invoked from network); 19 Oct 2007 15:41:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2007 15:41:48 -0000 Received: (qmail 90039 invoked by uid 500); 19 Oct 2007 15:41:28 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 89344 invoked by uid 500); 19 Oct 2007 15:41:26 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 89333 invoked by uid 99); 19 Oct 2007 15:41:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 08:41:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hooknc@hotmail.com designates 65.54.246.97 as permitted sender) Received: from [65.54.246.97] (HELO bay0-omc1-s25.bay0.hotmail.com) (65.54.246.97) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 15:41:27 +0000 Received: from BAY116-W2 ([64.4.38.102]) by bay0-omc1-s25.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Oct 2007 08:40:17 -0700 Message-ID: X-Originating-IP: [63.253.91.18] From: Nathan Hook To: Subject: RE: [axis2] Generated Client Stub Not Connecting to Remote Service Date: Fri, 19 Oct 2007 09:40:11 -0600 Importance: Normal In-Reply-To: <51e581cd0710181930p70bea3e3mf32a4279baddb824@mail.gmail.com> References: <51e581cd0710181930p70bea3e3mf32a4279baddb824@mail.gmail.com> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 19 Oct 2007 15:40:18.0033 (UTC) FILETIME=[59A9E610:01C81266] X-Virus-Checked: Checked by ClamAV on apache.org First off, thank you for all the replies. We are using the end point reference (EPR) that is defined in the wsdl. I = actually tried the other way of defining the EPR in the creation of the stu= b and that did not help either. We are not using a proxy. (The request is actually sent with using both so= apUI and a custom commons httpclient.) However, I am trying the following. The actual domain name of our web serv= ice's url does not exist yet and so I'm changing my machines host file to p= oint to the correct remote machine. For example. We have our test machine running our web service and that mac= hine is located at: xxx.test.xxx.com. Our wsdl is written for xxx.xxx.com. So I've change my local host file to have xxx.xxx.com reference xxx.test.xx= x.com. Would that make any difference? Finally, I was wondering if the request was even making it to our server. = So I started to look at our access logs for apache and the request from the= stub never even makes it to our server. However, I did make a httpclient tester and was able to get our request to = the server and the soapUI requests still make it to the server. Here is th= e log4j information i was able to get from both org.apache.commons.httpclie= nt and org.apache.axis2. Its a tad verbose: 2007-10-19 09:32:36,395 org.apache.axis2.description.AxisService DEBUG->map= ActionToOperation: Mapping Action to Operation: action: registerLearner; op= eration: org.apache.axis2.description.OutInAxisOperation@1621e42 2007-10-19 09:32:36,395 org.apache.axis2.description.AxisService DEBUG->map= ActionToOperation: Mapping Action to Operation: action: urn:registerLearner= ; operation: org.apache.axis2.description.OutInAxisOperation@1621e42 2007-10-19 09:32:36,426 org.apache.axis2.util.Loader DEBUG->Trying to find = [org/apache/axis2/deployment/axis2_default.xml] using sun.misc.Launcher$App= ClassLoader@11b86e7 class loader. log4j:WARN No appenders could be found for logger (org.apache.axiom.om.util= .StAXUtils). log4j:WARN Please initialize the log4j system properly. 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler Reques= tURIBasedDispatcher added to Phase Transport 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPAc= tionBasedDispatcher added to Phase Transport 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler Addres= singBasedDispatcher added to Phase Addressing 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler Reques= tURIBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPAc= tionBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler Reques= tURIOperationDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPMe= ssageBodyBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler HTTPLo= cationBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler Addres= singBasedDispatcher added to Phase Addressing 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler Reques= tURIBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPAc= tionBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler Reques= tURIOperationDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPMe= ssageBodyBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler HTTPLo= cationBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,786 org.apache.axis2.description.OutInAxisOperationClie= nt DEBUG->Entry: OutInAxisOperationClient::execute, true 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition= for Phase "OperationOutPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "Operat= ionOutPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditio= ns for phase "OperationOutPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition= for Phase "RMPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "RMPhas= e" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditio= ns for phase "RMPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition= for Phase "PolicyDetermination" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "Policy= Determination" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditio= ns for phase "PolicyDetermination" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition= for Phase "MessageOut" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "Messag= eOut" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditio= ns for phase "MessageOut" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition= for Phase "Security" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "Securi= ty" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditio= ns for phase "Security" 2007-10-19 09:32:36,864 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.useragent =3D Jakarta Commons-HttpClient/3.0.= 1 2007-10-19 09:32:36,864 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.protocol.version =3D HTTP/1.1 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.connection-manager.class =3D class org.apache= .commons.httpclient.SimpleHttpConnectionManager 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.protocol.cookie-policy =3D rfc2109 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.protocol.element-charset =3D US-ASCII 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.protocol.content-charset =3D ISO-8859-1 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.method.retry-handler =3D org.apache.commons.h= ttpclient.DefaultHttpMethodRetryHandler@16fd0b7 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.dateparser.patterns =3D [EEE, dd MMM yyyy HH:= mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-M= MM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z,= EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH= -mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy= HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z] 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Jav= a version: 1.6.0_01 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Jav= a vendor: Sun Microsystems Inc. 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Jav= a class path: C:\java\src\userserviceclient;C:\java\tools\axis2-1.3\lib\act= ivation-1.1.jar;C:\java\tools\axis2-1.3\lib\annogen-0.1.0.jar;C:\java\tools= \axis2-1.3\lib\axiom-api-1.2.5.jar;C:\java\tools\axis2-1.3\lib\axiom-dom-1.= 2.5.jar;C:\java\tools\axis2-1.3\lib\axiom-impl-1.2.5.jar;C:\java\tools\axis= 2-1.3\lib\axis2-adb-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-adb-codegen-1= .3.jar;C:\java\tools\axis2-1.3\lib\axis2-ant-plugin-1.3.jar;C:\java\tools\a= xis2-1.3\lib\axis2-clustering-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-cod= egen-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-fastinfoset-1.3.jar;C:\java\= tools\axis2-1.3\lib\axis2-java2wsdl-1.3.jar;C:\java\tools\axis2-1.3\lib\axi= s2-jaxbri-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-jaxws-1.3.jar;C:\java\t= ools\axis2-1.3\lib\axis2-jaxws-api-1.3.jar;C:\java\tools\axis2-1.3\lib\axis= 2-jibx-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-json-1.3.jar;C:\java\tools= \axis2-1.3\lib\axis2-jws-api-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-kern= el-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-metadata-1.3.jar;C:\java\tools= \axis2-1.3\lib\axis2-mtompolicy-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-s= aaj-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-saaj-api-1.3.jar;C:\java\tool= s\axis2-1.3\lib\axis2-spring-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-xmlb= eans-1.3.jar;C:\java\tools\axis2-1.3\lib\backport-util-concurrent-2.2.jar;C= :\java\tools\axis2-1.3\lib\commons-codec-1.3.jar;C:\java\tools\axis2-1.3\li= b\commons-fileupload-1.1.1.jar;C:\java\tools\axis2-1.3\lib\commons-httpclie= nt-3.0.1.jar;C:\java\tools\axis2-1.3\lib\commons-io-1.2.jar;C:\java\tools\a= xis2-1.3\lib\commons-logging-1.1.jar;C:\java\tools\axis2-1.3\lib\geronimo-a= nnotation_1.0_spec-1.1.jar;C:\java\tools\axis2-1.3\lib\geronimo-jms_1.1_spe= c-1.1.jar;C:\java\tools\axis2-1.3\lib\httpcore-4.0-alpha5.jar;C:\java\tools= \axis2-1.3\lib\httpcore-nio-4.0-alpha5.jar;C:\java\tools\axis2-1.3\lib\http= core-niossl-4.0-alpha5.jar;C:\java\tools\axis2-1.3\lib\jalopy-1.5rc3.jar;C:= \java\tools\axis2-1.3\lib\jaxb-api-2.0.jar;C:\java\tools\axis2-1.3\lib\jaxb= -impl-2.0.5.jar;C:\java\tools\axis2-1.3\lib\jaxb-xjc-2.0.5.jar;C:\java\tool= s\axis2-1.3\lib\jaxen-1.1.1.jar;C:\java\tools\axis2-1.3\lib\jettison-1.0-RC= 1.jar;C:\java\tools\axis2-1.3\lib\jibx-bind-1.1.5.jar;C:\java\tools\axis2-1= .3\lib\jibx-run-1.1.5.jar;C:\java\tools\axis2-1.3\lib\juli-6.0.10.jar;C:\ja= va\tools\axis2-1.3\lib\log4j-1.2.14.jar;C:\java\tools\axis2-1.3\lib\mail-1.= 4.jar;C:\java\tools\axis2-1.3\lib\mex-impl-1.3.jar;C:\java\tools\axis2-1.3\= lib\neethi-2.0.2.jar;C:\java\tools\axis2-1.3\lib\soapmonitor-1.3.jar;C:\jav= a\tools\axis2-1.3\lib\stax-api-1.0.1.jar;C:\java\tools\axis2-1.3\lib\tribes= -6.0.10.jar;C:\java\tools\axis2-1.3\lib\woden-1.0-incubating-M7b.jar;C:\jav= a\tools\axis2-1.3\lib\wsdl4j-1.6.2.jar;C:\java\tools\axis2-1.3\lib\wstx-asl= -3.2.1.jar;C:\java\tools\axis2-1.3\lib\xalan-2.7.0.jar;C:\java\tools\axis2-= 1.3\lib\xbean-2.2.0.jar;C:\java\tools\axis2-1.3\lib\xercesImpl-2.8.1.jar;C:= \java\tools\axis2-1.3\lib\xml-apis-1.3.03.jar;C:\java\tools\axis2-1.3\lib\X= mlSchema-1.3.2.jar 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Ope= rating system name: Windows XP 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Ope= rating system architecture: x86 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Ope= rating system version: 5.1 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->SUN= 1.6: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; S= ecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX= CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLogin= Config Configuration) 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->Sun= RsaSign 1.5: Sun RSA signature provider 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->Sun= JSSE 1.6: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLS= v1) 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->Sun= JCE 1.6: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, A= RCFOUR, RC2, PBE, Diffie-Hellman, HMAC) 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->Sun= JGSS 1.0: Sun (Kerberos v5, SPNEGO) 2007-10-19 09:32:36,973 org.apache.commons.httpclient.HttpClient DEBUG->Sun= SASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, G= SSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI= , CRAM-MD5) 2007-10-19 09:32:36,973 org.apache.commons.httpclient.HttpClient DEBUG->XML= DSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory) 2007-10-19 09:32:36,973 org.apache.commons.httpclient.HttpClient DEBUG->Sun= PCSC 1.6: Sun PC/SC provider 2007-10-19 09:32:36,973 org.apache.commons.httpclient.HttpClient DEBUG->Sun= MSCAPI 1.6: Sun's Microsoft Crypto API provider 2007-10-19 09:32:36,973 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.connection.timeout =3D 30000 2007-10-19 09:32:36,973 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.socket.timeout =3D 30000 2007-10-19 09:32:36,973 org.apache.commons.httpclient.params.DefaultHttpPar= ams DEBUG->Set parameter http.socket.timeout =3D 30000 2007-10-19 09:32:36,989 org.apache.axis2.transport.http.SOAPMessageFormatte= r DEBUG->contentType from the OMOutputFormat =3Dapplication/soap+xml 2007-10-19 09:32:36,989 org.apache.axis2.transport.http.SOAPMessageFormatte= r DEBUG->contentType returned =3Dapplication/soap+xml; charset=3DUTF-8; act= ion=3D"urn:registerLearner" 2007-10-19 09:32:37,020 org.apache.commons.httpclient.MultiThreadedHttpConn= ectionManager DEBUG->HttpConnectionManager.getConnection: config =3D HostC= onfiguration[host=3Dhttp://xxx.test.xxx.com], timeout =3D 0 2007-10-19 09:32:37,036 org.apache.commons.httpclient.MultiThreadedHttpConn= ectionManager DEBUG->Allocating new connection, hostConfig=3DHostConfigurat= ion[host=3Dhttp://xxx.test.xxx.com] 2007-10-19 09:32:37,036 org.apache.commons.httpclient.HttpConnection DEBUG-= >Open connection to mastery.test.knowledgefactor.com:80 2007-10-19 09:32:37,114 org.apache.commons.httpclient.HttpMethodBase DEBUG-= >Adding Host request header 2007-10-19 09:32:37,129 org.apache.axis2.transport.http.SOAPMessageFormatte= r DEBUG->start writeTo() 2007-10-19 09:32:37,129 org.apache.axis2.transport.http.SOAPMessageFormatte= r DEBUG-> preserve=3Dfalse 2007-10-19 09:32:37,129 org.apache.axis2.transport.http.SOAPMessageFormatte= r DEBUG-> isOptimized=3Dfalse 2007-10-19 09:32:37,129 org.apache.axis2.transport.http.SOAPMessageFormatte= r DEBUG-> isDoingSWA=3Dfalse 2007-10-19 09:32:37,145 org.apache.axis2.transport.http.SOAPMessageFormatte= r DEBUG->end writeTo() 2007-10-19 09:32:37,145 org.apache.commons.httpclient.methods.EntityEnclosi= ngMethod DEBUG->Request body sent 2007-10-19 09:33:07,661 org.apache.commons.httpclient.HttpMethodDirector DE= BUG->Closing the connection. 2007-10-19 09:33:07,661 org.apache.commons.httpclient.HttpMethodDirector DE= BUG->Method retry handler returned false. Automatic recovery will not be at= tempted 2007-10-19 09:33:07,661 org.apache.commons.httpclient.HttpConnection DEBUG-= >Releasing connection back to connection manager. 2007-10-19 09:33:07,677 org.apache.commons.httpclient.MultiThreadedHttpConn= ectionManager DEBUG->Freeing connection, hostConfig=3DHostConfiguration[hos= t=3Dhttp://xxx.test.xxx.com] 2007-10-19 09:33:07,677 org.apache.commons.httpclient.util.IdleConnectionHa= ndler DEBUG->Adding connection at: 1192807987677 2007-10-19 09:33:07,677 org.apache.commons.httpclient.MultiThreadedHttpConn= ectionManager DEBUG->Notifying no-one, there are no waiting threads 2007-10-19 09:33:07,677 org.apache.axis2.transport.http.HTTPSender INFO->Un= able to sendViaPost to url[http://mastery.test.knowledgefactor.com:80/app/s= ervices/userservice] java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77= ) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.ja= va:1115) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpCo= nnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodB= ase.java:1832) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBas= e.java:1590) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.jav= a:995) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpM= ethodDirector.java:397) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMeth= odDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:= 396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:= 346) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Abstra= ctHTTPSender.java:520) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:= 191) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessage= WithCommons(CommonsHTTPTransportSender.java:327) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Commo= nsHTTPTransportSender.java:206) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOpe= ration.java:374) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutIn= AxisOperation.java:211) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:16= 3) at com.xxx.webservice.client.UserserviceStub.registerLearner(UserserviceSt= ub.java:146) at com.xxx.webservice.client.UserServiceTest.main(UserServiceTest.java:19) 2007-10-19 09:33:07,677 org.apache.axis2.transport.http.CommonsHTTPTranspor= tSender DEBUG->org.apache.axis2.AxisFault: Read timed out 2007-10-19 09:33:07,677 org.apache.axis2.transport.http.CommonsHTTPTranspor= tSender DEBUG->org.apache.axis2.AxisFault: Read timed out 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete(= ) in Phase "Security" 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete(= ) in Phase "MessageOut" 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete(= ) in Phase "PolicyDetermination" 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete(= ) in Phase "RMPhase" 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContex= t: logID=3Durn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete(= ) in Phase "OperationOutPhase" ________________________________ Date: Fri, 19 Oct 2007 08:00:02 +0530 From: upulg.dev@gmail.com To: axis-user@ws.apache.org Subject: Re: [axis2] Generated Client Stub Not Connecting to Remote Service Hi, The generated stub uses the end point reference (URL) given in the WSDL. C= heck whether it is the required one in the generated stub code. The stub u= ses that EPR when you create a stub instance. If it is not the correct one,= there is a stub class constructor which takes a given EPR. Also if you are using a proxy to access outside Internet, you have to give = the proxy settings to the stub. ( 2. Proxy Authenticaion at Runtime. In client or stub in http://wso2.org/l= ibrary/161) Upul On 10/19/07, Nathan Hook wrote: We're using axis2-1.3 and our generated stub is not connection to any remot= e services. We are able to get our stub to connect to a local web service,= but not a remote webservice. SoapUI is able to connect to the remote webservice using the exact same wsd= l file. Is there a setting that we need to be aware of for our generated stub to ge= t it to connect to a remote webservice? Here is the command we used to generate our stub: C:\>%AXIS2_HOME%\bin\WSDL2Java -uri .wsdl -p -d adb -s We also created a generic commons httpclient and it connected to the remote= webservice too. An friendly advice or direction is appreciated. Thank you for your time. _________________________________________________________________ Boo!Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=3Dwl_hotma= ilnews --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook =96 together at last. =A0= Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=3DCL10062= 6971033= --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org